/* ===== Giriş sayfası – Landing ile aynı tasarım (Logo + KAFFED Kariyer) ===== */
:root {
    --landing-bg: #0d2d5c;
    --landing-bg-soft: #103570;
    --landing-text: #ffffff;
    --landing-text-muted: rgba(255, 255, 255, 0.88);
    --landing-border: rgba(255, 255, 255, 0.1);
    --landing-radius: 12px;
    --landing-radius-sm: 8px;
}

/* Sticky footer: içerik kısa olsa da footer hep altta – tam sayfa (Landing Index gibi) */
.login-layout-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-bottom: 0;
}

.login-layout__main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.login-layout__main .landing-mentor-menti {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.25rem, 3vw, 2.25rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}

/* Sayfa sarmalayıcı – Login layout dışında kullanıldığında padding vb. */
.landing-mentor-menti {
    position: relative;
    background: var(--landing-bg-soft);
    color: var(--landing-text);
    padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
    overflow: hidden;
}

/* Giriş sayfasında giriş animasyonu kapalı */
.landing-mentor-menti .landing-mentor-menti__container,
.landing-mentor-menti .landing-login__card {
    animation: none;
}

.landing-mentor-menti--page {
    background: linear-gradient(165deg, #0a2342 0%, #0d2d5c 25%, #123a6f 50%, #0f3260 75%, #0a2342 100%);
    background-attachment: scroll;
}

.landing-mentor-menti--page .landing-mentor-menti__gradient {
    background:
        radial-gradient(ellipse 100% 80% at 50% -30%, rgba(255, 255, 255, 0.08), transparent 50%),
        radial-gradient(ellipse 70% 50% at 80% 80%, rgba(255, 255, 255, 0.04), transparent 45%),
        radial-gradient(ellipse 60% 40% at 20% 100%, rgba(255, 255, 255, 0.03), transparent 40%);
}

.landing-mentor-menti__pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.landing-mentor-menti__gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 255, 255, 0.06), transparent),
                radial-gradient(ellipse 60% 40% at 100% 100%, rgba(255, 255, 255, 0.03), transparent);
    pointer-events: none;
}

.landing-mentor-menti__container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Hero: logo + KAFFED Kariyer başlığı */
.landing-mentor-menti__hero {
    padding: 0 0 1.5rem;
    text-align: center;
}

.landing-mentor-menti__hero-link {
    display: block;
    text-decoration: none;
}

.landing-mentor-menti__hero-link:hover .landing-mentor-menti__hero-logo {
    opacity: 0.95;
}

.landing-mentor-menti__hero-logo {
    display: block;
    margin: 0 auto 1rem auto;
    width: 150px !important;
    height: 150px !important;
    max-width: 150px !important;
    max-height: 150px !important;
    min-width: 150px;
    min-height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: opacity 0.2s ease;
}

.landing-mentor-menti__title {
    font-size: clamp(1.625rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--landing-text);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Giriş kartı */
.landing-login__card {
    max-width: 420px;
    margin: 0 auto 2rem;
    padding: 1.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.landing-login__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--landing-text);
    text-align: center;
    margin: 0 0 1.5rem 0;
}

/* Input / label / checkbox – Mentor formu ile aynı tasarım (yarı saydam, beyaz metin) */
.landing-login__card .form-control {
    background: rgba(255, 255, 255, 0.14) !important;
    color: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    min-height: 38px !important;
    padding: 0.375rem 0.75rem !important;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-login__card .form-control:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.landing-login__card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.55) !important;
}

.landing-login__card .form-control:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15) !important;
    outline: none !important;
}

.landing-login__card .form-control:-webkit-autofill,
.landing-login__card .form-control:-webkit-autofill:hover,
.landing-login__card .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: rgba(255, 255, 255, 0.98) !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.14) inset !important;
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.14) inset !important;
    transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s;
}

.landing-login__card .form-label {
    color: rgba(255, 255, 255, 0.95) !important;
}

.landing-login__card .form-label .bi {
    font-weight: 700 !important;
    opacity: 1 !important;
    color: #fff !important;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.landing-login__card .form-check-input {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    width: 1.2em !important;
    height: 1.2em !important;
    margin-top: 0.15em !important;
}

