/* ==========================================================
   NiÄŸde Fen Lisesi Kantini & YemekÃ§ilik - Style Sheet
   Modern White & Blue (Beyaz & Mavi) Commercial Catering Theme
========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Poppins:wght@400;600;700;800&display=swap');

:root {
    --primary-color: #1e3a8a;       /* Deep Navy / Royal Blue */
    --primary-dark: #0f172a;        /* Midnight Slate */
    --primary-light: #2563eb;       /* Royal Blue */
    --secondary-color: #0284c7;     /* Sky / Azure Blue */
    --secondary-dark: #0369a1;
    --secondary-light: #38bdf8;
    --accent-color: #2563eb;
    --accent-gradient: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%);
    --btn-gradient: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
    
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    --bg-light: #f8fafc;            /* Crisp soft slate-white */
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    --text-dark: #0f172a;           /* Slate Dark */
    --text-main: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    --font-heading: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================
   Header & Navigation
========================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    color: #ffffff;
    z-index: 1100;
    box-shadow: 0 2px 15px rgba(15, 23, 42, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.brand-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-item:hover, .nav-item.active {
    background-color: rgba(37, 99, 235, 0.2);
    color: #38bdf8;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header-login {
    background: var(--btn-gradient);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.25s ease;
}

.btn-header-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
    color: #ffffff;
}

.btn-header-login.btn-active {
    outline: 2px solid #38bdf8;
    outline-offset: 1px;
}

/* User Dropdown Menu */
.user-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.user-dropdown-toggle {
    background: #1e3a8a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.user-dropdown-toggle:hover,
.user-dropdown-toggle.active,
.user-dropdown-wrap.open .user-dropdown-toggle {
    background: #2563eb;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.user-avatar-mini {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.user-name-text {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.25s ease;
    color: rgba(255, 255, 255, 0.7);
}

.user-dropdown-wrap.open .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1200;
}

.user-dropdown-wrap.open .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 10px 16px 8px;
}

.user-info-name {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    line-height: 1.3;
}

.user-info-role {
    margin-top: 4px;
}

.badge-role-admin {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    background: #dcfce7;
    color: #15803d;
}

.badge-role-student {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    background: #e0f2fe;
    color: #0369a1;
}

.dropdown-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 6px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}

.dropdown-item i {
    width: 18px;
    font-size: 14px;
    color: #64748b;
    text-align: center;
    transition: color 0.15s;
}

.dropdown-item:hover {
    background-color: #f8fafc;
    color: #1e3a8a;
}

.dropdown-item:hover i {
    color: #2563eb;
}

.dropdown-item.active {
    background-color: #eff6ff;
    color: #2563eb;
    font-weight: 700;
}

.dropdown-item.active i {
    color: #2563eb;
}

.dropdown-item-admin {
    color: #15803d;
}

.dropdown-item-admin i {
    color: #16a34a;
}

.dropdown-item-admin:hover {
    background-color: #f0fdf4;
    color: #166534;
}

.dropdown-item-logout {
    color: #dc2626;
}

.dropdown-item-logout i {
    color: #dc2626;
}

.dropdown-item-logout:hover {
    background-color: #fef2f2;
    color: #991b1b;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================================
   Hero Slider
========================================================== */
.hero-slider-section {
    margin-top: 75px;
    position: relative;
    background: #0f172a;
}

.slider-slide {
    min-height: 540px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.90) 0%, rgba(30, 58, 138, 0.70) 55%, rgba(15, 23, 42, 0.45) 100%);
}

.slider-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    color: #ffffff;
}

.slider-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 0.1em solid white;
    max-width: 0;
}

.swiper-slide-active .slider-title {
    animation: typing 2.5s steps(40, end) forwards, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { max-width: 0; }
    to { max-width: 100%; }
}
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: white; }
}

.slider-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    max-width: 680px;
    line-height: 1.7;
    color: #e2e8f0;
    margin-bottom: 28px;
}

