/* =========================================================
   TGF ORTAK LOGIN V2 FINAL
   Admin / TOHM-SEM / Kamp Portalı
========================================================= */

:root {
    --login-radius: 7px;
    --login-navy: #061a31;
    --login-accent: #c82032;
    --login-accent-soft: #fff0f1;
    --login-gold: #d6aa4f;
    --login-muted: #91a8c1;
    --login-text: #172235;
}

/* =========================================================
   01. FILAMENT SIMPLE LAYOUT RESET
========================================================= */

html,
body {
    margin: 0;
    min-width: 320px;
    min-height: 100%;
    overflow-x: hidden;
}

.fi-simple-layout,
.fi-simple-main-ctn,
.fi-simple-main {
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
}

.fi-simple-main {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.fi-simple-header {
    display: none !important;
}

/* =========================================================
   02. PAGE + THEMES
========================================================= */

.tgf-login-page {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 15% 12%, #19456f 0, #0b2948 24%, #061a31 58%, #020b14 100%);
}

.tgf-login-page--admin {
    --login-accent: #b88a3b;
    --login-accent-soft: #fff8e9;
    background:
        radial-gradient(circle at 15% 12%, #173f68 0, #0a2949 25%, #061a31 60%, #020b14 100%);
}

.tgf-login-page--center {
    --login-accent: #cf2534;
    --login-accent-soft: #fff0f1;
    background:
        radial-gradient(circle at 14% 12%, #213a58 0, #102a45 27%, #071b2f 61%, #030c15 100%);
}

.tgf-login-page--camp {
    --login-accent: #d7192d;
    --login-accent-soft: #fff0f1;
    background:
        radial-gradient(circle at 14% 10%, #243b58 0, #10283f 27%, #071827 61%, #030b12 100%);
}

.tgf-login-page::before {
    content: "";
    position: absolute;
    width: 680px;
    height: 680px;
    top: -350px;
    right: -210px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            color-mix(in srgb, var(--login-accent) 18%, transparent),
            transparent 68%);
    pointer-events: none;
}

/* =========================================================
   03. MAIN GRID
========================================================= */

.tgf-login-layout {
    position: relative;
    z-index: 2;
    width: min(1440px, calc(100% - 64px));
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(390px, .72fr);
    gap: 72px;
    align-items: center;
}

/* =========================================================
   04. LEFT INTRO
========================================================= */

.tgf-login-intro {
    position: relative;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 0 72px;
}

/* =========================================================
   05. BRAND - MOCKUP STANDARD
   Logo + only federation name. Portal name is NOT repeated.
========================================================= */

.tgf-login-brand {
    width: min(720px, 100%);
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0 0 50px;
}

.tgf-login-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    text-decoration: none;
    outline: none;
}

.tgf-login-brand-logo {
    display: block;
    width: 126px !important;
    height: 126px !important;
    max-width: 126px !important;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .22));
    transition: transform .2s ease, opacity .2s ease, filter .2s ease;
}

.tgf-login-logo-link:hover .tgf-login-brand-logo {
    transform: scale(1.035);
    opacity: .97;
    filter: drop-shadow(0 14px 32px rgba(0, 0, 0, .28));
}

.tgf-login-logo-link:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--login-accent) 70%, #fff);
    outline-offset: 8px;
    border-radius: var(--login-radius);
}

.tgf-login-brand-text {
    min-width: 0;
    max-width: 340px;
}

.tgf-login-brand-text span {
    display: block;
    color: #f3f7fb;
    font-size: clamp(18px, 1.55vw, 24px);
    line-height: 1.35;
    letter-spacing: .075em;
    font-weight: 850;
    text-transform: uppercase;
}

/* Old secondary brand text is intentionally hidden in case
   an older cached Blade still contains it. */
.tgf-login-brand-text strong {
    display: none !important;
}

/* =========================================================
   06. INTRO CONTENT
========================================================= */

.tgf-login-content {
    width: 100%;
    max-width: 720px;
}

