/* ============================================
   FlowTedarix — Premium Tedarik Zinciri Platformu
   Kurumsal Tema v2 | Mobil-First | PWA Ready
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
    --white: #ffffff;
    --bg: #f0f4f8;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #1e293b;
    --text-muted: #475569;
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    /* Ana marka rengi: derin lacivert + turuncu aksan */
    --navy: #0f172a;
    --navy-mid: #1e3a5f;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --accent-light: #fed7aa;
    --accent-bg: #fff7ed;
    --accent-gradient: linear-gradient(135deg, #f97316 0%, #fb923c 100%);

    /* İkincil renk: güven mavi */
    --blue: #1d4ed8;
    --blue-light: #3b82f6;
    --blue-bg: #eff6ff;
    --blue-gradient: linear-gradient(135deg, #1e3a5f 0%, #1d4ed8 100%);

    /* Status Colors */
    --success: #059669;
    --success-bg: #ecfdf5;
    --warning: #d97706;
    --warning-bg: #fffbeb;
    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --info: #0284c7;
    --info-bg: #e0f2fe;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50%;

    /* Shadows — daha belirgin */
    --shadow-sm: 0 1px 4px rgba(15,23,42,0.06);
    --shadow-md: 0 4px 16px rgba(15,23,42,0.10);
    --shadow-lg: 0 8px 32px rgba(15,23,42,0.12);
    --shadow-xl: 0 16px 48px rgba(15,23,42,0.16);
    --shadow-accent: 0 4px 20px rgba(249,115,22,0.30);
    --shadow-blue: 0 4px 20px rgba(29,78,216,0.25);

    /* Transitions */
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- No Scrollbar Utility --- */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* --- Form / Input Global Reset (mobilde native gozukmemesi icin) --- */
input,
textarea,
select,
button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    border-radius: 0;
    border: none;
    outline: none;
    background: none;
    color: inherit;
    box-sizing: border-box;
}

button {
    cursor: pointer;
}

/* Global table overflow fix */
table {
    width: 100%;
    border-collapse: collapse;
}

td,
th {
    word-break: break-word;
}

/* Global image safe */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent horizontal overflow on all elements */
* {
    max-width: 100%;
}

img,
video,
canvas,
svg {
    max-width: 100% !important;
}

/* ==========================
   HEADER / TOP BAR
   ========================== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--navy);
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-lg);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.topbar-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.topbar-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
}

.topbar-logo .flow {
    color: var(--accent);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.topbar-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.topbar-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Login btn */
.topbar-btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--accent-gradient);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(249,115,22,0.4);
    flex-shrink: 0;
}

.topbar-btn-login:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(249,115,22,0.5);
}

/* ─── MOBİL: küçük ekranda topbar sıkışmasın ─── */
@media (max-width: 400px) {
    .topbar {
        padding: 0 12px;
    }

    .topbar-logo span {
        display: none;
        /* "FlowTedarix" yazısı gizlenir, ikon kalır */
    }

    .topbar-btn-login span,
    .topbar-btn-login .fa-sign-in-alt+span {
        display: none;
        /* "Giris Yap" yazısı gizlenir, ikon kalır */
    }

    .topbar-btn-login {
        padding: 7px 10px;
        gap: 0;
    }
}

/* ─── PWA Install Banner (mobile için) ─── */
#pwaInstallBanner {
    position: fixed;
    bottom: 80px;
    /* bottom-nav üzerinde */
    left: 12px;
    right: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9000;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
    animation: slideInUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#pwaInstallBanner .pwa-banner-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

#pwaInstallBanner .pwa-banner-text {
    flex: 1;
}

#pwaInstallBanner .pwa-banner-title {
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 2px;
}

#pwaInstallBanner .pwa-banner-sub {
    font-size: 0.72rem;
    opacity: 0.85;
}

#pwaInstallBanner .pwa-banner-btn {
    background: #fff;
    color: #6366f1;
    border: none;
    border-radius: 10px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    flex-shrink: 0;
}

#pwaInstallBanner .pwa-banner-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* User dropdown */
.user-menu-wrap {
    position: relative;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 200px;
    box-shadow: var(--shadow-xl);
    z-index: 2000;
}