.btn-hero-cta {
    background: var(--btn-gradient);
    color: #ffffff;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
    transition: all 0.3s ease;
}

.btn-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.5);
    color: #ffffff;
}

/* ==========================================================
   Modern Typography Section Headers (No Images, Pure Font!)
========================================================== */
.section-wrapper {
    padding: 80px 0;
}

.section-wrapper.bg-white {
    background-color: #ffffff;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.section-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
    border: 1px solid #bfdbfe;
}

.section-main-heading {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-heading-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1d4ed8, #38bdf8);
    border-radius: 2px;
    margin: 0 auto 16px;
}

.section-sub-heading {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================
   About Us (HakkÄ±mÄ±zda)
========================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    border: 4px solid #ffffff;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.about-subtitle {
    font-size: 1.15rem;
    color: var(--primary-light);
    font-weight: 700;
    margin-bottom: 20px;
}

.about-description {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 26px;
    line-height: 1.7;
}

.about-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.about-feature-icon {
    color: #2563eb;
    background: #eff6ff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ==========================================================
   Services (Hizmetlerimiz)
========================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: #ffffff;
    padding: 38px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.15);
    border-color: #93c5fd;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 12px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================
   References (Okullar Carousel)
========================================================== */
.school-reference-card {
    background: #ffffff;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 100px;
    transition: all 0.25s;
}

.school-reference-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.school-icon {
    font-size: 32px;
    color: #0284c7;
}

.school-name {
    font-size: 0.96rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
}

/* ==========================================================
   Menu Tabs & Food Items
========================================================== */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.menu-tab-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-tab-btn:hover, .menu-tab-btn.active {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.food-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.food-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #bfdbfe;
}

.food-image {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 3px solid #eff6ff;
    display: block;
}

.food-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

/* ==========================================================
   Gallery Grid
========================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 240px;
    border: 3px solid #ffffff;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* ==========================================================
   Contact Form
========================================================== */
.contact-form-container {
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
    padding: 45px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-full {
    grid-column: span 2;
}

.form-control-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #ffffff;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-submit {
    background: var(--btn-gradient);
    color: #ffffff;
    padding: 14px 34px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.25s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* ==========================================================
   Footer (Midnight Navy & Blue)
========================================================== */
.site-footer {
    background-color: #0b132b;
    color: #94a3b8;
    padding: 70px 0 25px;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
    font-weight: 700;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 3px;
    background: #38bdf8;
    border-radius: 2px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.94rem;
}

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 25px;
    text-align: center;
    font-size: 0.88rem;
    color: #64748b;
}

/* ==========================================================
   Floating Action Buttons
========================================================== */
.fab-subscription {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.fab-subscription:hover {
    transform: translateY(-4px) scale(1.05);
}

.fab-sub-circle-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
    border: 3px solid #ffffff;
    transition: background 0.3s, box-shadow 0.3s;
    animation: fabSubPulse 2.5s infinite;
}

.fab-subscription:hover .fab-sub-circle-icon {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.65);
}

.fab-sub-circle-label {
    margin-top: 6px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
    border: 1.5px solid #ffffff;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-align: center;
}

@keyframes fabSubPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

@media (max-width: 480px) {
    .fab-subscription {
        bottom: 20px;
        left: 15px;
    }
    .fab-sub-circle-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
    .fab-sub-circle-label {
        font-size: 10px;
        padding: 3px 8px;
    }
}

.fab-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #ffffff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}

.fab-whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
    color: #ffffff;
}

/* ==========================================================
   Responsive Breakpoints
========================================================== */
@media (max-width: 992px) {
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: auto;
    }
    .header-container {
        height: 70px;
        position: relative;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0f172a;
        flex-direction: column;
        align-items: stretch;
        padding: 14px 18px 20px;
        gap: 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.7);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .nav-links.mobile-open {
        display: flex;
        animation: navSlideDown 0.25s ease-out forwards;
    }
    .nav-item {
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 8px;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        font-size: 20px;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .mobile-menu-btn:hover,
    .mobile-menu-btn.active {
        background: rgba(255, 255, 255, 0.18);
        color: #38bdf8;
    }
    .about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .form-group-full { grid-column: span 1; }
    .slider-title { font-size: 2.1rem; }
    .slider-subtitle { font-size: 1rem; }
    .section-main-heading { font-size: 1.8rem; }
}

