/*
* ARYOSIS - Main Style
* V2.6.00 - 14.02.2026
* Light Theme / Bootstrap Base
*/

/* -------------------------------------------------------------------------- */
/*                                1. DEĞİŞKENLER                              */
/* -------------------------------------------------------------------------- */
:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary: #64748b;
    --success: #10b981;
    --info: #0ea5e9;
    --warning: #f59e0b;
    --danger: #ef4444;

    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);

    --border-color: #e2e8f0;
    --border-radius: 12px;

    --text-main: #1e293b;
    --text-muted: #64748b;
    --font-main: 'Outfit', sans-serif;

    --navbar-height: 72px;
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 80px;

    --transition-smooth: all 0.25s ease;
}

/* -------------------------------------------------------------------------- */
/*                                2. TEMEL YAPI                               */
/* -------------------------------------------------------------------------- */
body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--text-main);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* -------------------------------------------------------------------------- */
/*                              3. NAVBAR                                     */
/* -------------------------------------------------------------------------- */
.navbar {
    height: var(--navbar-height);
    padding-left: 1rem;
    padding-right: 1rem;
    z-index: 1030;
}

/* -------------------------------------------------------------------------- */
/*                              4. SIDEBAR (uygulama — girişli)               */
/* -------------------------------------------------------------------------- */
/* Dış çerçeve: sürekli akan renk şeridi (içteki buton maske gibi düz arka plan) */
.aryosis-sidebar-open-wrap {
    position: fixed;
    left: 0;
    top: calc(var(--navbar-height) + 10px);
    z-index: 1040;
    padding: 2px;
    border-radius: 0 14px 14px 0;
    background: linear-gradient(
        120deg,
        #6366f1,
        #818cf8,
        #c4b5fd,
        #a5b4fc,
        #6366f1
    );
    background-size: 280% 280%;
    animation: aryosis-sidebar-open-frame-flow 3.5s linear infinite;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.22);
}

@keyframes aryosis-sidebar-open-frame-flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aryosis-sidebar-open-wrap {
        animation: none;
        background: linear-gradient(180deg, #818cf8, #6366f1);
    }
}

.aryosis-sidebar-open-btn {
    position: relative;
    z-index: 1;
    width: auto;
    min-width: 42px;
    min-height: 44px;
    height: auto;
    padding: 0 10px 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 0 12px 12px 0;
    border: 0 !important;
    color: #64748b;
    background: rgba(255, 255, 255, 0.98) !important;
}

.aryosis-sidebar-open-btn:focus-visible {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
    box-shadow: none;
}

.aryosis-sidebar-open-btn-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #475569;
    white-space: nowrap;
}

.aryosis-sidebar-open-btn:hover {
    color: #4f46e5;
    background: #f8fafc !important;
}

.aryosis-sidebar-open-btn:hover .aryosis-sidebar-open-btn-label {
    color: #4338ca;
}

@media (max-width: 380px) {
    .aryosis-sidebar-open-btn-label {
        display: none;
    }
}

@media (min-width: 992px) {
    html.app-sidebar-on .aryosis-sidebar-open-wrap {
        display: none !important;
    }
}

#aryosisSidebar.aryosis-sidebar-app {
    display: none !important;
    width: var(--sidebar-width);
    top: var(--navbar-height);
    bottom: 0;
    left: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98) !important;
}

@media (min-width: 992px) {
    #aryosisSidebar.aryosis-sidebar-app {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        z-index: 1020;
        transform: translate3d(-100%, 0, 0);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        box-shadow: none;
        transition:
            transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.38s,
            box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    }

    html.app-sidebar-on #aryosisSidebar.aryosis-sidebar-app {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: 0 10px 36px -12px rgba(15, 23, 42, 0.16);
        transition:
            transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0s,
            box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    }
}

/* Üst menü satırları arası 4px; alt menü sütunu aynı */
#aryosisSidebar.aryosis-sidebar-app .aryosis-sidebar-nav-items,
#aryosisSidebarOffcanvas .aryosis-sidebar-nav-items {
    gap: 4px;
}

#aryosisSidebar.aryosis-sidebar-app .aryosis-sidebar-nav-items .collapse .nav.flex-column,
#aryosisSidebarOffcanvas .aryosis-sidebar-nav-items .collapse .nav.flex-column {
    gap: 4px;
}

#aryosisSidebar.aryosis-sidebar-app .nav-link,
#aryosisSidebarOffcanvas .nav-link {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: #64748b;
}

/* Navbar .nav-link ile aynı tip ölçü: min 40px satır, 1rem yazı (yatay padding sidebar genişliği için 0.75rem) */
#aryosisSidebar.aryosis-sidebar-app .aryosis-sidebar-nav-items > .nav-link,
#aryosisSidebarOffcanvas .aryosis-sidebar-nav-items > .nav-link {
    min-height: 40px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

#aryosisSidebar.aryosis-sidebar-app .collapse .nav-link,
#aryosisSidebarOffcanvas .collapse .nav-link {
    min-height: 36px;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.25;
    padding: 0.375rem 0.75rem;
}

