:root {
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-header: rgba(255, 255, 255, 0.85);
    --white: #FFFFFF;
    --brand-primary: #09a2c3;
    --brand-accent: #00A8C5;
    --brand-soft: rgba(9, 162, 195, 0.08);
    --brand-grad: #09a2c3;
    --text-dark: #0F172A;
    --text-gray: #475569;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -5px rgba(9, 162, 195, 0.15), 0 8px 10px -6px rgba(9, 162, 195, 0.1);
    --radius-md: 10px;
    --radius-lg: 16px;
}

[data-theme="dark"] {
    --bg-body: #1c253b;
    --bg-card: #28334e;
    --bg-header: rgba(28, 37, 59, 0.85);
    --white: #28334e;
    --text-dark: #f9fafb;
    --text-gray: #9ca3af;
    --border: #3d4a6b;
    --brand-soft: rgba(9, 162, 195, 0.15);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.site-header {
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-toggle {
    display: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo img {
    transition: all 0.2s ease;
}

[data-theme="dark"] .logo img {
    filter: brightness(0) invert(1);
}

.logo:hover img {
    opacity: 0.8;
}

@media (max-width: 480px) {
    .logo img {
        height: 35px !important;
    }
}

.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
    padding: 6px 4px;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--brand-primary);
}

/* Mobile Side Drawer Style */
@media (max-width: 991px) {
    .header-toggle {
        display: block !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid rgba(0,0,0,0.03);
        font-size: 16px;
        color: var(--text-dark);
    }

    .nav-menu .nav-close-wrapper {
        display: flex !important;
    }

    .nav-divider {
        display: none !important;
    }

    /* Hide redundant elements in mobile menu */
    .hide-mobile {
        display: none !important;
    }
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

.btn, .btn-outline {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn {
    background-color: var(--brand-primary);
    color: var(--white) !important;
    box-shadow: 0 4px 10px rgba(9, 162, 195, 0.2);
}

.btn:hover {
    background-color: #0891ae; /* Slightly darker teal shift */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(9, 162, 195, 0.3);
}

.btn-outline {
    background-color: var(--white);
    color: var(--brand-primary) !important;
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

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

.user-badge {
    background-color: var(--white);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease;
}

.user-badge:hover {
    border-color: var(--brand-accent);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: var(--white);
    border: 1px solid var(--border);
    list-style: none;
    padding: 10px;
    border-radius: 6px;
    min-width: 180px;
    z-index: 100;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.user-badge.active .dropdown-menu {
    display: block;
}

@media (max-width: 991px) {
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        padding-left: 0;
    }
}

.balance {
    background: var(--bg-body);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--brand-primary);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 600;
    font-size: 12px;
    border: 1px solid var(--border);
}

/* MAIN WRAPPER */
main {
    flex: 1;
    padding: 30px 0;
}
/* GLOSSARY TOOLTIP */
.glossary-term {
    color: var(--brand-primary);
    font-weight: 700;
    border-bottom: 2px dotted var(--brand-accent);
    cursor: help;
    position: relative;
    display: inline-block;
    transition: all 0.2s ease;
}

.glossary-term:hover {
    color: var(--brand-accent);
    background: var(--brand-soft);
}

.glossary-term::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #1e293b;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    width: 250px;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    pointer-events: none;
}

/* Logo Theme Inversion */
[data-theme="dark"] .theme-logo,
[data-theme="dark"] .theme-logo-ajans {
    filter: brightness(0) invert(1);
    opacity: 0.8 !important;
}

/* Tooltip Arrow */
.glossary-term::before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 9999;
}

.glossary-term:hover::after,
.glossary-term:hover::before {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .glossary-term::after {
        width: 200px;
        left: 0;
        transform: translateY(10px);
    }
    .glossary-term:hover::after {
        transform: translateY(0);
    }
}

/* CITY LINKS */
.city-link {
    color: var(--brand-accent);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.city-link:hover {
    border-bottom-color: var(--brand-accent);
    background: var(--brand-soft);
    color: var(--brand-primary);
}

/* MODERN DETAY LAYOUT */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 25px;
}
.breadcrumb a {
    color: var(--brand-accent);
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb span {
    color: #CBD5E1;
}

.detay-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.mini-bulten {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.mini-bulten:hover { opacity: 0.8; }
.mini-bulten img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border);
}
.mini-bulten-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    margin-right: 8px;
    transition: transform 0.2s;
}
.share-btn:hover { transform: scale(1.1); }
.share-wa { background: #25D366; }
.share-tw { background: #1DA1F2; }
.share-ln { background: #0A66C2; }

@media (max-width: 1024px) {
    .detay-grid {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 28px !important;
    }
    article {
        padding: 25px !important;
        font-size: 16px !important;
    }
}

/* MOBILE MENU STYLES */
.header-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--brand-primary);
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

@media (max-width: 991px) {
    .header-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -110%;
        width: 300px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        align-items: flex-start !important;
        padding: 100px 40px 40px 40px;
        gap: 5px !important;
        box-shadow: -15px 0 40px rgba(0,0,0,0.15);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 10001;
        overflow-y: auto;
        visibility: hidden;
        display: flex !important;
    }

    .nav-menu.active {
        right: 0;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    .nav-menu li:last-child { border-bottom: none; }
    
    .nav-menu li a {
        padding: 15px 0;
        display: block;
        font-size: 16px;
        font-weight: 600;
        color: var(--brand-primary);
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-close {
        position: absolute;
        top: 25px;
        right: 25px;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: var(--bg-body);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--brand-primary);
        font-size: 20px;
        border: none;
        transition: all 0.2s;
        z-index: 10002;
    }
    .nav-close:hover { background: var(--border); transform: rotate(90deg); }

    .header-inner { display: flex; justify-content: space-between; align-items: center; }
}

/* NAVIGATION UTILITIES */
.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    padding: 8px 12px;
    border-radius: 6px;
}
.nav-link:hover {
    color: var(--brand-accent);
    background: var(--brand-soft);
}
.nav-link.active {
    color: var(--brand-accent) !important;
    font-weight: 700 !important;
}

/* DASHBOARD UTILITIES */
.dashboard-container {
    padding: 40px 0;
}
.dashboard-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dashboard-card:hover {
    box-shadow: var(--shadow-md);
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.stat-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-primary);
}