@media (max-width: 540px) {
    .header-container {
        padding: 0 12px;
        height: 64px;
    }
    .site-header {
        height: auto;
    }
    .brand-logo img {
        height: 38px;
    }
    .header-actions {
        gap: 8px;
    }
    .btn-header-login {
        padding: 0 12px;
        gap: 0;
        height: 38px;
        justify-content: center;
    }
    .btn-header-login i {
        font-size: 16px;
    }
    .btn-header-login span {
        display: none;
    }
    .user-dropdown-toggle {
        padding: 0 10px;
        gap: 0;
        height: 38px;
        justify-content: center;
    }
    .user-name-text {
        display: none;
    }
    .dropdown-arrow {
        margin-left: 4px;
    }
    .user-dropdown-menu {
        right: -6px;
        min-width: 210px;
    }
    .mobile-menu-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

/* ==========================================================
   Home School Meal Calendar Section (Modern Redesign)
========================================================== */
.home-cal-section {
    background-color: #f8fafc;
    background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    padding: 70px 15px 85px;
    position: relative;
}
.home-cal-container {
    max-width: 1200px;
    margin: 0 auto;
}
.home-cal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

/* Modern School Select Box */
.home-school-select-box {
    position: relative;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 6px 14px;
    min-width: 320px;
    max-width: 480px;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-school-select-box:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.12), 0 2px 6px -1px rgba(37, 99, 235, 0.06);
}
.home-school-select-box:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), 0 8px 20px -4px rgba(37, 99, 235, 0.12);
}
.home-school-select-label {
    position: absolute;
    top: -11px;
    left: 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #1d4ed8;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
}
.home-school-select-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}
.home-school-select-icon {
    color: #3b82f6;
    font-size: 16px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    flex-shrink: 0;
}
.home-school-select-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    padding: 7px 28px 7px 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: inherit;
}
.home-school-select-input option {
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
}
.home-school-select-chevron {
    position: absolute;
    right: 0;
    color: #64748b;
    font-size: 13px;
    pointer-events: none;
    transition: transform 0.25s ease, color 0.25s ease;
    display: flex;
    align-items: center;
}
.home-school-select-box:focus-within .home-school-select-chevron {
    transform: rotate(180deg);
    color: #2563eb;
}

/* Month Pill Badge */
.home-month-pill-badge {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 13.5px;
    padding: 10px 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Calendar Container Frame */
.home-cal-frame {
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 30px 40px;
    background: #ffffff;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
}
.home-cal-header-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}
.home-cal-school-icon-badge {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border: 1px solid #bfdbfe;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.08);
}
.home-cal-header-text {
    flex-grow: 1;
}
.home-cal-school-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #0f172a;
    margin: 0 0 4px;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.home-cal-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Meals Grid */
.home-meals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 20px;
}
@media (max-width: 640px) {
    .home-meals-grid {
        grid-template-columns: 1fr;
    }
    .home-cal-frame {
        padding: 22px 16px 30px;
    }
    .home-cal-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .home-school-select-box {
        min-width: 100%;
    }
}