.user-dropdown.open {
    display: block;
    animation: fadeInUp 0.2s ease;
}

.user-dropdown-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    padding: 4px 8px 2px;
}

.user-dropdown-role {
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 600;
    padding: 0 8px 6px;
}

.user-dropdown-divider {
    border-top: 1px solid var(--border);
    margin: 4px 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.user-dropdown-item:hover {
    background: var(--accent-bg);
    color: var(--accent);
}

.user-dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--text-muted);
}

.user-dropdown-item:hover i {
    color: var(--accent);
}

.text-danger {
    color: var(--danger) !important;
}

.text-danger:hover {
    background: var(--danger-bg) !important;
    color: var(--danger) !important;
}

.text-danger i {
    color: var(--danger) !important;
}

/* ==========================
   MAIN CONTENT AREA
   ========================== */
.main-content {
    margin-top: 60px;
    margin-bottom: 72px;
    padding: var(--space-md);
    max-width: 100%;
    overflow-x: hidden;
    animation: fadeInUp 0.3s ease;
}

/* ==========================
   HERO SECTION
   ========================== */
.hero {
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    color: var(--white);
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.18);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: var(--space-md);
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.3px;
}

.hero p {
    font-size: 0.88rem;
    opacity: 0.9;
    line-height: 1.5;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
}

.hero-stat-label {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================
   SECTION HEADERS
   ========================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.section-link {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.section-link:hover {
    color: var(--accent-light);
}

/* ==========================
   CATEGORY CHIPS (Horizontal scroll)
   ========================== */
.category-chips {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-xl);
    -webkit-overflow-scrolling: touch;
}

.category-chip {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
}

.category-chip:hover,
.category-chip.active {
    border-color: var(--accent);
    background: var(--accent-bg);
    color: var(--accent);
}

.category-chip .chip-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--white);
}

.category-chip .chip-count {
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ==========================
   SPONSOR CARDS
   ========================== */
.sponsor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.sponsor-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.sponsor-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.sponsor-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.sponsor-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
    overflow: hidden;
}

.sponsor-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sponsor-info {
    flex: 1;
    min-width: 0;
}

.sponsor-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sponsor-category-tag {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.sponsor-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.sponsor-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sponsor-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--warning);
}

.sponsor-rating i {
    font-size: 0.7rem;
}

.sponsor-city {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.sponsor-discount {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: var(--success);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
}

.premium-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--accent-gradient);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ==========================
   BUTTONS
   ========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--white);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-bg);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.78rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 0.9rem;
}

/* ==========================
   QUICK ACTIONS ROW
   ========================== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: var(--space-md) var(--space-sm);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.quick-action:hover {
    border-color: var(--accent);
    background: var(--accent-bg);
}

.quick-action-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.quick-action-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.3;
}

/* ==========================
   BOTTOM NAV (PWA)
   ========================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: var(--white);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 var(--space-sm);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-muted);
    -webkit-tap-highlight-color: transparent;
}

.nav-item.active {
    color: var(--accent);
}

.nav-item:hover {
    color: var(--accent);
}

.nav-item i {
    font-size: 1.15rem;
}

.nav-item span {
    font-size: 0.62rem;
    font-weight: 600;
}

.nav-item-center {
    margin-top: -20px;
}

.nav-item-center .nav-center-btn {
    width: 52px;
    height: 52px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: var(--shadow-accent);
    transition: var(--transition);
}

.nav-item-center:hover .nav-center-btn {
    transform: scale(1.08);
}

/* ==========================
   FORMS
   ========================== */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--accent-bg);
}

.form-input::placeholder {
    color: var(--text-muted);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* ==========================
   TOAST NOTIFICATION
   ========================== */
.toast-container {
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    pointer-events: none;
    width: calc(100% - 32px);
    max-width: 400px;
}

.toast {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    pointer-events: auto;
    animation: toastIn 0.35s ease forwards;
    box-shadow: var(--shadow-lg);
}

.toast.success {
    background: var(--success);
    color: var(--white);
}

.toast.error {
    background: var(--danger);
    color: var(--white);
}

.toast.warning {
    background: var(--warning);
    color: var(--white);
}

.toast.info {
    background: var(--info);
    color: var(--white);
}

.toast.hide {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* ==========================
   SPONSOR DETAIL PAGE
   ========================== */
.detail-header {
    text-align: center;
    padding: var(--space-xl) 0;
}

.detail-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 auto var(--space-md);
    overflow: hidden;
}

.detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: var(--space-xs);
}