.tgf-login-eyebrow,
.tgf-login-security-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 11px;
    border: 1px solid color-mix(in srgb, var(--login-accent) 30%, transparent);
    background: color-mix(in srgb, var(--login-accent) 10%, transparent);
    border-radius: var(--login-radius);
    font-size: 10px;
    line-height: 1;
    letter-spacing: .12em;
    font-weight: 800;
    color: #f0c875;
}

.tgf-login-page--center .tgf-login-eyebrow,
.tgf-login-page--camp .tgf-login-eyebrow,
.tgf-login-page--center .tgf-login-security-badge,
.tgf-login-page--camp .tgf-login-security-badge {
    color: #ff7a86;
}

.tgf-login-content h1 {
    margin: 20px 0 15px;
    font-size: clamp(42px, 4.6vw, 64px);
    line-height: 1.02;
    letter-spacing: -.04em;
    font-weight: 820;
    color: #fff;
}

.tgf-login-content h1 span {
    display: block;
    color: #d7e1eb;
}

.tgf-login-description {
    max-width: 650px;
    margin: 0;
    color: #a9bdd2;
    font-size: 14px;
    line-height: 1.72;
}

/* =========================================================
   07. FEATURE CARDS
========================================================= */

.tgf-login-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 29px;
}

.tgf-login-feature {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .045);
    border-radius: var(--login-radius);
}

.tgf-login-feature strong {
    display: block;
    font-size: 13px;
    color: #fff;
}

.tgf-login-feature span {
    display: block;
    margin-top: 5px;
    color: #8fa5bc;
    font-size: 10px;
    line-height: 1.5;
}

/* =========================================================
   08. LEFT FOOTER
========================================================= */

.tgf-login-footer {
    position: absolute;
    left: 0;
    bottom: 34px;
    font-size: 9px;
    letter-spacing: .05em;
    color: #7189a1;
}

.tgf-login-footer i {
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0 7px;
    border-radius: 50%;
    background: var(--login-gold);
    vertical-align: middle;
}

.tgf-login-page--center .tgf-login-footer i,
.tgf-login-page--camp .tgf-login-footer i {
    background: var(--login-accent);
}

/* =========================================================
   09. RIGHT AUTH AREA
========================================================= */

.tgf-login-auth {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tgf-login-card {
    width: 100%;
    max-width: 430px;
    box-sizing: border-box;
    padding: 34px;
    background: #fff;
    color: var(--login-text);
    border-radius: var(--login-radius);
    box-shadow: 0 28px 75px rgba(0, 0, 0, .24);
}

/* =========================================================
   10. MOBILE BRAND
========================================================= */

.tgf-login-mobile-brand {
    display: none;
}

/* =========================================================
   11. LOGIN CARD HEADER
========================================================= */

.tgf-login-card-header h2 {
    margin: 14px 0 6px;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -.025em;
    color: #172235;
}

.tgf-login-card-header p {
    margin: 0 0 23px;
    color: #778397;
    font-size: 12px;
    line-height: 1.58;
}

/* =========================================================
   12. FORM
========================================================= */

.tgf-login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tgf-login-card .fi-input-wrp {
    border-radius: var(--login-radius) !important;
}

.tgf-login-card .fi-btn,
.tgf-login-submit {
    min-height: 46px;
    border-radius: var(--login-radius) !important;
    background: var(--login-accent) !important;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--login-accent) 20%, transparent) !important;
}

.tgf-login-card .fi-btn:hover,
.tgf-login-submit:hover {
    filter: brightness(.92);
}

.tgf-login-form-links {
    display: flex;
    justify-content: flex-end;
    margin-top: -3px;
}

.tgf-login-form-links a {
    font-size: 11px;
    font-weight: 650;
    color: #64748b;
    text-decoration: none;
}

.tgf-login-form-links a:hover {
    color: var(--login-accent);
}

/* =========================================================
   13. SECURITY INFO
========================================================= */

.tgf-login-security-info {
    margin-top: 23px;
    padding-top: 18px;
    border-top: 1px solid #edf0f4;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.tgf-login-security-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border-radius: var(--login-radius);
    background: var(--login-accent-soft);
    color: var(--login-accent);
}

