/* GFHC Academy - yeni gorsel dil (26.11.2026)
   Hazir temanin (Limitless) uzerine binen tek katman: renk, kose, golge, tipografi ve hareket. */
:root {
    --gf-accent: #4f46e5;
    --gf-accent2: #7c3aed;
    --gf-accent3: #06b6d4;
    --gf-grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #c026d3 100%);
    --gf-ink: #0f172a;
    --gf-muted: #64748b;
    --gf-bg: #f3f4fb;
    --gf-line: #e5e7f2;
    --gf-night: #0b1020;
    --gf-radius: 18px;
    --gf-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px rgba(15, 23, 42, .06);
}
body { background: var(--gf-bg) !important; color: var(--gf-ink); }
.content-wrapper, .content-inner, .page-content { background: transparent !important; }
.content { padding-top: 1.25rem; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -.01em; }
::selection { background: rgba(124, 58, 237, .18); }
[data-bs-target="#demo_config"] { display: none !important; }

/* Ust cubuk */
.navbar.navbar-dark { background: var(--gf-night) !important; border: 0 !important; position: relative; box-shadow: 0 6px 24px rgba(11, 16, 32, .18); }
.navbar.navbar-dark::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gf-grad); }
.navbar .navbar-nav-link.dropdown-toggle { background: rgba(255, 255, 255, .06); padding: .35rem .75rem .35rem .35rem !important; border: 1px solid rgba(255, 255, 255, .08); }
.navbar .navbar-nav-link.dropdown-toggle:hover { background: rgba(255, 255, 255, .12); }
.navbar .status-indicator-container > div, .navbar .status-indicator-container > img { background: var(--gf-grad) !important; }