/* Modern Meal Card */
.home-meal-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-meal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.12), 0 4px 8px -2px rgba(37, 99, 235, 0.06);
    border-color: #93c5fd;
}
.home-meal-card-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.meal-date-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.meal-date-text {
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
}
.meal-day-pill {
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Meal Body & Itemized List */
.home-meal-card-body {
    padding: 14px 12px;
    background: #fafbfc;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.home-meal-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.home-meal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #edf2f7;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.home-meal-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
    transform: translateX(2px);
}
.meal-item-bullet {
    color: #3b82f6;
    font-size: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.meal-item-text {
    flex-grow: 1;
    line-height: 1.4;
    word-break: break-word;
}

/* CTA Wrap */
.home-cal-cta-wrap {
    margin-top: 35px;
    text-align: center;
}

/* Modern Empty State */
.home-empty-cal-state {
    text-align: center;
    padding: 55px 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1.5px dashed #cbd5e1;
    margin: 10px 0;
}
.home-empty-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #eff6ff;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}
.home-empty-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.home-empty-desc {
    font-size: 14.5px;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================
   Auth Pages (Login & Register)
========================================================== */
.auth-page-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 20px 70px;
    position: relative;
}
.auth-bg-fixed {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.85);
}
.auth-bg-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.72) 0%, rgba(30, 58, 138, 0.65) 100%);
    backdrop-filter: blur(2px);
    z-index: -1;
}
.auth-card {
    background: rgba(255, 255, 255, 0.98);
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    padding: 42px 34px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-align: center;
    position: relative;
    z-index: 1;
}
.auth-card-register {
    max-width: 560px;
    padding: 38px 30px;
}
.auth-avatar-circle {
    width: 54px;
    height: 54px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(18, 48, 59, 0.3);
}
.auth-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}
.auth-input-group {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #718096;
    font-size: 16px;
}
.register-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    text-align: left;
}
.grid-full {
    grid-column: span 2;
}
.terms-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 13px;
    color: #4a5568;
}
.terms-checkbox-wrap a {
    color: var(--secondary-color);
    text-decoration: underline;
    cursor: pointer;
}
.btn-auth-submit {
    width: 100%;
    background: var(--primary-color);
    color: #ffffff;
    padding: 14px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s, transform 0.2s;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(18, 48, 59, 0.2);
}
.btn-auth-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}
.auth-bottom-link {
    margin-top: 20px;
    font-size: 14px;
    color: #4a5568;
}
.auth-bottom-link a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .register-form-grid { grid-template-columns: 1fr; }
    .grid-full { grid-column: span 1; }
}