.landing-login__card .form-check-input:hover {
    border-color: rgba(255, 255, 255, 0.7) !important;
    background-color: rgba(255, 255, 255, 0.22) !important;
}

.landing-login__card .form-check-input:checked {
    background-color: #0d2d5c !important;
    border-color: #fff !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
}

.landing-login__card .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
}

.landing-login__card .form-check-label {
    color: rgba(255, 255, 255, 0.95) !important;
}

.landing-login__submit {
    margin-bottom: 1rem;
}

.landing-login__footer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--landing-text-muted);
    margin: 0;
}

.landing-login__link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.landing-login__link:hover {
    color: #fff;
}

/* Giriş butonu (landing CTA ile uyumlu) */
.btn-landing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--landing-radius-sm);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-landing-cta--primary {
    color: #0d2d5c;
    background: #fff;
    border: 1px solid #fff;
}

.btn-landing-cta--primary:hover {
    color: #0d2d5c;
    background: rgba(255, 255, 255, 0.95);
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Validation mesajları */
.landing-login__card .text-danger {
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

/* Footer – Landing ile aynı görünüm, animasyon yok */
.landing-footer {
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--landing-border);
    animation: none;
}

.landing-footer .container {
    animation: none;
}

.landing-footer p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--landing-text-muted);
}

/* ===== 2FA / Generic modal (login sayfasında) – giriş kartı ile aynı cam tasarım ===== */
body.login-layout-body #genericModal .modal-content {
    background: rgba(18, 45, 92, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--landing-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.95);
}

body.login-layout-body #genericModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.95);
    border-radius: var(--landing-radius) var(--landing-radius) 0 0;
    padding: 1rem 1.25rem;
}

body.login-layout-body #genericModal .modal-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.125rem;
}

body.login-layout-body #genericModal .modal-header .btn-close {
    filter: invert(1);
    opacity: 0.85;
}

body.login-layout-body #genericModal .modal-header .btn-close:hover {
    opacity: 1;
}

body.login-layout-body #genericModal .modal-body {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    padding: 1.25rem;
}

/* 2FA modal – başlık ve metin */
body.login-layout-body #genericModal .modal-body h4,
body.login-layout-body #genericModal .modal-body .text-dark {
    color: rgba(255, 255, 255, 0.98) !important;
}

body.login-layout-body #genericModal .modal-body .text-muted,
body.login-layout-body #genericModal .modal-body .form-text {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* 2FA modal – form alanları (giriş kartı ile aynı) */
body.login-layout-body #genericModal .modal-body .form-label {
    color: rgba(255, 255, 255, 0.95) !important;
}

body.login-layout-body #genericModal .modal-body .form-control,
body.login-layout-body #genericModal .modal-body .verification-code-input {
    background: rgba(255, 255, 255, 0.14) !important;
    color: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: var(--landing-radius-sm);
}

body.login-layout-body #genericModal .modal-body .form-control:focus,
body.login-layout-body #genericModal .modal-body .verification-code-input:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15) !important;
    outline: none !important;
}

body.login-layout-body #genericModal .modal-body .form-control::placeholder {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* 2FA modal – uyarı kutusu (alert-info) cam uyumlu */
body.login-layout-body #genericModal .modal-body .alert-info {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

body.login-layout-body #genericModal .modal-body .alert-info strong {
    color: #fff !important;
}

/* 2FA modal – ikon çemberi */
body.login-layout-body #genericModal .modal-body .icon-circle {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

body.login-layout-body #genericModal .modal-body .icon-circle .bi {
    color: #fff !important;
}

/* 2FA modal – butonlar (landing CTA zaten login.css'te; modal içinde de geçerli) */
body.login-layout-body #genericModal .modal-body .btn-landing-cta--primary {
    color: #0d2d5c;
    background: #fff;
    border: 1px solid #fff;
}

body.login-layout-body #genericModal .modal-body .btn-landing-cta--primary:hover {
    color: #0d2d5c;
    background: rgba(255, 255, 255, 0.95);
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.login-layout-body #genericModal .modal-body .btn-landing-cta--outline {
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
}

body.login-layout-body #genericModal .modal-body .btn-landing-cta--outline:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}