/* Sol menu */
.sidebar.sidebar-dark { background: var(--gf-night) !important; background-image: radial-gradient(600px 300px at -10% 0%, rgba(124, 58, 237, .28), transparent 60%), radial-gradient(500px 300px at 110% 100%, rgba(6, 182, 212, .16), transparent 60%) !important; border: 0 !important; }
.sidebar .sidebar-section-body h5 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #94a3b8; font-weight: 600; }
.nav-sidebar > .nav-item > .nav-link, .nav-sidebar .nav-group-sub .nav-link { border-radius: 12px; margin: 3px 12px; padding: .7rem .9rem; color: #cbd5e1; font-weight: 500; transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.nav-sidebar .nav-group-sub .nav-link { padding-left: 2.9rem; margin-top: 1px; margin-bottom: 1px; font-size: .92rem; }
.nav-sidebar .nav-link:hover { background: rgba(255, 255, 255, .07) !important; color: #fff !important; transform: translateX(2px); }
.nav-sidebar .nav-link.active, .nav-sidebar .nav-link.gf-active { background: var(--gf-grad) !important; color: #fff !important; box-shadow: 0 10px 24px rgba(99, 102, 241, .38); }
.nav-sidebar .nav-link i { opacity: .9; }

/* Yol cubugu */
.page-header.page-header-light { background: transparent !important; box-shadow: none !important; border: 0 !important; }
.page-header-content { border: 0 !important; padding-top: .5rem; }
.breadcrumb { font-size: .85rem; }
.breadcrumb-item.active { color: var(--gf-ink); font-weight: 600; }

/* Kartlar */
.card { border: 1px solid var(--gf-line) !important; border-radius: var(--gf-radius) !important; box-shadow: var(--gf-shadow) !important; }
.card > .card-header:first-child { border-top-left-radius: var(--gf-radius) !important; border-top-right-radius: var(--gf-radius) !important; }
.card > .card-header { border-bottom: 1px solid var(--gf-line); padding: 1rem 1.25rem; }
.card > .card-header.bg-primary, .card > .card-header.bg-info, .modal-header.bg-primary { background: var(--gf-grad) !important; border: 0; color: #fff; }
.card-title, .card-header h5, .card-header h6 { font-weight: 700; }

/* Dugmeler */
.btn { border-radius: 12px; font-weight: 600; transition: transform .12s ease, box-shadow .12s ease, filter .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gf-grad) !important; border-color: transparent !important; color: #fff !important; box-shadow: 0 8px 20px rgba(99, 102, 241, .28); }
.btn-primary:hover, .btn-primary:focus { filter: brightness(1.08); box-shadow: 0 10px 26px rgba(99, 102, 241, .38); }
.btn-outline-primary { border-color: var(--gf-accent) !important; color: var(--gf-accent) !important; }
.btn-outline-primary:hover { background: var(--gf-accent) !important; color: #fff !important; }
.btn-light { border-color: var(--gf-line); }
a { color: var(--gf-accent); }
.text-primary { color: var(--gf-accent) !important; }
.bg-primary:not(.bg-opacity-10):not(.bg-opacity-20):not(.bg-opacity-25) { background: var(--gf-grad) !important; }

/* Form */
.form-control, .form-select { border-radius: 12px; border-color: var(--gf-line); padding-top: .6rem; padding-bottom: .6rem; }
.form-control:focus, .form-select:focus { border-color: var(--gf-accent); box-shadow: 0 0 0 4px rgba(99, 102, 241, .14); }
.form-label { font-weight: 600; font-size: .85rem; color: #334155; }

/* Tablo */
.table > thead > tr > th { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gf-muted); font-weight: 700; border-bottom: 1px solid var(--gf-line) !important; background: #fafbff; white-space: nowrap; }
.table > tbody > tr > td { vertical-align: middle; border-color: #eef0f7; }
.table-hover > tbody > tr:hover > * { background-color: #f6f5ff !important; --table-accent-bg: transparent; --bs-table-accent-bg: transparent; }
.table-striped > tbody > tr:nth-of-type(odd) > * { --table-accent-bg: #fbfbfe; --bs-table-accent-bg: #fbfbfe; }
.dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_length select { border: 1px solid var(--gf-line); border-radius: 10px; padding: .4rem .7rem; outline: 0; }
.dataTables_wrapper .dataTables_paginate .paginate_button { border-radius: 10px !important; border: 0 !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { background: var(--gf-grad) !important; color: #fff !important; }
.dataTables_wrapper .dataTables_info { color: var(--gf-muted); font-size: .85rem; }

/* Rozet, pencere, acilir menu, uyari */
.badge { border-radius: 999px; font-weight: 600; padding: .4em .75em; }
.modal-content { border: 0 !important; border-radius: 20px !important; box-shadow: 0 30px 80px rgba(11, 16, 32, .35) !important; overflow: hidden; }
.modal-header { border-bottom: 1px solid var(--gf-line); }
.modal-footer { border-top: 1px solid var(--gf-line); }
.modal-backdrop.show { opacity: .55; background: #0b1020; }
.dropdown-menu { border: 1px solid var(--gf-line); border-radius: 14px; box-shadow: 0 18px 50px rgba(11, 16, 32, .16); padding: .4rem; }
.dropdown-item { border-radius: 10px; }
.alert { border-radius: 14px; border-width: 1px; }
.progress { border-radius: 999px; background: #eceef7; }
.progress-bar { border-radius: 999px; }

/* Giris animasyonu */
@media (prefers-reduced-motion: no-preference) {
    .content > .card, .content > .row, .content > div { animation: gf-rise .4s ease-out backwards; /* yalnizca saydamlik: transform, icerideki sabit (fixed) ogeleri ve pencereleri bozuyordu */ }
    .content > *:nth-child(2) { animation-delay: .05s; }
    .content > *:nth-child(3) { animation-delay: .1s; }
    .content > *:nth-child(4) { animation-delay: .15s; }
    .content > *:nth-child(n+5) { animation-delay: .2s; }
    @keyframes gf-rise { from { opacity: 0; } to { opacity: 1; } }
}

/* Ana sayfa */
.gf-hero { background: var(--gf-grad) !important; position: relative; overflow: hidden; border: 0 !important; box-shadow: 0 18px 44px rgba(99, 102, 241, .32) !important; }
.gf-hero::before, .gf-hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.gf-hero::before { width: 320px; height: 320px; right: -80px; top: -160px; background: rgba(255, 255, 255, .12); }
.gf-hero::after { width: 200px; height: 200px; right: 140px; bottom: -130px; background: rgba(6, 182, 212, .28); }
.gf-hero .card-body { position: relative; z-index: 1; padding: 1.6rem 1.75rem; }
.gf-hero h4 { font-size: 1.5rem; font-weight: 800; }
.gf-hero .btn-light { border: 0; color: var(--gf-accent); box-shadow: 0 8px 20px rgba(11, 16, 32, .18); }
.gf-stat { border-radius: var(--gf-radius) !important; }
.gf-stat h3 { font-size: 1.9rem; }
.gf-stat-icon { border-radius: 16px !important; width: 58px !important; height: 58px !important; }

/* Egitimlerim */
.page-header-section { background: var(--gf-grad) !important; border-radius: 22px !important; position: relative; overflow: hidden; padding: 2rem 1.75rem !important; margin: 0 0 1.5rem !important; box-shadow: 0 18px 44px rgba(99, 102, 241, .3) !important; }
.page-header-section::after { content: ''; position: absolute; width: 360px; height: 360px; right: -90px; top: -190px; border-radius: 50%; background: rgba(255, 255, 255, .12); pointer-events: none; }
.page-header-section h1 { font-weight: 800; letter-spacing: -.02em; }
.modul-card { border-radius: 20px !important; border: 1px solid var(--gf-line) !important; box-shadow: var(--gf-shadow) !important; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease !important; background: #fff; }
.modul-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(15, 23, 42, .13) !important; }
.modul-icon-wrapper { border-radius: 16px !important; }
.modul-title { font-weight: 800 !important; }
.modul-stats .stat-item { border-radius: 14px !important; }
.btn-modern { border-radius: 12px !important; font-weight: 700 !important; }
.view-toggle-btn { border-radius: 12px !important; }
.view-toggle-btn.active { background: var(--gf-grad) !important; border-color: transparent !important; color: #fff !important; }

/* Sinav baslatma */
.info-item { border-radius: 12px !important; border-left: 4px solid var(--gf-accent) !important; background: #f7f7fd !important; }

@media (max-width: 991.98px) {
    .content { padding-left: .75rem; padding-right: .75rem; }
    .gf-hero h4 { font-size: 1.25rem; }
    .page-header-section { padding: 1.4rem 1.1rem !important; border-radius: 18px !important; }
}

/* Egitim kartlari: sakin istatistik kutulari */
.modul-card-header { border-bottom: 1px solid var(--gf-line) !important; padding: 1.1rem 1.25rem !important; }
.modul-stats .stat-item { background: color-mix(in srgb, var(--modul-color, #4f46e5) 8%, #fff) !important; border: 1px solid color-mix(in srgb, var(--modul-color, #4f46e5) 20%, #fff) !important; box-shadow: none !important; }
.modul-stats .stat-value { color: var(--modul-color, #4f46e5) !important; font-size: 1.7rem !important; font-weight: 800 !important; }
.modul-stats .stat-label { color: var(--gf-muted) !important; letter-spacing: .08em; }
.pdf-section { border-radius: 14px; }
.empty-state-icon { background: var(--gf-grad) !important; color: #fff !important; }

/* Gecmis sinavlar ve genel ozet kutulari */
.card.card-body, .card .card-body { border-radius: inherit; }
.table .btn-group > .btn { border-radius: 10px !important; margin-left: 4px; }

/* Giris ekrani */
body.bg-dark { background: var(--gf-night) !important; background-image: radial-gradient(900px 520px at 8% -10%, rgba(124, 58, 237, .5), transparent 60%), radial-gradient(820px 520px at 100% 112%, rgba(6, 182, 212, .3), transparent 60%), radial-gradient(620px 420px at 62% 38%, rgba(79, 70, 229, .26), transparent 62%) !important; min-height: 100vh; }
body.bg-dark .login-form { width: 100%; max-width: 410px; position: relative; }
body.bg-dark .login-form::before { content: ''; position: absolute; top: 6%; right: 6%; bottom: 6%; left: 6%; border-radius: 30px; background: var(--gf-grad); filter: blur(42px); opacity: .6; z-index: 0; }
body.bg-dark .login-form .card { position: relative; z-index: 1; background: rgba(255, 255, 255, .97) !important; border: 0 !important; border-radius: 26px !important; box-shadow: 0 30px 90px rgba(0, 0, 0, .45) !important; }
body.bg-dark .login-form .card-body { padding: 2rem 1.9rem; }
body.bg-dark .login-form h5 { font-weight: 800; font-size: 1.25rem; }
body.bg-dark .login-form .btn-primary { padding: .8rem 1rem; font-size: 1rem; margin-top: .25rem; }
body.bg-dark .login-form .form-control { padding-top: .7rem; padding-bottom: .7rem; }