#aryosisSidebar.aryosis-sidebar-app .nav-link:hover,
#aryosisSidebarOffcanvas .nav-link:hover {
    color: #1e293b;
    background-color: #f1f5f9;
}

#aryosisSidebar.aryosis-sidebar-app .nav-link.active,
#aryosisSidebarOffcanvas .nav-link.active {
    color: #4f46e5 !important;
    background-color: rgba(79, 70, 229, 0.08);
    font-weight: 600;
}

#aryosisSidebar.aryosis-sidebar-app .nav-link i.fas,
#aryosisSidebar.aryosis-sidebar-app .nav-link i.far,
#aryosisSidebar.aryosis-sidebar-app .nav-link i.fab,
#aryosisSidebarOffcanvas .nav-link i.fas,
#aryosisSidebarOffcanvas .nav-link i.far,
#aryosisSidebarOffcanvas .nav-link i.fab {
    width: 1.25rem;
    text-align: center;
}

.sidebar-nav-toggle {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 40px;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    color: #64748b;
    background: transparent;
    border: none;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.sidebar-nav-toggle:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.sidebar-nav-toggle:not(.collapsed) .fa-chevron-down {
    transform: rotate(180deg);
}

.sidebar-nav-toggle .fa-chevron-down {
    transition: transform 0.2s ease;
    opacity: 0.7;
    font-size: 0.7rem;
}

.aryosis-sidebar-footer {
    background: rgba(248, 250, 252, 0.97);
}

/* Mobil menü: navbar (1050) üstünde — başlık görünsün */
#aryosisSidebarOffcanvas.offcanvas,
.aryosis-sidebar-offcanvas.offcanvas {
    z-index: 1060 !important;
}

.offcanvas-backdrop {
    z-index: 1055 !important;
}

/* Mobil offcanvas: Bootstrap varsayılanından daha akıcı kayma */
#aryosisSidebarOffcanvas.aryosis-sidebar-offcanvas.offcanvas-start {
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

@media (prefers-reduced-motion: reduce) {
    @media (min-width: 992px) {
        #aryosisSidebar.aryosis-sidebar-app,
        html.app-sidebar-on #aryosisSidebar.aryosis-sidebar-app {
            transition: none !important;
        }
    }

    #aryosisSidebarOffcanvas.aryosis-sidebar-offcanvas.offcanvas-start {
        transition: none !important;
    }
}

/* Profil kartı (sidebar altı) */
.aryosis-sidebar-profile-card {
    transition: var(--transition-smooth);
}

.aryosis-sidebar-profile-card:hover {
    border-color: rgba(79, 70, 229, 0.35) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.aryosis-sidebar-profile-card--active {
    background: rgba(79, 70, 229, 0.06) !important;
}

/* -------------------------------------------------------------------------- */
/*                              5. LAYOUT                                     */
/* -------------------------------------------------------------------------- */
.layout-container {
    flex: 1;
    width: 100%;
    margin-top: var(--navbar-height) !important;
    padding: 2rem 0;
}

/* Ana sayfa: navbar altında çift boşluk olmasın (layout padding + hero padding) */
.layout-container.layout-container--flush-top {
    padding-top: 0;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .layout-container {
        padding: 1rem 0;
    }

    .layout-container.layout-container--flush-top {
        padding-top: 0;
        padding-bottom: 0;
    }
}

.footer {
    margin-top: auto;
    width: 100%;
}

/* Masaüstü — içerik ve footer kaydırılmaz; sidebar fixed sol üstte üzerine biner */
@media (min-width: 992px) {
    .layout-container {
        margin-left: 0;
        width: 100%;
        padding: 0;
    }

    .footer {
        margin-left: 0;
        width: 100%;
    }
}

/* -------------------------------------------------------------------------- */
/*                              6. BİLEŞENLER                               */
/* -------------------------------------------------------------------------- */
/* Klasik Bootstrap Kartı Üzerine Hafif Özelleştirme */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: 0.3s;
    position: relative;
}

.glass-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.icon-sq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.icon-sq-lg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.25rem;
}

.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.3);
    border: none;
    transition: 0.3s;
}

.btn-glow:hover {
    box-shadow: 0 10px 15px rgba(79, 70, 229, 0.4);
    transform: translateY(-2px);
    color: white;
    filter: brightness(1.1);
}

.transition-hover:hover {
    transform: translateY(-3px);
}

.mw-700 {
    max-width: 700px;
}