/* ==========================================================
   Profile Page (Profilim)
========================================================== */
.profile-page-wrapper {
    background-color: #f1f5f9;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
    min-height: calc(100vh - 120px);
    padding: 110px 20px 70px;
}
.profile-main-container {
    max-width: 760px;
    margin: 0 auto;
}
.profile-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
}
.profile-card-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
}
.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-col-full {
    grid-column: span 2;
}
.form-group-custom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}
.form-group-custom label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}
.form-input-custom {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    background-color: #ffffff;
    color: #0f172a;
    transition: all 0.2s;
    outline: none;
}
.form-input-custom:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.btn-profile-submit {
    background: #1e3a8a;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-profile-submit:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}
.profile-notice-box {
    background-color: #eff6ff;
    border-left: 4px solid #2563eb;
    padding: 15px 18px;
    border-radius: 6px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #1e3a8a;
    margin-bottom: 25px;
    font-weight: 500;
}
.pw-toggle-btn {
    position: absolute;
    right: 12px;
    top: 35px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748b;
    font-size: 15px;
}
@media (max-width: 650px) {
    .profile-form-grid { grid-template-columns: 1fr; }
    .form-col-full { grid-column: span 1; }
}

/* ==========================================================
   Subscription & Payment Page (Yemek AboneliÄŸi & Ã–deme)
========================================================== */
.sub-page-wrapper {
    background-color: #d6ccbe;
    background-image: radial-gradient(rgba(0,0,0,0.06) 1px, transparent 1px);
    background-size: 20px 20px;
    min-height: calc(100vh - 120px);
    padding: 105px 15px 70px;
}
.sub-main-container {
    max-width: 1050px;
    margin: 0 auto;
}
.sub-page-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: #1e3a8a;
    font-weight: 800;
    margin-bottom: 22px;
    text-align: left;
}
.step-tabs-bar {
    display: flex;
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 3px solid #2563eb;
}
.step-tab-item {
    flex: 1;
    padding: 16px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    border: none;
    background: #f8fafc;
    color: #64748b;
}
.step-tab-item.active {
    background: #ffffff;
    color: #1e3a8a;
    font-weight: 700;
}
.step-tab-title {
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: block;
}
.step-tab-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
}
.step-tab-item.active .step-tab-subtitle {
    color: #2563eb;
}
.step-content-box {
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    padding: 35px 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}
.sub-step1-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 25px;
    align-items: start;
}
.sub-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.col-full {
    grid-column: span 2;
}
.sub-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sub-field-group label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}
.sub-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14.5px;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    transition: all 0.2s;
}
.sub-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.sub-input:disabled {
    background: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
    border-color: #e2e8f0;
}
.pricing-card-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.pricing-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 16px;
    border-bottom: 1.5px dashed #cbd5e1;
    padding-bottom: 10px;
}
.pricing-row {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    color: #334155;
    margin-bottom: 10px;
    font-weight: 500;
}
.pricing-row.total-row {
    font-size: 16px;
    font-weight: 800;
    color: #1e3a8a;
    border-top: 1.5px dashed #cbd5e1;
    padding-top: 12px;
    margin-top: 12px;
}
.btn-proceed-submit {
    width: 100%;
    background: #1e3a8a;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin-top: 18px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-proceed-submit:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}
.cal-service-dates-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}
.cal-section-heading {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 22px;
    text-align: center;
}
.cal-month-badge {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 15px;
}
.cal-table-wrap {
    max-width: 620px;
    margin: 0 auto;
    overflow-x: auto;
}
.cal-days-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 8px;
    text-align: center;
}
.cal-days-table th {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    padding-bottom: 8px;
}
.cal-day-cell {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14.5px;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s;
}
.cal-day-service {
    border: 2px solid #3b82f6 !important;
    background-color: #dbeafe !important;
    color: #1e3a8a !important;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(59, 130, 246, 0.25);
}
.afiyet-olsun-banner {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 900;
    color: #1e3a8a;
    margin-top: 35px;
    letter-spacing: 0.5px;
}
.sub-status-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    padding: 55px 35px;
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
}
.status-icon-pending {
    font-size: 65px;
    color: #d97706;
    margin-bottom: 18px;
}
.status-icon-success {
    font-size: 68px;
    color: #22c55e;
    margin-bottom: 18px;
}
.status-icon-rejected {
    font-size: 68px;
    color: #dc2626;
    margin-bottom: 18px;
}
.sub-status-heading {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}
.sub-status-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
    max-width: 460px;
    margin: 0 auto 24px;
}
.iban-details-box {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.iban-text {
    font-size: clamp(12px, 3.4vw, 15px);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.iban-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e3a8a;
}
.btn-status-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e3a8a;
    color: #ffffff;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-status-action:hover {
    background: #1d4ed8;
    color: #ffffff;
}
@media (max-width: 860px) {
    .sub-step1-grid { grid-template-columns: 1fr; }
    .col-full { grid-column: span 1; }
    .sub-form-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   Agreement Page (SÃ¶zleÅŸme SayfasÄ±)
========================================================== */
.agreement-container {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}
.agreement-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.agreement-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
    font-family: var(--font-heading);
}
.agreement-meta {
    font-size: 13px;
    color: #64748b;
}
.agreement-body {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}
.agreement-body h1, .agreement-body h2, .agreement-body h3, .agreement-body h4 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 10px;
}
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 20px;
}
.btn-back:hover {
    text-decoration: underline;
}
.btn-print {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-print:hover {
    background: #e2e8f0;
}
@media (max-width: 480px) {
    .sub-status-card {
        padding: 30px 15px;
    }
    .iban-details-box {
        padding: 15px 10px;
    }
    .iban-text {
        font-size: clamp(11px, 3.2vw, 13px);
        letter-spacing: 0;
        white-space: nowrap;
    }
    .iban-name {
        font-size: 13px;
    }
    .iban-details-box div {
        font-size: 13px !important;
    }
    .iban-details-box strong {
        font-size: 14px !important;
    }
}

@media print {
    .site-header, .site-footer, .btn-back, .btn-print, .fab-subscription, .fab-whatsapp {
        display: none !important;
    }
    .agreement-container {
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
    }
}

/* ==========================================================
   Password Reset Page (reset-password.php)
========================================================== */
.reset-code-input {
    text-align: center;
    letter-spacing: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    height: 52px;
}
.step-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: #eef2ff;
    color: #4f46e5;
    margin-bottom: 12px;
}
.btn-link-action {
    background: none;
    border: none;
    color: #2563eb;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    font-size: 13.5px;
    text-decoration: underline;
    transition: color 0.2s;
}
.btn-link-action:hover {
    color: #1d4ed8;
}
.btn-link-action:disabled {
    color: #94a3b8;
    cursor: not-allowed;
    text-decoration: none;
}
.resend-box {
    text-align: center;
    margin-top: 20px;
    font-size: 0.88rem;
    color: #64748b;
}
.back-link-btn {
    background: none;
    border: none;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}
