body
{
    font-family: Arial, sans-serif;
    background-color: #1e3c57;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    margin: 0;
}

h1
{
    text-align: center;
    color: #00bcd4;
    font-size: 3em;
    margin-top: 20px;
}

h2
{
    text-align: center;
    color: #d3d3d3;
    font-size: 1.5em;
    margin-top: 10px;
}

.content
{
    background-color: #2f4f66;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content1
{
    background-color: #2f4f66;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

label
{
    font-size: 1.1em;
    margin-bottom: 5px;
    display: block;
    color: #ffffff;
}

input[type="text"], input[type="password"], input[type="date"], textarea, input[type="email"]
{
    width: 600px;
    padding: 12px;
    margin-bottom: 15px;
    background-color: #34495e;
    color: #ffffff;
    border: 1px solid #00bcd4;
    border-radius: 5px;
    font-size: 1em;
}

.elseregister input, label
{
    align-items: center;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="date"]:focus, textarea:focus, input[type="email"]:focus
{
    border-color: #00bcd4;
    outline: none;
}

#ad, #soyad, #email
{
    width: 600px;
    padding: 12px;
    margin-bottom: 10px;
}

.form-row
{
    display: block;
    margin-bottom: 15px;
}

button[type="submit"]
{
    background-color: #00bcd4;
    border: none;
    color: white;
    padding: 15px 32px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    margin-top: 20px;
}

button[type="submit"]:hover
{
    background-color: #008c9e;
}

/* FOOTER */
footer {
    background-color: #1c2b3a;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    padding: 0 0;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

footer p
{
    font-weight: bolder;
}

.success
{
    background-color: #28a745;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    text-decoration: none;
}

.error
{
    background-color: #dc3545;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.success, .error {
    font-size: 1.1em;
    max-width: 600px;
}

.login-link {
    color: #00bcd4;
    text-decoration: underline;
    font-weight: bold;
    margin-left: 5px;
}

.login-link:hover {
    color: #008c9e; /* İsterseniz hover'da renk değişebilir */
    text-decoration: underline; /* veya underline gösterebilirsiniz */
}

textarea
{
    height: 80px;
}

input[type="text"], input[type="password"], input[type="date"], input[type="email"]
{
    font-size: 1.1em;
}

@media screen and (max-width: 500px)
{
    input[type="text"], input[type="password"], input[type="date"], textarea, input[type="email"], #ad, #soyad, #email
    {
        width: 90%;
    }
}

.g-recaptcha
{
    display: flex;
    justify-content: center;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 262px;
    height: 100vh;
    background-color: #0d2c43;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

.sidebar h2 {
    color: #ffffff;
    font-size: 23px;
    text-align: center;
    margin-bottom: 25px;
    margin-top: 13px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    display: block;
    padding: 7px 13px;
    border-radius: 6px;
    background-color: #005a8d;
    transition: background-color 0.3s ease;
    font-size: 17px;
}

.sidebar ul li a:hover {
    background-color: #FF9900;
    color: #ffffff;
}

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
    background-color: #1e3c57;
    padding: 10px 12px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-size: 20px;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background-color: #2a4c6e;
}

.sidebar {
    transition: transform 0.3s ease;
}

.sidebar.hidden {
    transform: translateX(-100%);
}

.main-content, .content {
    margin-left: 262px; /* Sidebar genişliği kadar */
    width: calc(100% - 262px);
    display: flex;
    justify-content: center; /* İçeriği yatayda ortalar */
    align-items: flex-start; /* Yukarı hizalar */
    padding: 20px;
    box-sizing: border-box;
}

.register, .newaccount
{
    margin-left: 262px;
}

.elseh1, .elseh2
{
    text-align: center;
    justify-content: center;
}

.content form, .content {
    max-width: 700px;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .main-content, .content {
        margin-left: 0;
        width: 100%;
        padding: 10px;
    }
}

.centered-header {
    margin-left: 0 !important;
    text-align: center;
    width: 100%;
}

button[type="submit"] {
    background-color: #00bcd4;
    border: none;
    color: white;
    padding: 15px 32px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 50px; /* Eklendi */
}