.progress-sm-glass {
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

/* -------------------------------------------------------------------------- */
/*                              7. HOMEPAGE HERO                            */
/* -------------------------------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Ana sayfa hero: logo + başlık tek satır (blok); başlık dar ekranda fluid */
.hero-section.home-page .hero-main-headline {
    font-size: clamp(1.05rem, 2.8vw + 0.55rem, 2.5rem);
    line-height: 1.2;
}

.hero-section.home-page .hero-trust-line {
    max-width: 52rem;
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* -------------------------------------------------------------------------- */
/*           7a. ANA SAYFA — HERO + İSTATİSTİK ORTAK YÜZEY / CAM PANEL        */
/* -------------------------------------------------------------------------- */
.home-landing-surface {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #eef2ff 0%, #f8fafc 45%, #e0e7ff 100%);
}

.home-landing-surface::before,
.home-landing-surface::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.home-landing-surface::before {
    width: min(420px, 90vw);
    height: min(420px, 90vw);
    top: -12%;
    right: -8%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
}

.home-landing-surface::after {
    width: min(320px, 70vw);
    height: min(320px, 70vw);
    bottom: -10%;
    left: -6%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.home-landing-surface .container {
    position: relative;
    z-index: 1;
}

.home-landing-glass-panel {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: 1.5rem;
    box-shadow:
        0 4px 6px -1px rgba(15, 23, 42, 0.06),
        0 24px 48px -12px rgba(79, 70, 229, 0.14);
}

@media (min-width: 992px) {
    .home-landing-glass-panel {
        border-radius: 1.75rem;
    }
}

/* -------------------------------------------------------------------------- */
/*                    7b. ANA SAYFA — PUBLIC İSTATİSTİK ŞERİDİ               */
/* -------------------------------------------------------------------------- */
.home-public-stats-eyebrow {
    letter-spacing: 0.12em;
    color: var(--primary);
    font-size: 0.72rem;
}

.home-public-stats-title {
    font-size: clamp(1.35rem, 2.5vw + 0.6rem, 2rem);
    line-height: 1.25;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.home-public-stats-lead {
    max-width: 36rem;
    font-size: clamp(0.95rem, 1.1vw + 0.85rem, 1.05rem);
    line-height: 1.65;
}

.home-public-stat-card {
    position: relative;
    padding: 1.5rem 1.25rem 1.75rem;
    border-radius: var(--border-radius);
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

@media (min-width: 992px) {
    .home-public-stat-card {
        padding: 1.75rem 1.35rem 2rem;
    }
}

.home-public-stat-card:hover,
.home-public-stat-card:focus-within {
    transform: translateY(-5px);
    box-shadow:
        0 12px 24px -8px rgba(79, 70, 229, 0.12),
        0 4px 12px rgba(15, 23, 42, 0.06);
    border-color: rgba(79, 70, 229, 0.18);
}

@media (prefers-reduced-motion: reduce) {
    .home-public-stat-card,
    .home-public-stat-card:hover,
    .home-public-stat-card:focus-within,
    .home-public-stat-icon,
    .home-public-stat-card:hover .home-public-stat-icon,
    .home-landing-primary-cta,
    .home-landing-primary-cta:hover {
        transition: none;
        transform: none;
    }
}

.home-public-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: transform 0.25s ease;
}

.home-public-stat-card:hover .home-public-stat-icon {
    transform: scale(1.06);
}

.home-public-stat-icon--members {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(99, 102, 241, 0.08));
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.home-public-stat-icon--vehicles {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(16, 185, 129, 0.06));
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.22);
}

.home-public-stat-icon--reminders {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0.07));
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.home-public-stat-num {
    font-weight: 800;
    font-size: clamp(2.15rem, 4vw + 1rem, 2.85rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.home-public-stat-num--members {
    background: linear-gradient(135deg, #4338ca, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-public-stat-num--vehicles {
    background: linear-gradient(135deg, #059669, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-public-stat-num--reminders {
    background: linear-gradient(135deg, #d97706, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .home-public-stat-num--members {
        color: var(--primary);
    }
    .home-public-stat-num--vehicles {
        color: var(--success);
    }
    .home-public-stat-num--reminders {
        color: var(--warning);
    }
}

.home-landing-primary-cta {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-landing-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.28);
}

/* -------------------------------------------------------------------------- */
/*                              8. AUTH BUTTONS                               */
/* -------------------------------------------------------------------------- */
.aryosis-btn-login {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.1);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.aryosis-btn-login:hover {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-hover);
    text-decoration: none;
}

.aryosis-btn-register {
    background: var(--primary);
    color: white;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.aryosis-btn-register:hover {
    background: var(--primary-hover);
    color: white;
    box-shadow: 0 6px 12px rgba(79, 70, 229, 0.3);
    transform: translateY(-1px);
    text-decoration: none;
}

.aryosis-btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* -------------------------------------------------------------------------- */
/*                              9. UTILITIES                                  */
/* -------------------------------------------------------------------------- */
.aryosis-glass-base {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.aryosis-brand-base {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.025em;
}

/* -------------------------------------------------------------------------- */
/*                              10. HERO VISUAL (3D MOCKUP)                   */
/* -------------------------------------------------------------------------- */
.hero-visual-wrapper {
    perspective: 1500px;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-mockup-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    transform-style: preserve-3d;
    transform: rotateY(-12deg) rotateX(6deg);
    transition: transform 0.5s ease-out;
}

.glass-mockup-container:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

.glass-window {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
}

/* Mockup Header */
.mockup-header {
    height: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.3);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot.red {
    background: #ff5f56;
}

.mockup-dot.yellow {
    background: #ffbd2e;
}

.mockup-dot.green {
    background: #27c93f;
}

.mockup-search {
    flex: 1;
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    max-width: 200px;
}

/* Mockup Body */
.mockup-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.mockup-sidebar {
    width: 70px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mockup-line {
    width: 40px;
    height: 8px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.mockup-line.active {
    background: var(--primary);
    opacity: 0.8;
}

.mockup-content {
    flex: 1;
    padding: 1.5rem;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Grafik Simülasyonları */
.mockup-chart-bar {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mockup-bar {
    flex: 1;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    opacity: 0.2;
    transition: 0.3s;
}

.mockup-bar:nth-child(2) {
    height: 60%;
}

.mockup-bar:nth-child(3) {
    height: 85%;
    opacity: 0.8;
}

.mockup-bar:nth-child(4) {
    height: 40%;
}

.mockup-bar:nth-child(1) {
    height: 30%;
}

.mockup-bar:nth-child(5) {
    height: 70%;
}

/* List Items */
.mockup-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-list-item {
    height: 36px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 10px;
}

.mockup-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e2e8f0;
}

.mockup-text {
    height: 6px;
    width: 60%;
    background: #f1f5f9;
    border-radius: 3px;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 20;
}

.floating-badge.top-right {
    top: -20px;
    right: -30px;
}

.floating-badge.bottom-left {
    bottom: 40px;
    left: -40px;
}

.floating-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-slow {
    0% {
        transform: rotateY(-12deg) rotateX(6deg) translateY(0px);
    }

    50% {
        transform: rotateY(-12deg) rotateX(6deg) translateY(-20px);
    }

    100% {
        transform: rotateY(-12deg) rotateX(6deg) translateY(0px);
    }
}

/* Mobile Fixes */
@media (max-width: 991px) {
    .hero-visual-wrapper {
        perspective: none;
        padding: 0;
        margin-top: 3rem;
    }

    .glass-mockup-container {
        transform: none !important;
        animation: none !important;
        max-width: 100%;
    }

    .floating-badge {
        position: relative;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        margin-top: 1rem;
        display: inline-flex;
    }
}

/* -------------------------------------------------------------------------- */
/*                              11. DASHBOARD WIDGETS                         */
/* -------------------------------------------------------------------------- */

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition-smooth);
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: rgba(79, 70, 229, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

/* Icon Colors */
.icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.icon-amber {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.icon-violet {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.icon-red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.stat-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-main);
    letter-spacing: -0.025em;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* Dashboard Section Title */
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Glass Card Color Tops */
.glass-card-blue-top {
    border-top: 4px solid #3b82f6;
}

.glass-card-red-top {
    border-top: 4px solid #ef4444;
}

.glass-card-green-top {
    border-top: 4px solid #10b981;
}

/* Reminder Items */
.reminder-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reminder-item {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition-smooth);
}

.reminder-item:hover {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.reminder-urgent {
    border-left: 4px solid #ef4444;
}

.reminder-warning {
    border-left: 4px solid #f59e0b;
}

.reminder-normal {
    border-left: 4px solid #3b82f6;
}

.reminder-success {
    border-left: 4px solid #10b981;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    z-index: 1;
}

.timeline-item.active::before {
    border-color: var(--primary);
    background: var(--primary);
}

.timeline-item:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

/* Employee Module Styles */
.avatar-circle-group {
    display: flex;
    align-items: center;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background-color: var(--primary-color);
    color: white;
}

.group-action-hover {
    transition: all 0.2s ease;
}

.group-action-hover:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light-custom {
    color: var(--text-muted);
    border-color: var(--border-color);
    background: transparent;
}

.btn-outline-light-custom:hover {
    color: var(--primary-color);
    background: var(--bg-hover);
    border-color: var(--primary-color);
}

/* Custom Input Styles */
.custom-input {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.custom-input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

/* Custom Table for Dashboard */
.custom-table {
    width: 100%;
    margin-bottom: 0;
}

.custom-table tr {
    transition: background 0.2s;
}

.custom-table tr:hover {
    background: #f8fafc;
}

.custom-table td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
}

.custom-table tr:last-child td {
    border-bottom: none;
}

/* -------------------------------------------------------------------------- */
/*                              DASHBOARD CARDS                               */
/* -------------------------------------------------------------------------- */

/* Stat Cards */
.stat-card .h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-top: 0.25rem;
}

.stat-card .text-uppercase.small {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Dashboard Centering Fix (Final Override) */
.stat-card {
    text-align: center;
}

.stat-card .d-flex.flex-column {
    align-items: center !important;
    width: 100%;
}

.stat-card .icon-shape {
    margin: 0 auto 1rem auto !important;
}

.stat-card .display-5,
.stat-card .display-6,
.stat-card .text-uppercase {
    text-align: center !important;
    width: 100%;
}

/* Fix Bottom Link alignment - Force Center */
.stat-card .border-top {
    width: 100%;
    display: flex;
    justify-content: center;
}

.stat-card a.stretched-link {
    width: 100% !important;
    justify-content: center !important;
    /* Override justify-content-between */
    gap: 8px;
    /* Add space between text and icon */
}

.dashboard-kpi-strip .stat-card a.stretched-link {
    justify-content: space-between !important;
}

/* Dashboard özet: tek şerit — lg+ 4 eşit sütun (3 büyük + 2×2); altında tek sütun */
.dashboard-kpi-strip {
    display: grid;
    gap: 1rem;
    align-items: stretch;
    min-height: 0;
    grid-template-columns: 1fr;
}

.dashboard-kpi-big-card.stat-card,
.dashboard-kpi-mini-card.stat-card {
    align-items: stretch;
    padding: 0;
}

.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    min-width: 0;
    min-height: 0;
    align-items: stretch;
}

@media (min-width: 992px) {
    .dashboard-kpi-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .dashboard-kpi-strip > .dashboard-kpi-big-card {
        height: 100%;
        min-height: 0;
    }

    .dashboard-kpi-strip > .dashboard-kpi-grid {
        height: 100%;
        align-self: stretch;
    }
}

.dashboard-kpi-mini .icon-shape {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 0.35rem !important;
}

.dashboard-kpi-mini-label {
    font-size: 0.65rem;
    line-height: 1.2;
}

/* Icon Shapes */
.icon-shape {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
    transition: var(--transition-smooth);
}

/* Icon Shape Colors with Soft/Luminous Style */
.icon-shape.bg-primary {
    background: rgba(79, 70, 229, 0.1) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(79, 70, 229, 0.2);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.15);
}

.icon-shape.bg-info {
    background: rgba(14, 165, 233, 0.1) !important;
    color: var(--info) !important;
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.15);
}

.icon-shape.bg-success {
    background: rgba(16, 185, 129, 0.1) !important;
    color: var(--success) !important;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.icon-shape.bg-danger {
    background: rgba(239, 68, 68, 0.1) !important;
    color: var(--danger) !important;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}

.icon-shape.bg-warning {
    background: rgba(245, 158, 11, 0.1) !important;
    color: var(--warning) !important;
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

/* Stretched Link Fix */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Aryosis Glass Card (Welcome) */
.aryosis-glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

/* Icon Circle (Smaller, Round version of Icon Shape) */
.icon-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.icon-circle.bg-primary {
    background: rgba(79, 70, 229, 0.1) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(79, 70, 229, 0.2);
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.1);
}

.icon-circle.bg-info {
    background: rgba(14, 165, 233, 0.1) !important;
    color: var(--info) !important;
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.1);
}

.icon-circle.bg-success {
    background: rgba(16, 185, 129, 0.1) !important;
    color: var(--success) !important;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.icon-circle.bg-danger {
    background: rgba(239, 68, 68, 0.1) !important;
    color: var(--danger) !important;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.1);
}

.icon-circle.bg-warning {
    background: rgba(245, 158, 11, 0.1) !important;
    color: var(--warning) !important;
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.1);
}

.list-group-item:hover .icon-circle {
    transform: scale(1.1);
}

.min-width-0 {
    min-width: 0;
}

/* Hover Transition Utility */
.transition-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Soft Alerts */
.alert-soft-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-soft-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-soft-info {
    background-color: rgba(14, 165, 233, 0.1);
    color: #0369a1;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.alert-soft-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* -------------------------------------------------------------------------- */
/*                              12. GLASS NOTIFICATIONS & MODALS              */
/* -------------------------------------------------------------------------- */

/* Glass Toast */
.aryosis-glass-toast {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border-radius: 12px;
    overflow: hidden;
    min-width: 300px;
    animation: toastSlideIn 0.4s ease forwards;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Glass Modal */
.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* -------------------------------------------------------------------------- */
/*                              13. MOBILE NAVBAR IMPROVEMENTS                */
/* -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {

    /* Navbar Sabit Yükseklik ve Padding - Zıplamayı Önler */
    .aryosis-navbar {
        min-height: 72px;
        /* Var olan --navbar-height değişkeni ile uyumlu */
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
        /* Menü açıldığında height değişmemeli, sadece collapse içeriği dolmalı */
        position: fixed !important;
        /* Fixed top zaten var ama emin olalım */
    }

    /* Navbar Container Düzeni */
    .aryosis-navbar .container-xxl,
    .aryosis-navbar .container-fluid {
        display: flex;
        flex-wrap: wrap;
        /* Wrap olması gerekiyor çünkü menü alt satıra inecek */
        align-items: center;
        justify-content: space-between;
        position: static;
        /* Relative yerine static yapıldı ki logo navbar'a göre konumlansın */
    }

    /* 1. Toggle Butonu (En Sol) */
    .navbar-toggler {
        order: 1;
        margin-right: auto;
        z-index: 1055;
        /* Backdrop'un üzerinde */
        position: relative;
    }

    /* 2. Logo Wrapper (Yeni Strateji) */
    .mobile-logo-wrapper {
        order: 2;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 36px;
        /* Navbar yüksekliği kadar */
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        /* Altındaki elementlere tıklanabilsin */
        z-index: 2000 !important;
        /* En üstte olduğundan emin olalım */
    }

    /* Logo (Wrapper İçinde) */
    .aryosis-brand {
        position: static;
        /* Wrapper tarafından hizalanacak */
        transform: none;
        margin-right: 0;
        pointer-events: auto;
        /* Logoya tıklanabilsin */
    }

    /* 3. Kullanıcı İşlemleri (En Sağ) */
    .aryosis-navbar .d-flex.align-items-center.gap-2.ms-auto {
        order: 3;
        margin-left: 0 !important;
        z-index: 1055;
        position: relative;
    }

    /* 4. Menü İçeriği (Alt Satır) */
    .navbar-collapse {
        order: 4;
        width: 100%;
        /* Menü açıldığında navbar'dan bağımsız aşağıda görünsün diye margin ekliyoruz */
        margin-top: 2rem;
        /* Kullanıcı isteği: Menü biraz daha aşağıdan başlasın */
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 12px;
        padding: 1rem;
        border: 1px solid rgba(226, 232, 240, 0.8);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);

        /* Menü çok uzunsa scroll olsun */
        max-height: 80vh;
        overflow-y: auto;
    }

    /* Mobilde sadece logo; metin d-none d-lg-inline ile lg+ görünür */
}

/* Backdrop Styles */
.navbar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    /* Yarı saydam siyah */
    z-index: 1040;
    /* Navbar'ın (1050) altında, içeriğin üstünde */
    display: none;
    /* Varsayılan gizli */
    transition: opacity 0.15s linear;
    opacity: 0;
    backdrop-filter: blur(2px);
    /* Arkadaki içeriği hafif flulaştır */
    -webkit-backdrop-filter: blur(2px);
}

.navbar-backdrop.show {
    opacity: 1;
}

/* -------------------------------------------------------------------------- */
/*                              14. DESKTOP NAVBAR FIXES                      */
/* -------------------------------------------------------------------------- */

@media (min-width: 992px) {

    /* Wrapper Desktop Fix: Wrapper'ı etkisiz kıl */
    .mobile-logo-wrapper {
        display: contents;
    }

    /* Navbar Container Hizalaması */
    .aryosis-navbar .container-xxl,
    .aryosis-navbar .container-fluid {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    /* 1. Logo (En Sol) */
    .aryosis-brand {
        order: 0;
        margin-right: 2rem;
        position: static;
        transform: none;
    }

    /* 2. Menü (Ortada) */
    .navbar-collapse {
        order: 1;
        display: flex !important;
        flex-basis: auto;
        width: auto;

        /* Mobildeki stilleri sıfırla */
        margin-top: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    /* 3. Kullanıcı İşlemleri (En Sağ) */
    .aryosis-navbar .d-flex.align-items-center.gap-2.ms-auto {
        order: 2;
        margin-left: auto !important;
        /* Sağa yasla */
    }
}

/* -------------------------------------------------------------------------- */
/*                              15. NOTIFICATION DROPDOWN                     */
/* -------------------------------------------------------------------------- */

.notification-dropdown {
    width: 320px;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.95);
    /* Daha opak arka plan */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.notification-dropdown-header {
    position: sticky;
    top: 0;
    z-index: 100;
    /* Header üstte kalsın */
    background: rgba(255, 255, 255, 0.98);
    /* Daha opak arka plan */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-main);
    cursor: pointer;
    position: relative;
    /* Z-index yönetimi için */
    z-index: 1;
}

.notification-item:hover {
    background-color: rgba(79, 70, 229, 0.04);
}

.notification-item.unread {
    background-color: rgba(79, 70, 229, 0.02);
    border-left: 3px solid var(--primary);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    /* İkonu metinle hizala */
}

/* İçerik Düzeni */
.notification-content {
    flex: 1;
    /* Kalan alanı doldur */
    min-width: 0;
    /* Flexbox text-truncate için kritik */
}

.notification-content h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.3;
    /* Çok satırlı metin kesme */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* Scrollbar Style for Dropdown */
.notification-dropdown::-webkit-scrollbar {
    width: 4px;
}

.notification-dropdown::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 2px;
}

@media (max-width: 576px) {
    .notification-dropdown {
        width: 300px;
        right: -50px;
        /* Sağa yaslama ayarı */
    }
}

/* -------------------------------------------------------------------------- */
/*                              16. RESPONSIVE TABLES                         */
/* -------------------------------------------------------------------------- */

@media screen and (max-width: 768px) {
    .table-responsive-stack {
        display: block;
        width: 100%;
    }

    .table-responsive-stack thead {
        display: none;
        /* Başlıkları gizle */
    }

    .table-responsive-stack tbody,
    .table-responsive-stack tr,
    .table-responsive-stack td {
        display: block;
        width: 100%;
    }

    .table-responsive-stack tr {
        margin-bottom: 1rem;
        background-color: #fff;
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 0.75rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
        padding: 0.5rem;
    }

    .table-responsive-stack td {
        padding: 1rem !important;
        position: relative;
        border-top: none;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 40px;
    }

    .table-responsive-stack td:last-child {
        border-bottom: none;
    }

    /* Sol taraftaki başlık etiketi */
    .table-responsive-stack td::before {
        content: attr(data-label);
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.75rem;
        color: #64748b;
        text-align: left;
        margin-right: 1rem;
        flex-shrink: 0;
        max-width: 40%;
    }

    /* Boş hücreleri gizle opsiyonu (gerekirse) */
    /* .table-responsive-stack td:empty { display: none; } */

    /* Aksiyon butonları için özel düzen */
    .table-responsive-stack td:last-child {
        justify-content: flex-end;
    }
}

/* -------------------------------------------------------------------------- */
/*                              17. ARYOSIS ACCORDION                         */
/* -------------------------------------------------------------------------- */

.aryosis-accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-width: 0;
    gap: 1rem;
    display: flex;
    flex-direction: column;
}

.aryosis-accordion .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.aryosis-accordion .accordion-item:hover {
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.aryosis-accordion .accordion-button {
    font-weight: 600;
    color: var(--text-main);
    background-color: transparent;
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
    border-radius: var(--border-radius) !important;
    font-size: 1.05rem;
}

.aryosis-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(79, 70, 229, 0.05);
}

.aryosis-accordion .accordion-button::after {
    background-size: 1rem;
    transition: var(--transition-smooth);
}

.aryosis-accordion .accordion-body {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    padding: 0 1.5rem 1.5rem 1.5rem;
    background-color: transparent;
}

/* -------------------------------------------------------------------------- */
/* Hoşgeldin / Profil kartı (dashboard + profil ayarları ortak)               */
/* -------------------------------------------------------------------------- */
.dashboard-welcome-title,
.dashboard-welcome-card .dashboard-welcome-title {
    font-size: 1.25rem;
}
@media (min-width: 768px) {
    .dashboard-welcome-title,
    .dashboard-welcome-card .dashboard-welcome-title {
        font-size: 1.75rem;
    }
}
.dashboard-welcome-avatar {
    width: 96px;
    height: 96px;
}
.dashboard-welcome-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 767px) {
    .dashboard-welcome-avatar {
        width: 64px !important;
        height: 64px !important;
        font-size: 1.75rem !important;
    }
}
#profile_avatar_wrapper {
    width: 96px;
    height: 96px;
}
#profile_avatar_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#profile_avatar_wrapper label[for="profile_image"] {
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
#profile_avatar_wrapper label[for="profile_image"]:hover {
    background-color: rgba(0, 0, 0, 0.65) !important;
    transform: scale(1.05);
}

