
:root {
    --card-radius: 18px;
    --shadow: 0 18px 60px rgba(0,0,0,.18);
    --shadow-soft: 0 10px 28px rgba(0,0,0,.10);
    --btn: #6ea8fe;
    --btn-hover: #5a97f5; /* artık hover kullanmayacağız ama dursun */
    --btn-text: #ffffff;
}

body.login-page {
    min-height: 100vh;
    background: url('/img/background.png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

    /* Overlay tamamen kaldırıldı -> orijinal arkaplan */
    body.login-page::before {
        content: none;
    }

.login-box {
    width: 440px;
    position: relative;
    z-index: 1;
}

.login-card {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(10px);
}

.login-header {
    padding: 26px 24px 14px;
    text-align: center;
    background: linear-gradient(135deg, rgba(110,168,254,.10), rgba(255,255,255,0));
}

.brand-badge {
    width: 78px;
    height: 78px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(110,168,254,.10);
    border: 1px solid rgba(110,168,254,.22);
    box-shadow: var(--shadow-soft);
    margin-bottom: 12px;
}

    .brand-badge img {
        width: 52px;
        height: 52px;
        object-fit: contain;
    }

.login-header h1 {
    font-size: 22px;
    margin: 6px 0 6px;
    font-weight: 800;
    letter-spacing: .2px;
    color: #111827;
}

.login-header p {
    margin: 0;
    color: #6b7280;
    font-size: 13.5px;
}

.card-body {
    padding: 22px 24px 18px;
}

.alert {
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 8px 18px rgba(0,0,0,.05);
}

/* INPUT + ICON (SAĞDA, TEXT BOYUTUNDA) */
.input-group {
    align-items: stretch;
}

    .input-group .form-control {
        height: 46px;
        border-radius: 10px 0 0 10px;
        border: 1px solid #e5e7eb;
        border-right: 0;
        background: rgba(255,255,255,.98);
        transition: box-shadow .2s ease, border-color .2s ease;
    }

        .input-group .form-control:focus {
            border-color: rgba(110,168,254,.65);
            box-shadow: 0 0 0 4px rgba(110,168,254,.20);
        }

.input-group-append .input-group-text {
    width: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 10px 10px 0;
    border: 1px solid #e5e7eb;
    border-left: 0;
    background: transparent;
    color: #6b7280;
    font-size: 16px; /* input text ile birebir */
    line-height: 1; /* yukarı-aşağı kaymayı bitirir */
}

    .input-group-append .input-group-text i {
        font-size: 16px; /* text ile aynı */
        line-height: 1;
    }



.actions-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.btn-soft {
    height: 46px;
    padding: 0 18px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: .2px;
    background: linear-gradient(135deg, var(--btn), var(--btn));
    border: 0;
    color: var(--btn-text);
    box-shadow: 0 12px 22px rgba(110,168,254,.22);
    transition: none; /* hover animasyonu da kapansın */
    min-width: 160px;
}

    /* Hover tamamen kapalı */
    .btn-soft:hover,
    .btn-soft:focus {
        background: linear-gradient(135deg, var(--btn), var(--btn));
        color: var(--btn-text);
        box-shadow: 0 12px 22px rgba(110,168,254,.22);
        filter: none;
    }

    .btn-soft:active {
        transform: none;
    }

.helper-links {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

    .helper-links a {
        color: #4b5563;
        text-decoration: none;
        font-weight: 600;
        font-size: 13px;
    }

        .helper-links a:hover {
            color: #3b82f6;
            text-decoration: underline;
        }

.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 0;
    color: #9ca3af;
    font-size: 12px;
}

    .divider::before, .divider::after {
        content: "";
        height: 1px;
        flex: 1;
        background: #e5e7eb;
    }

.card-footer {
    background: transparent;
    border-top: 1px solid rgba(0,0,0,.06);
    padding: 14px 18px;
    font-size: 12.5px;
}

/* Responsive: Evet. Mobilde genişlik küçülür, buton tam genişlik olur */
@@media (max-width: 480px) {
    .login-box {
        width: 92vw;
    }

    .card-body {
        padding: 20px 18px 16px;
    }

    .login-header {
        padding: 22px 18px 12px;
    }

    .btn-soft {
        width: 100%;
        min-width: unset;
    }

    .actions-row {
        justify-content: stretch;
    }
}

/* === FIX: ikonlar input yazısı ile birebir aynı görünsün === */
.input-group .form-control {
    font-size: 16px !important; /* input yazısını netleştir */
    line-height: 46px !important; /* 46px yükseklikte yazı tam ortalansın */
    height: 46px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* sağdaki ikon alanı */
.input-group-append .input-group-text {
    height: 46px !important;
    font-size: 16px !important; /* input ile aynı */
    line-height: 46px !important; /* ikon da tam ortalansın */
    padding: 0 !important;
}

    /* FontAwesome ikonunu kesin eşitle */
    .input-group-append .input-group-text .fas,
    .input-group-append .input-group-text i {
        font-size: inherit !important; /* text ile aynı */
        line-height: inherit !important;
    }