/* BADGES */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* UTILITY HELPERS */
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; align-items: center; gap: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* --- RESPONSIVE FOUNDATION --- */

/* Mobile Container Padding */
@media (max-width: 767px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .hide-mobile { display: none !important; }
    .stack-mobile { flex-direction: column !important; }
    .full-width-mobile { width: 100% !important; }
}

/* Tablet Adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .container { max-width: 720px; }
    .hide-tablet { display: none !important; }
}

/* Horizontal Scroll for Tables */
.responsive-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

/* Utility to force vertical stacking */
.grid-stack-mobile {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2-col { grid-template-columns: 1fr 1fr; }
    .grid-3-col { grid-template-columns: 1fr 1fr 1fr; }
    .grid-4-col { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

/* --- LANDING PAGE (BIONLUK STYLE) --- */

.hero-minimal {
    padding: 100px 0 80px;
    text-align: center;
    background: var(--bg-body);
    background: radial-gradient(circle at top, var(--brand-soft) 0%, var(--bg-body) 100%);
    position: relative;
    overflow: hidden;
}

.hero-minimal h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.hero-minimal p {
    font-size: 19px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

/* USP Section */
.usp-section {
    padding: 100px 0;
    background: var(--bg-card);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: center;
}

.usp-item {
    padding: 30px;
}

.usp-icon {
    width: 64px;
    height: 64px;
    background: var(--brand-soft);
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 20px;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
}

.usp-item:hover .usp-icon {
    transform: translateY(-5px) rotate(5deg);
    background: var(--brand-accent);
    color: white;
}

.usp-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.usp-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Media Cards (Bionluk Style) */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.media-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.media-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.media-card-img {
    height: 160px;
    background: var(--bg-body);
    position: relative;
}

.media-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.media-card-content {
    padding: 16px;
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.media-card-cat {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 6px;
}

.media-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-card-footer {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-body);
}

.media-price-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.media-price-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--brand-primary);
}

/* Minimalist Strip CTA */
.cta-banner-premium {
    background: var(--bg-body);
    padding: 60px 0;
    text-align: center;
    color: var(--brand-primary);
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-banner-premium::before {
    display: none; /* Remove mesh glows */
}

.cta-banner-premium .container {
    position: relative;
    z-index: 2;
}

.cta-banner-premium h2 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 15px;
    color: var(--brand-primary);
}

.cta-banner-premium .btn {
    box-shadow: 0 10px 25px rgba(0,45,91,0.15);
    background: var(--brand-grad);
    color: white !important;
}

.cta-banner-premium .btn-outline {
    border: 1px solid var(--border);
    color: var(--brand-primary) !important;
}

.cta-banner-premium .btn-outline:hover {
    background: white;
    border-color: var(--brand-accent);
}

@media (max-width: 768px) {
    .hero-minimal h1 { font-size: 36px; }
    .hero-minimal p { font-size: 16px; }
}

/* ================================================
   MOBİL RESPONSIVE — Ana Sayfa Grid Düzeltmeleri
   ================================================ */
@media (max-width: 767px) {

    /* Hero Butonları */
    .hero-minimal div[style*="display: flex"][style*="gap: 15px"] {
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Ana sayfa 4-kolon servis modülleri → 1 kolon */
    section div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Ana sayfa Haber Havuzu 2-kolon → 1 kolon */
    section div[style*="grid-template-columns: 1fr 1.2fr"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* Ana sayfa 3-kolon showcase → 1 kolon */
    section div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Ana sayfa Haber Havuzu sağ kart grid → 1 kolon */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Hero translate kaldır */
    div[style*="transform: translateY(30px)"] {
        transform: none !important;
    }
}

/* ================================================
   MOBİL RESPONSIVE — 2-Kolon Sayfalar (siparis, bakiye, siparis_detay)
   ================================================ */
@media (max-width: 768px) {

    /* Sabit sağ kolon içeren grid'ler → dikey stack */
    div[style*="grid-template-columns: 1fr 320px"],
    div[style*="grid-template-columns: 1fr 350px"],
    div[style*="grid-template-columns: 1fr 380px"],
    div[style*="grid-template-columns: 1fr 400px"] {
        grid-template-columns: 1fr !important;
    }

    /* Sipariş sayfası max-width kısıtı */
    div[style*="max-width: 900px"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* İki kolon form gridleri → tek kolon */
    form div[style*="grid-template-columns: 1fr 1fr"],
    div.portal-card div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* ================================================
   FOOTER MOBİL FİX
   ================================================ */
@media (max-width: 640px) {

    /* Footer bottom satırı → dikey ortala */
    .site-footer > div.container:last-child {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
    }

    /* Footer grid 2 kolonlu görünümden kurtul */
    .site-footer .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Footer app store butonları yan yana */
    .site-footer div[style*="flex-direction: column"] {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
}

/* ================================================
   KAYIT & GİRİŞ SAYFALARI MOBİL
   ================================================ */
@media (max-width: 480px) {

    /* Kayıt sayfası rol seçim kartları → dikey */
    div[style*="grid-template-columns: 1fr 1fr"]:has(.choice-card) {
        grid-template-columns: 1fr !important;
    }

    /* Giriş/Kayıt container padding */
    .container[style*="max-width: 420px"],
    .container[style*="max-width: 440px"],
    .container[style*="max-width: 500px"],
    .container[style*="max-width: 800px"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* ================================================
   MEDYA HAVUZU (MARKETPLACE) MOBİL
   ================================================ */
@media (max-width: 767px) {

    /* Mecra satırı → dikey düzen */
    .mecra-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .mecra-actions {
        width: 100% !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .mecra-actions .btn,
    .mecra-actions .btn-outline {
        flex: 1 !important;
        font-size: 12px !important;
        padding: 10px 12px !important;
        text-align: center !important;
    }

    .mecra-metrics {
        display: none !important; /* Mobilden gizle, zaten compact */
    }
}

/* ================================================
   BÜLTEN LİSTESİ & DASHBOARD TABLO MOBİL
   ================================================ */
@media (max-width: 640px) {

    /* Tablo yatay scroll */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}


/* PAGINATION */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.pagination-link {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--brand-primary);
    font-weight: 600;
    background: var(--bg-card);
    transition: all 0.2s;
}
.pagination-link:hover {
    border-color: var(--brand-accent);
    background: var(--brand-soft);
}
.pagination-link.active {
    border-color: var(--brand-accent);
    color: white !important;
    background: var(--brand-grad);
}