/* -------------------------------------------------------------------------- */
/*                        Profile – Hesabım sekmeleri (mobil)                  */
/* -------------------------------------------------------------------------- */
/* Mobilde görünen sekme select: dokunmatik kullanım için yeterli boyut */
.hesabim-tab-select {
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 2.25rem 0.5rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    background-color: var(--bs-body-bg, #fff);
}
/* Masaüstünde yatay sekmeler: kaydırma deneyimi (mobilde bu blok gizli) */
.nav-tabs-profile {
    -webkit-overflow-scrolling: touch;
    min-width: 0;
}
/* Profil kartı: mobilde avatar ortada */
@media (max-width: 767.98px) {
    .profile-welcome-card #profile_avatar_wrapper {
        margin-left: auto;
        margin-right: auto;
    }
}

/* -------------------------------------------------------------------------- */
/*                        FOOTER (includes/footer.php)                         */
/* -------------------------------------------------------------------------- */
.aryosis-footer {
    background: rgba(255, 255, 255, 0.90) !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.02) !important;
    margin-top: auto;
    padding-top: 3rem;
    padding-bottom: 2rem;
    color: #64748b;
    width: 100%;
}
@media (min-width: 992px) {
    .aryosis-footer {
        margin-left: 0 !important;
        width: 100% !important;
    }
}
.aryosis-footer-brand span {
    color: #1e293b;
}
.aryosis-footer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 300px;
}
.aryosis-footer-heading {
    color: #1e293b;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}
.aryosis-footer-link {
    display: block;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.aryosis-footer-link:hover {
    color: #4f46e5;
    transform: translateX(2px);
}
.aryosis-footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
/* Footer: tek çizgi (üst row'da border kaldırıldı, sadece footer-bottom'da border-top) */
/* Footer: mobilde içerik ortalı */
@media (max-width: 767.98px) {
    .aryosis-footer .footer-main-row .col-12 {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .aryosis-footer .aryosis-footer-text {
        margin-left: auto;
        margin-right: auto;
    }
    .aryosis-footer .d-flex.flex-column {
        align-items: center !important;
    }
    .aryosis-footer-bottom {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
.aryosis-social-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    color: #64748b;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    margin-left: 0.5rem;
}
.aryosis-social-link:hover {
    background-color: #4f46e5;
    color: white;
    transform: translateY(-2px);
}

/* Flatpickr - Aryosis teması */
.flatpickr-calendar {
    font-family: 'Outfit', sans-serif;
    background: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(99,102,241,0.08);
    overflow: hidden;
    padding: 4px;
    width: auto !important;
}
.flatpickr-months {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 12px 12px 0 0;
    padding: 10px 4px;
}
.flatpickr-month { height: 42px; }
.flatpickr-current-month {
    font-size: 1rem;
    font-weight: 700;
    color: #fff !important;
    padding-top: 8px;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
    color: #fff;
    background: transparent;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    padding: 2px 6px;
    cursor: pointer;
    border-radius: 6px;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
    background: rgba(255,255,255,0.15);
}
.flatpickr-current-month .flatpickr-monthDropdown-months option {
    background-color: #ffffff !important;
    color: #1e293b !important;
    font-weight: 600;
    font-size: 0.95rem;
}
.flatpickr-current-month .flatpickr-monthDropdown-months option:checked {
    background-color: #ede9fe !important;
    color: #4f46e5 !important;
}
.flatpickr-current-month input.cur-year {
    color: #fff !important;
    font-weight: 700;
    background: transparent;
}
.numInputWrapper span.arrowUp::after { border-bottom-color: #fff !important; }
.numInputWrapper span.arrowDown::after { border-top-color: #fff !important; }
.flatpickr-prev-month svg, .flatpickr-next-month svg { fill: #fff !important; }
.flatpickr-prev-month, .flatpickr-next-month {
    padding: 8px !important;
    border-radius: 8px;
    transition: background 0.15s;
}
.flatpickr-prev-month:hover, .flatpickr-next-month:hover { background: rgba(255,255,255,0.2) !important; }
.flatpickr-weekdays { background: #f8faff; padding: 6px 0; }
.flatpickr-weekday { color: #6366f1 !important; font-weight: 700 !important; font-size: 0.75rem !important; }
.flatpickr-day {
    border-radius: 10px !important;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.15s ease;
    border: none !important;
    max-width: 38px;
    height: 34px;
    line-height: 34px;
}
.flatpickr-day:hover { background: #ede9fe !important; color: #4f46e5 !important; }
.flatpickr-day.today { background: #f0f4ff !important; color: #4f46e5 !important; font-weight: 700; }
.flatpickr-day.today::after {
    content: '';
    display: block;
    width: 4px; height: 4px;
    background: #6366f1;
    border-radius: 50%;
    margin: -4px auto 0;
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(99,102,241,0.4);
    font-weight: 700;
}
.flatpickr-day.flatpickr-disabled { color: #d1d5db !important; }
.flatpickr-day.nextMonthDay, .flatpickr-day.prevMonthDay { color: #cbd5e1 !important; }
.flatpickr-time {
    background: #f8faff;
    border-top: 1px solid #e9ecef !important;
    border-radius: 0 0 12px 12px;
    padding: 8px 0;
}
.flatpickr-time input {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #374151;
    font-size: 1.1rem;
    background: transparent;
    border: none;
}
.flatpickr-time input:focus {
    background: #ede9fe;
    color: #4f46e5;
    border-radius: 8px;
}
.flatpickr-time .flatpickr-time-separator { color: #6366f1; font-weight: 700; }

/* Ödeme modalı: native/flatpickr karışmasına karşı okunaklı form */
#paymentModal .form-control,
#paymentModal .input-group-text {
    color: #212529;
}
#paymentModal .form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* Flatpickr: modal içi tarih alanı (gizli + altInput) okunaklı */
#paymentModal input.form-control.fp-date,
#paymentModal input.form-control.flatpickr-input {
    background-color: #fff !important;
    color: #212529 !important;
    border-color: var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08)) !important;
}

/* Modal açıkken takvim üstte (Bootstrap modal ~1055) */
body.modal-open .flatpickr-calendar.open {
    z-index: 1070 !important;
}

input.fp-date, input.fp-datetime {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%236366f1' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px !important;
}
@media (max-width: 576px) {
    .flatpickr-calendar {
        width: calc(100vw - 24px) !important;
        max-width: 340px !important;
        border-radius: 14px !important;
    }
    .flatpickr-day {
        height: 38px !important;
        line-height: 38px !important;
        font-size: 0.9rem !important;
    }
}

/* Geri bildirim modal - yıldız rating */
.swal-rating-container { display: flex; justify-content: center; gap: 10px; margin: 20px 0; direction: rtl; }
.swal-rating-container input { display: none; }
.swal-rating-container label { font-size: 2.5rem; color: #ddd; cursor: pointer; transition: color 0.2s; }
.swal-rating-container label:hover,
.swal-rating-container label:hover ~ label,
.swal-rating-container input:checked ~ label { color: #f59e0b; }