
/* ============================================================
   MODERN LOGIN - WinBordro İşçi e-Bordro
   ============================================================ */

.login-page-modern {
    min-height: 100vh;
    margin: 0;
    font-family: 'Montserrat', 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Arka plan */
.login-bg-video {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: linear-gradient(135deg, #062341 0%, #1f4e8c 50%, #1f77d0 100%);
}
.login-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 35, 65, .88) 0%, rgba(31, 119, 208, .60) 100%);
}

/* Sarmalayıcı */
.login-wrapper {
    width: 100%;
    max-width: 940px;
    padding: 24px;
    margin: auto;
}

/* Kart */
.login-card {
    display: flex;
    background: rgb(9 55 101);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .35);
    animation: loginFadeIn .5s ease;
}
@keyframes loginFadeIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Sol marka paneli */
.login-brand-panel {
    flex: 1 1 45%;
    background: linear-gradient(160deg, #0a2e57 0%, #1f77d0 100%);
    color: #fff;
    padding: 42px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.login-brand-logo {
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    display: inline-flex;
    align-self: flex-start;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    margin-bottom: 22px;
}
.login-brand-logo img {
    height: 38px;
    width: auto;
    display: block;
}
.login-brand-title {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: .3px;
}
.login-brand-title .brand-win   { color: #59b6ff; }
.login-brand-title .brand-bordro { color: #ffffff; }
.login-brand-sub {
    font-size: 14px;
    opacity: .85;
    margin-bottom: 26px;
    line-height: 1.5;
}
.login-brand-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.login-brand-features li {
    font-size: 13.5px;
    padding: 7px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: .92;
}
.login-brand-features li i {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, .15);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.login-brand-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    line-height: 1.4;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    opacity: .9;
}
.login-brand-contact i {
    font-size: 20px;
    color: #59b6ff;
}

/* Sağ form paneli */
.login-form-panel {
    flex: 1 1 55%;
    padding: 46px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}
.login-form-head h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0a2e57;
    margin: 0 0 4px;
}
.login-form-head p {
    font-size: 13.5px;
    color: #8a93a6;
    margin: 0 0 26px;
}
.login-field {
    margin-bottom: 18px;
}
.login-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #4a5468;
    margin-bottom: 7px;
}
.login-input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.login-input-group > i {
    position: absolute;
    left: 14px;
    color: #9aa3b5;
    font-size: 14px;
    pointer-events: none;
}
.login-input-group input {
    width: 100%;
    border: 1.5px solid #e1e6ef;
    border-radius: 12px;
    padding: 13px 14px 13px 42px;
    font-size: 14px;
    color: #1f2a44;
    background: #f8fafc;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    outline: none;
    -webkit-appearance: none;
}
.login-input-group input::placeholder { color: #aab2c2; }
.login-input-group input:focus {
    border-color: #1f77d0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(31, 119, 208, .12);
}
.login-toggle-pwd {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: #9aa3b5;
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}
.login-toggle-pwd:hover { color: #1f77d0; }

.login-row-extra {
    text-align: right;
    margin-bottom: 22px;
}
.login-row-extra a {
    font-size: 12.5px;
    font-weight: 700;
    color: #1f77d0;
    text-decoration: none;
}
.login-row-extra a:hover { text-decoration: underline; }

.login-submit-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background:  linear-gradient(135deg, #ff8c00 0%, #d35400 100%);;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
    box-shadow: 0 8px 20px rgba(31, 119, 208, .35);
}
.login-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(31, 119, 208, .45);
}
.login-submit-btn:active { transform: translateY(0); }
.login-submit-btn i { margin-right: 6px; }

.login-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fdecec;
    color: #c0392b;
    border: 1px solid #f5c6c6;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13px;
    margin-bottom: 20px;
}

.login-form-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid #eef1f6;
    font-size: 11.5px;
    color: #9aa3b5;
    text-align: center;
    flex-wrap: wrap;
}
.login-form-foot img { opacity: .75; }

/* WhatsApp Destek Hattı */
.login-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.login-whatsapp:hover {
    background: #1ebe5b;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, .55);
    color: #fff !important;
}
.login-whatsapp i { font-size: 22px; }

/* --- Responsive / Mobil --- */
@media (max-width: 820px) {
    .login-card {
        flex-direction: column;
        max-width: 440px;
        margin: auto;
    }
    .login-brand-panel {
        padding: 32px 28px;
        text-align: center;
        align-items: center;
    }
    .login-brand-logo { align-self: center; }
    .login-brand-features { display: none; }
    .login-brand-sub { margin-bottom: 18px; }
    .login-brand-contact { justify-content: center; }
    .login-form-panel { padding: 32px 26px; }
}
@media (max-width: 480px) {
    .login-wrapper { padding: 12px; }
    .login-brand-panel { padding: 26px 20px; }
    .login-form-panel { padding: 26px 20px; }
    .login-brand-title { font-size: 26px; }
    .login-form-head h2 { font-size: 21px; }
    .login-whatsapp {
        right: 16px;
        bottom: 16px;
        padding: 14px;
    }
    .login-whatsapp span { display: none; }
    .login-whatsapp i { font-size: 24px; }
}