.back-link-btn:hover {
    color: #0f172a;
}

/* ==========================================================
   Subscription Page - Student Select (subscription.php)
========================================================== */
.student-select-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 25px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}
.student-select-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}
.student-select-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.student-select-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 3px;
}
.btn-student-ops {
    background: #ffffff;
    color: #1e3a8a;
    border: 1.5px solid #2563eb;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}
.btn-student-ops:hover {
    background: #1e3a8a;
    color: #ffffff;
    border-color: #1e3a8a;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
    transform: translateY(-1px);
}
.student-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 14px;
}
.student-select-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: all 0.2s ease;
    position: relative;
}
.student-select-card:hover {
    border-color: #93c5fd;
    background: #f8fafc;
    transform: translateY(-2px);
}
.student-select-card.active {
    border-color: #1e3a8a;
    background: #eff6ff;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.12);
}
.student-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.student-card-radio {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 12px;
    background: #ffffff;
}
.student-select-card.active .student-card-radio {
    background: #1e3a8a;
    border-color: #1e3a8a;
}
.student-card-info {
    min-width: 0;
    flex: 1;
}
.student-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.student-select-card.active .student-card-name {
    color: #1e3a8a;
}
.student-card-meta {
    font-size: 0.82rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}
.step-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}
.step-info-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-manage-student {
    background: #ffffff;
    color: #1e40af;
    border: 1.5px solid #3b82f6;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 9px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
    cursor: pointer;
}
.btn-manage-student:hover {
    background: #1e40af;
    color: #ffffff !important;
    border-color: #1e40af;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
    transform: translateY(-1px);
}
.btn-manage-student i {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}
.btn-manage-student:hover i {
    transform: scale(1.1);
}

