
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(160deg, #f0f4fc 0%, #e9eef5 30%, #f5f7fc 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    margin: 0;
}

/* Ana kart — hafif, modern, cam efektli */
.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 34px;
    padding: 2.4rem 1.8rem 2.2rem;
    box-shadow: 0 20px 35px -10px rgba(0, 10, 30, 0.08), 0 6px 14px -4px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 0.5px solid rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

/* Üst kısım: ikon / başlık */
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, #1e3350, #142237);
    margin: 0 auto 0.9rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 12px 16px -8px rgba(20, 40, 70, 0.2);
}

.login-title {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0e1a2b;
    margin-bottom: 0.2rem;
}

.login-sub {
    font-size: 0.85rem;
    color: #5b6b82;
    font-weight: 450;
}

/* Form */
#login-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.input-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #3e4d66;
    margin-left: 0.3rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-wrapper i {
        position: absolute;
        left: 16px;
        color: #8b9ab5;
        font-size: 1rem;
        pointer-events: none;
        transition: color 0.15s;
    }

.login-input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    background: rgba(248, 250, 254, 0.8);
    border: 1px solid rgba(200, 212, 230, 0.6);
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #121f2f;
    outline: none;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
}

    .login-input:focus {
        border-color: #2e4b71;
        background: white;
        box-shadow: 0 0 0 3px rgba(40, 70, 110, 0.08);
    }

        .login-input:focus + i,
        .input-wrapper:focus-within i {
            color: #1e3350;
        }

/* Şifre göster/gizle butonu */
.toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #7a8ba3;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

    .toggle-password:hover {
        color: #1e3350;
    }

/* Beni hatırla & şifremi unuttum */
.options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    margin-top: -0.2rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #3e4d66;
    font-weight: 500;
    cursor: pointer;
}

    .remember-me input {
        accent-color: #1e3350;
        width: 15px;
        height: 15px;
        margin: 0;
        cursor: pointer;
    }

.forgot-link {
    color: #2e4b71;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border 0.2s;
}

    .forgot-link:hover {
        border-bottom: 1px solid #2e4b71;
    }

/* Giriş butonu */
.login-btn {
    background: linear-gradient(145deg, #1e3350, #142237);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 0.4rem;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 14px -6px rgba(20, 40, 70, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

    .login-btn:hover {
        background: linear-gradient(145deg, #253f62, #1a2c44);
        box-shadow: 0 10px 18px -6px rgba(20, 40, 70, 0.3);
        transform: translateY(-1px);
    }

    .login-btn:active {
        transform: translateY(1px);
        box-shadow: 0 4px 8px -4px rgba(20, 40, 70, 0.3);
    }

/* Alt bilgi / kayıt */
.signup-text {
    text-align: center;
    margin-top: 1.4rem;
    font-size: 0.8rem;
    color: #4b5b74;
}

    .signup-text a {
        color: #1e3350;
        font-weight: 650;
        text-decoration: none;
        margin-left: 0.2rem;
        border-bottom: 1px solid transparent;
    }

        .signup-text a:hover {
            border-bottom: 1px solid #1e3350;
        }

/* Mobil ince ayarlar */
@media (max-width: 450px) {
    .login-card {
        padding: 2rem 1.4rem 1.8rem;
        border-radius: 30px;
    }

    .login-title {
        font-size: 1.5rem;
    }

    .login-icon-circle {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        border-radius: 16px;
    }

    .login-input {
        padding: 0.75rem 1rem 0.75rem 2.6rem;
    }
}

@media (max-width: 340px) {
    body {
        padding: 0.8rem;
    }

    .options-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}


