
/* FORCED HIDE: Header and Global Footer on Login Page */
body.login-page header,
body.login-page footer:not(.login-page-footer),
body.login-page nav.navbar,
body.login-page .global-footer,
header[role="banner"].login-hide {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.login-page-footer {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: min(92%, 640px);
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #5f6368;
    padding: 0.46rem 0.95rem;
}

.login-page-footer .footer-link {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-legal-links {
    margin-top: 0.35rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.login-legal-links a {
    color: #585858;
    text-decoration: none;
    font-size: 0.73rem;
    font-weight: 600;
    line-height: 1.25;
    padding: 0 6px;
}

.login-legal-links a::after {
    content: '·';
    margin-left: 10px;
    color: #c8c0b8;
    pointer-events: none;
}

.login-legal-links a:last-child::after {
    display: none;
}

.login-legal-links a:hover {
    color: #7F5539;
    text-decoration: underline;
}

.login-mobile-footer {
    font-size: 0.76rem;
    line-height: 1.45;
    padding-top: 0.4rem;
    padding-bottom: 0.65rem;
}

@media (min-width: 992px) {
    .login-auth-shell {
        height: 100vh;
        overflow: hidden;
    }

    .login-auth-row {
        height: 100%;
    }

    .login-form-section,
    .login-graphic-section {
        height: 100%;
    }
}

@media (max-width: 991.98px) {
    html:has(body.login-page:not(.register-page)),
    body.login-page:not(.register-page) {
        min-height: 100dvh;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        overscroll-behavior-y: none !important;
        overscroll-behavior: none !important;
    }

    body.login-page:not(.register-page) .login-auth-shell {
        flex: 1;
        display: flex;
        flex-direction: column;
        overscroll-behavior-y: none !important;
    }

    body.login-page:not(.register-page) .login-auth-row {
        flex: 1;
    }

    .login-auth-shell {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .login-auth-row {
        height: auto !important;
        min-height: 0 !important;
    }

    .login-form-section {
        min-height: auto !important;
        height: auto !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
        overflow: visible !important;
    }

    .login-wrapper {
        padding: 1.25rem 1rem !important;
        padding-bottom: 1rem !important;
    }

    .signup-text {
        margin-bottom: 0.5rem !important;
    }

    .login-mobile-footer {
        margin-top: 0 !important;
        padding-top: 0.15rem;
        padding-bottom: calc(0.35rem + env(safe-area-inset-bottom));
    }

    body.login-page .login-mobile-footer .footer-container {
        padding-right: 0;
    }

    body.login-page #aiAssistantContainer {
        right: 12px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        z-index: 1040;
    }

    body.login-page #aiAssistantBtn {
        width: 54px;
        height: 54px;
        margin: 0;
    }
}

@media (max-width: 575.98px) {
    body.login-page .login-wrapper > div:first-child {
        margin-bottom: 1rem !important;
    }
    body.login-page .login-heading-color {
        margin-bottom: 0.75rem !important;
    }
    body.login-page .login-wrapper {
        padding: 0.75rem 1rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .login-mobile-footer .footer-container > div {
        white-space: nowrap;
        font-size: 0.68rem;
    }
}

/* =========================================================
   Giriş Yap Submit Button
   Köşe yuvarlaklığı 6px olarak korundu.
   Tüm renk, hover ve buton stilleri orijinal btn-login'e bırakıldı.
   ========================================================= */
body.login-page #login-submit-btn,
body.login-page .login-wrapper button#login-submit-btn,
body.login-page button.btn-login#login-submit-btn {
    border-radius: 6px !important;
    border-top-left-radius: 6px !important;
    border-top-right-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
    --bs-btn-border-radius: 6px !important;
}