/* ==========================================================
   Students Management Page (students.php)
========================================================== */
.students-page-wrapper {
    background-color: #f1f5f9;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
    min-height: calc(100vh - 120px);
    padding: 110px 20px 70px;
}
.students-container {
    max-width: 1050px;
    margin: 0 auto;
}
.students-header-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.25);
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.students-header-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}
.students-header-title i {
    color: #93c5fd;
    margin-right: 10px;
}
.students-header-desc {
    color: #e0f2fe;
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}
.students-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.btn-header-primary {
    background: #ffffff;
    color: #1e3a8a;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.92rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-header-primary:hover {
    background: #f8fafc;
    color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.btn-header-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.92rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
    cursor: pointer;
}
.btn-header-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}
.btn-header-refresh {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}
.btn-header-refresh:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}
.student-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}
.student-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: #cbd5e1;
}
.student-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.student-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}
.student-meta-item {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.student-meta-item i {
    width: 16px;
    color: #94a3b8;
    font-size: 0.95rem;
}
.sub-badge-active {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.sub-badge-pending {
    background: #fef3c7;
    color: #b45309;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.sub-badge-none {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.student-actions-bar {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}
.btn-sub-action {
    background: #1e3a8a;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-sub-action:hover {
    background: #1d4ed8;
    color: #ffffff;
}
.empty-students-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 50px 20px;
    text-align: center;
    border: 2px dashed #cbd5e1;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
}

/* Students & Modals Responsive Media Queries */
@media (max-width: 768px) {
    .students-page-wrapper {
        padding: 95px 15px 50px;
    }
    .students-header-card {
        padding: 20px 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        border-radius: 12px;
    }
    .students-header-title {
        font-size: 1.25rem;
    }
    .students-header-desc {
        font-size: 0.88rem;
        line-height: 1.45;
    }
    .students-header-actions {
        display: flex;
        width: 100%;
        gap: 8px;
    }
    .btn-header-primary {
        flex: 1 1 100%;
        order: 1;
        justify-content: center;
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    .btn-header-secondary {
        flex: 1 1 auto;
        order: 2;
        justify-content: center;
        padding: 9px 12px;
        font-size: 0.88rem;
    }
    .btn-header-refresh {
        flex: 0 0 42px;
        order: 3;
    }
    .student-card {
        padding: 18px 16px;
    }
}

@media (max-width: 480px) {
    .students-page-wrapper {
        padding: 85px 12px 40px;
    }
    .student-actions-bar {
        justify-content: stretch;
    }
    .student-actions-bar .btn,
    .student-actions-bar .btn-sub-action {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
    .students-page-wrapper ~ .modal .modal-dialog,
    #studentModal .modal-dialog {
        margin: 12px;
    }
    .students-page-wrapper ~ .modal .modal-body,
    #studentModal .modal-body {
        padding: 18px !important;
    }
    .students-page-wrapper ~ .modal .modal-footer,
    #studentModal .modal-footer {
        padding: 12px 18px !important;
    }
}

/* ==========================================================
   Food Preloader (navbar.php)
========================================================== */
.food-preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: auto;
}

.food-preloader-overlay.preloader-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 90vw;
    width: 100%;
}

.preloader-icon-circle {
    width: 96px;
    height: 96px;
    border: 3.5px solid var(--primary-color, #1e3a8a);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    font-size: 3rem;
    color: var(--primary-color, #1e3a8a);
    background: #f8fafc;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.12);
    transition: transform 0.25s ease;
}

.preloader-text {
    font-size: clamp(1.15rem, 4.5vw, 1.7rem);
    font-weight: 800;
    color: var(--primary-color, #1e3a8a);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.35;
    max-width: 85vw;
    word-break: break-word;
    margin: 0;
}

.preloader-spinner {
    margin-top: 18px;
    width: 36px;
    height: 36px;
    border: 3.5px solid #e2e8f0;
    border-top: 3.5px solid var(--secondary-color, #f59e0b);
    border-radius: 50%;
    animation: preloaderSpin 0.9s linear infinite;
}

@keyframes preloaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 576px) {
    .food-preloader-overlay {
        padding: 16px;
    }
    .preloader-icon-circle {
        width: 76px;
        height: 76px;
        border-width: 3px;
        font-size: 2.25rem;
        margin-bottom: 14px;
        box-shadow: 0 3px 10px rgba(30, 58, 138, 0.1);
    }
    .preloader-text {
        font-size: 1.15rem;
        letter-spacing: 0.8px;
        max-width: 90vw;
    }
    .preloader-spinner {
        margin-top: 14px;
        width: 30px;
        height: 30px;
        border-width: 3px;
    }
}

@media (max-width: 360px) {
    .preloader-icon-circle {
        width: 66px;
        height: 66px;
        font-size: 1.9rem;
    }
    .preloader-text {
        font-size: 1.05rem;
        letter-spacing: 0.5px;
    }
    .preloader-spinner {
        width: 26px;
        height: 26px;
    }
}

/* ==========================================================
   Scroll To Top Button (footer.php)
========================================================== */
#scrollToTopBtn {
    position: fixed;
    bottom: 95px;
    right: 29px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: var(--primary-color, #1e3a8a);
    color: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s, visibility 0.3s, background-color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

#scrollToTopBtn:hover {
    background-color: var(--primary-dark, #1d4ed8);
    transform: translateY(-2px);
}






/* ==========================================================
   Cookie Consent Banner (KVKK & Cerez Bildirimi)
========================================================== */
.cookie-consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #ffffff;
    border-top: 2px solid var(--secondary-color, #0284c7);
    box-shadow: 0 -8px 25px rgba(15, 23, 42, 0.12);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    will-change: transform, opacity;
}

.cookie-consent-bar.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.cookie-consent-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.08) 0%, rgba(2, 132, 199, 0.15) 100%);
    color: var(--secondary-color, #0284c7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.cookie-consent-body {
    flex: 1;
}

.cookie-consent-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark, #0f172a);
    margin-bottom: 2px;
    font-family: var(--font-heading);
}

.cookie-consent-desc {
    font-size: 0.85rem;
    color: var(--text-main, #334155);
    margin: 0;
    line-height: 1.5;
    font-family: var(--font-body);
}

.cookie-policy-link {
    color: var(--secondary-color, #0284c7);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.cookie-policy-link:hover {
    color: var(--primary-color, #1e3a8a);
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--btn-gradient, linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%));
    color: #ffffff;
    border: none;
    outline: none;
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm, 8px);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    white-space: nowrap;
    font-family: var(--font-body);
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.38);
    filter: brightness(1.05);
}