.detail-category {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 600;
}

.detail-section {
    margin-bottom: var(--space-lg);
}

.detail-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.detail-section-title i {
    color: var(--accent);
}

.detail-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.info-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
}

.info-row i {
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.info-row-label {
    color: var(--text-muted);
    min-width: 80px;
}

.info-row-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* ==========================
   REQUEST TIMELINE
   ========================== */
.timeline {
    position: relative;
    padding-left: var(--space-xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-xl) + 5px);
    top: var(--space-md);
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--accent);
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.timeline-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}

.status-new {
    background: var(--info-bg);
    color: var(--info);
}

.status-pending {
    background: var(--warning-bg);
    color: var(--warning);
}

.status-sent {
    background: var(--accent-bg);
    color: var(--accent);
}

.status-accepted {
    background: var(--success-bg);
    color: var(--success);
}

.status-rejected {
    background: var(--danger-bg);
    color: var(--danger);
}

/* ==========================
   EMPTY STATE
   ========================== */
.empty-state {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
}

.empty-state-icon {
    font-size: 3rem;
    color: var(--border);
    margin-bottom: var(--space-md);
}

.empty-state-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.empty-state-text {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================
   SEARCH BAR
   ========================== */
.search-bar {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: var(--space-lg);
    transition: var(--transition-fast);
}

.search-bar:focus-within {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--accent-bg);
}

.search-bar i {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-primary);
    outline: none;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

/* ==========================
   ABOUT / CONTACT PAGES
   ========================== */
.page-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.page-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.page-card-title i {
    color: var(--accent);
}

.page-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================
   FEATURE LIST
   ========================== */
.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
}

.feature-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================
   RESPONSIVE — Tablet & Desktop
   ========================== */
@media (min-width: 768px) {
    .main-content {
        max-width: 100%;
        padding: var(--space-lg) var(--space-xl);
    }

    .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: var(--space-2xl) var(--space-xl);
        min-height: 240px;
    }

    .quick-action-icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .quick-action-label {
        font-size: 0.78rem;
    }
}

@media (min-width: 1024px) {
    .main-content {
        max-width: 100%;
        padding: var(--space-lg) var(--space-2xl);
    }

    .bottom-nav {
        display: none;
    }

    .main-content {
        margin-bottom: var(--space-xl);
    }

    .topbar-actions .desktop-nav {
        display: flex;
    }

    .sponsor-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        border-radius: 0;
        margin: 0 calc(-1 * var(--space-2xl));
        padding: var(--space-2xl) var(--space-2xl);
    }

    .hero h1 {
        font-size: 2.4rem;
    }
}

/* ==========================
   ANIMATIONS
   ========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.4s ease forwards;
}

.animate-delay-1 {
    animation-delay: 0.05s;
}

.animate-delay-2 {
    animation-delay: 0.1s;
}

.animate-delay-3 {
    animation-delay: 0.15s;
}

.animate-delay-4 {
    animation-delay: 0.2s;
}

/* ==========================
   PWA & Safe Areas
   ========================== */
@supports (padding: env(safe-area-inset-bottom)) {
    .bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .main-content {
        margin-bottom: calc(72px + env(safe-area-inset-bottom));
    }
}

/* Standalone PWA mode */
@media (display-mode: standalone) {
    .topbar {
        padding-top: env(safe-area-inset-top);
        height: calc(60px + env(safe-area-inset-top));
    }

    .main-content {
        margin-top: calc(60px + env(safe-area-inset-top));
    }
}

/* -- ITIBAT ROZETLERi -- */
.rep-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .03em;
    margin-top: 6px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    color: #059669;
    font-size: .75rem;
}