.tgf-login-security-icon svg {
    width: 18px;
    height: 18px;
}

.tgf-login-security-info strong {
    display: block;
    font-size: 10px;
    color: #47566b;
}

.tgf-login-security-info span {
    display: block;
    margin-top: 3px;
    font-size: 9px;
    line-height: 1.5;
    color: #8a96a7;
}

/* =========================================================
   14. TOPBAR
========================================================= */

.tgf-login-topbar {
    position: absolute;
    top: 24px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tgf-login-topbar a,
.tgf-login-language button {
    border: 0;
    background: transparent;
    color: #9fb2c6;
    font-size: 11px;
    text-decoration: none;
    cursor: pointer;
}

.tgf-login-topbar a:hover,
.tgf-login-language button:hover {
    color: #fff;
}

/* =========================================================
   15. LANGUAGE MENU
========================================================= */

.tgf-login-language {
    position: relative;
}

.tgf-login-language-menu {
    position: absolute;
    right: 0;
    top: 30px;
    min-width: 130px;
    padding: 6px;
    background: #fff;
    border-radius: var(--login-radius);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
    z-index: 10;
}

.tgf-login-language-menu button {
    display: flex;
    width: 100%;
    padding: 8px;
    color: #334155;
    text-align: left;
    border-radius: 5px;
}

.tgf-login-language-menu button:hover,
.tgf-login-language-menu button.is-active {
    background: #f1f5f9;
}

/* =========================================================
   16. RECAPTCHA + CHECKBOX
========================================================= */

.tgf-login-recaptcha {
    margin-top: 2px;
}

.tgf-login-form .fi-checkbox-input {
    border-radius: 4px !important;
}

.tgf-login-form .fi-checkbox-input:checked {
    border-color: var(--login-accent) !important;
    background-color: var(--login-accent) !important;
}

/* =========================================================
   17. TABLET / MOBILE
========================================================= */

@media (max-width: 1000px) {
    .tgf-login-layout {
        grid-template-columns: 1fr;
        width: min(720px, calc(100% - 36px));
        gap: 0;
        padding: 28px 0 34px;
    }

    .tgf-login-intro {
        display: none;
    }

    .tgf-login-auth {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .tgf-login-card {
        max-width: 520px;
    }

    .tgf-login-mobile-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin-bottom: 25px;
    }

    .tgf-login-mobile-brand .tgf-login-brand-logo {
        width: 82px !important;
        height: 82px !important;
        max-width: 82px !important;
    }

    .tgf-login-mobile-brand .tgf-login-brand-text {
        max-width: 250px;
    }

    .tgf-login-mobile-brand .tgf-login-brand-text span {
        font-size: 14px;
        text-align: left;
    }

    .tgf-login-topbar {
        top: 18px;
        right: 18px;
    }
}

/* =========================================================
   18. SMALL MOBILE
========================================================= */

@media (max-width: 560px) {
    .tgf-login-layout {
        width: 100%;
        padding: 0;
    }

    .tgf-login-auth {
        padding: 18px;
    }

    .tgf-login-card {
        padding: 26px 20px;
    }

    .tgf-login-card-header h2 {
        font-size: 24px;
    }

    .tgf-login-topbar {
        position: fixed;
        top: 10px;
        right: 12px;
    }

    .tgf-login-mobile-brand {
        margin-top: 20px;
        gap: 12px;
    }

    .tgf-login-mobile-brand .tgf-login-brand-logo {
        width: 68px !important;
        height: 68px !important;
        max-width: 68px !important;
    }

    .tgf-login-mobile-brand .tgf-login-brand-text span {
        font-size: 12px;
    }
}

/* =========================================================
   19. SHORT DESKTOP
========================================================= */

@media (max-height: 760px) and (min-width: 1001px) {
    .tgf-login-intro {
        padding: 24px 0 28px;
    }

    .tgf-login-brand {
        margin-bottom: 26px;
        gap: 20px;
    }

    .tgf-login-brand-logo {
        width: 94px !important;
        height: 94px !important;
        max-width: 94px !important;
    }

    .tgf-login-brand-text span {
        font-size: 16px;
    }

    .tgf-login-content h1 {
        font-size: 46px;
    }

    .tgf-login-feature-grid {
        margin-top: 18px;
    }

    .tgf-login-feature {
        padding: 11px;
    }

    .tgf-login-card {
        padding: 28px 32px;
    }

    .tgf-login-footer {
        bottom: 20px;
    }
}

/* =========================================================
   TGF LOGIN — BACKGROUND WATERMARK / FILIGRAN
   Admin / TOHM-SEM / Kamp
========================================================= */

/* Filigran katmanı */
.tgf-login-page::after {
    content: "";
    position: absolute;
    z-index: 1;

    left: -110px;
    bottom: -170px;

    width: 760px;
    height: 760px;

    pointer-events: none;

    opacity: .075;

    background:
        radial-gradient(circle at center,
            transparent 0 31%,
            rgba(255, 255, 255, .75) 31.2% 31.7%,
            transparent 31.9% 43%,
            rgba(255, 255, 255, .48) 43.2% 43.6%,
            transparent 43.8% 55%,
            rgba(255, 255, 255, .28) 55.2% 55.5%,
            transparent 55.7%);

    transform: rotate(-12deg);
}


/* ---------------------------------------------------------
   ADMIN
   Daha kurumsal / altın detay
--------------------------------------------------------- */

.tgf-login-page--admin::after {
    opacity: .08;

    background:
        linear-gradient(135deg,
            transparent 0 44%,
            rgba(214, 170, 79, .30) 44.2% 44.5%,
            transparent 44.7% 53%,
            rgba(255, 255, 255, .16) 53.2% 53.5%,
            transparent 53.7%),
        radial-gradient(circle at center,
            transparent 0 32%,
            rgba(214, 170, 79, .55) 32.2% 32.7%,
            transparent 32.9% 46%,
            rgba(255, 255, 255, .28) 46.2% 46.6%,
            transparent 46.8%);
}


/* ---------------------------------------------------------
   TOHM / SEM
   Performans merkezi / hedef halkaları
--------------------------------------------------------- */

.tgf-login-page--center::after {
    opacity: .07;

    background:
        radial-gradient(circle at center,
            transparent 0 23%,
            rgba(255, 255, 255, .60) 23.2% 23.7%,
            transparent 23.9% 34%,
            rgba(207, 37, 52, .65) 34.2% 34.7%,
            transparent 34.9% 46%,
            rgba(255, 255, 255, .34) 46.2% 46.6%,
            transparent 46.8% 58%,
            rgba(255, 255, 255, .20) 58.2% 58.5%,
            transparent 58.7%);
}


/* ---------------------------------------------------------
   KAMP PORTALI
   Daha dinamik çapraz çizgiler + halkalar
--------------------------------------------------------- */

.tgf-login-page--camp::after {
    opacity: .075;

    background:
        linear-gradient(125deg,
            transparent 0 35%,
            rgba(215, 25, 45, .40) 35.2% 35.6%,
            transparent 35.8% 44%,
            rgba(255, 255, 255, .20) 44.2% 44.6%,
            transparent 44.8% 53%,
            rgba(215, 25, 45, .26) 53.2% 53.5%,
            transparent 53.7%),
        radial-gradient(circle at 35% 65%,
            transparent 0 29%,
            rgba(255, 255, 255, .40) 29.2% 29.6%,
            transparent 29.8% 43%,
            rgba(255, 255, 255, .20) 43.2% 43.5%,
            transparent 43.7%);
}


/* İçerik filigranın üzerinde kalsın */
.tgf-login-layout {
    position: relative;
    z-index: 2;
}


/* Mobilde daha sakin */
@media (max-width: 1000px) {

    .tgf-login-page::after {
        width: 520px;
        height: 520px;

        left: -230px;
        bottom: -120px;

        opacity: .045;
    }
}