.btn-cookie-accept:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px 16px;
    }
    
    .cookie-consent-content {
        align-items: flex-start;
        gap: 12px;
    }
    
    .cookie-consent-icon-box {
        width: 38px;
        height: 38px;
        font-size: 18px;
        border-radius: 10px;
    }
    
    .cookie-consent-actions {
        width: 100%;
    }
    
    .btn-cookie-accept {
        width: 100%;
        justify-content: center;
        padding: 11px 16px;
    }
}

/* ==========================================================
   Subscription Page - Modern Student Info Summary (No Inputs)
========================================================== */
.student-info-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 14px;
}
.info-pill-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.2s ease;
}
.info-pill-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.info-pill-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.info-pill-label i {
    color: var(--secondary-color, #0284c7);
}
.info-pill-value {
    font-size: 0.96rem;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
}
@media (max-width: 640px) {
    .student-info-summary-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ==========================================================
   Subscription Page - Premium Student Profile Badge Card
========================================================== */
.selected-student-profile-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--secondary-color, #0284c7);
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 12px;
    margin-bottom: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.selected-student-profile-card:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}
.selected-student-profile-card.updating {
    opacity: 0.5;
    transform: scale(0.99);
}
.ssp-left-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}
.ssp-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.ssp-main-info {
    flex: 1;
}
.ssp-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.ssp-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
    font-family: var(--font-heading);
}
.ssp-badge-school {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0f2fe;
    color: #0369a1;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}
.ssp-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ssp-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12.5px;
    color: #475569;
}
.ssp-chip i {
    color: var(--secondary-color, #0284c7);
}
.ssp-chip strong {
    color: #334155;
}
.ssp-manage-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.ssp-manage-btn:hover {
    background: #1e3a8a;
    color: #ffffff;
    border-color: #1e3a8a;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}
@media (max-width: 768px) {
    .selected-student-profile-card {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 14px;
    }
    .ssp-left-group {
        align-items: flex-start;
    }
    .ssp-avatar {
        width: 44px;
        height: 44px;
        font-size: 20px;
        border-radius: 10px;
    }
    .ssp-name {
        font-size: 1.05rem;
    }
    .ssp-manage-btn {
        width: 100%;
        justify-content: center;
    }
}
