/* ============================================
   SağlıkTestleri.com - Premium CSS
   ============================================ */

:root {
    --primary: #0EA5E9;
    --primary-dark: #0284C7;
    --secondary: #10B981;
    --accent: #F59E0B;
    --danger: #EF4444;
    --purple: #8B5CF6;

    --bg-deep: #0F172A;
    --bg-dark: #1E293B;
    --bg-card: #1E293B;
    --bg-card-hover: #273449;
    --border: rgba(148, 163, 184, 0.12);

    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #0C1930 50%, #0F1F3D 100%);
    --gradient-primary: linear-gradient(135deg, #0EA5E9, #6366F1);
    --gradient-accent: linear-gradient(135deg, #F59E0B, #EF4444);

    --font-main: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;

    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Theme toggle button */
    --header-bg: rgba(15, 23, 42, 0.85);
    --search-bar-bg: #1E293B;
    --input-bg: rgba(30, 41, 59, 0.8);
    --tools-bg: linear-gradient(135deg, #0C1930, #0F1F3D, #0C1930);
    --tool-card-bg: rgba(30, 41, 59, 0.8);
}

/* ============================================
   LIGHT MODE THEME
   ============================================ */
[data-theme="light"] {
    --bg-deep: #F0F4F8;
    --bg-dark: #E2E8F0;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8FAFC;
    --border: rgba(15, 23, 42, 0.1);

    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;

    --gradient-hero: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 50%, #EFF6FF 100%);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);

    --header-bg: rgba(255, 255, 255, 0.92);
    --search-bar-bg: #F8FAFC;
    --input-bg: #F1F5F9;
    --tools-bg: linear-gradient(135deg, #EFF6FF, #E0F2FE, #EFF6FF);
    --tool-card-bg: rgba(255, 255, 255, 0.9);
}

/* Smooth transitions for theme changes */
body,
.header,
.card,
.article-card,
.tool-card,
.filter-btn,
.search-bar,
.search-inner input,
.footer,
.newsletter,
.ticker-wrap,
.infographic-section,
.featured,
.categories,
.tools-section,
.input-group input,
.input-group select,
.nav-links a,
.sidebar-card,
.quick-summary,
.blog-article {
    transition: background-color 0.35s ease, color 0.35s ease,
        border-color 0.35s ease, box-shadow 0.35s ease !important;
}

/* Light mode specific overrides */
[data-theme="light"] .header {
    background: var(--header-bg) !important;
    border-bottom-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .hero-bg {
    background: var(--gradient-hero);
}

[data-theme="light"] .search-bar {
    background: var(--search-bar-bg);
    border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .search-inner input {
    background: #FFFFFF;
    border-color: rgba(15, 23, 42, 0.15);
    color: var(--text-primary);
}

[data-theme="light"] .tools-section {
    background: var(--tools-bg);
}

[data-theme="light"] .tool-card {
    background: var(--tool-card-bg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .input-group input,
[data-theme="light"] .input-group select {
    background: #F8FAFC;
    border-color: rgba(15, 23, 42, 0.15);
    color: var(--text-primary);
}

[data-theme="light"] .hero-search input {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(14, 165, 233, 0.3);
    color: var(--text-primary);
}

[data-theme="light"] .medical-dashboard {
    filter: invert(0) !important;
}

[data-theme="light"] .dash-card {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(14, 165, 233, 0.2) !important;
}

[data-theme="light"] .ekg-line {
    stroke: #0EA5E9;
}

[data-theme="light"] .featured {
    background: var(--bg-dark);
}

[data-theme="light"] .newsletter {
    background: var(--bg-dark);
}

[data-theme="light"] .ticker-wrap {
    background: rgba(14, 165, 233, 0.07);
}

[data-theme="light"] .section-header.light h2,
[data-theme="light"] .section-header.light p {
    color: var(--text-primary);
}

[data-theme="light"] .infographic-section {
    background: var(--bg-deep);
}

/* Light mode theme/lang toggle buttons */
.theme-btn,
.lang-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.4rem 0.7rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-family: var(--font-main);
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.theme-btn:hover,
.lang-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(14, 165, 233, 0.1);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---- Utilities ---- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Header ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
}

.logo-icon {
    font-size: 1.6rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    margin-left: auto;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(14, 165, 233, 0.1);
}

.search-btn,
.hamburger {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.search-btn:hover,
.hamburger:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
}

.search-bar {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.search-bar.open {
    max-height: 80px;
}

.search-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-inner input {
    flex: 1;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition);
}

.search-inner input:focus {
    border-color: var(--primary);
}

.search-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
}

.search-results {
    max-width: 1280px;
    margin: 0 auto 0.75rem;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-result-tag {
    background: rgba(14, 165, 233, 0.15);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.3);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.search-result-tag:hover {
    background: rgba(14, 165, 233, 0.3);
}

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 1.5rem 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    bottom: -100px;
    left: 10%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.7s ease 0.3s both;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-search {
    display: flex;
    gap: 0;
    max-width: 520px;
    animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-search input {
    flex: 1;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid var(--border);
    border-right: none;
    color: var(--text-primary);
    padding: 1rem 1.25rem;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 0.95rem;
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition);
}

.hero-search input:focus {
    border-color: var(--primary);
}

.hero-search button {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 1rem 1.75rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    font-family: var(--font-main);
}

.hero-search button:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Hero Visual */
.hero-visual {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 1s ease 0.5s both;
}

.health-globe {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(14, 165, 233, 0.4);
    animation: pulseRing 2.5s ease-out infinite;
}

.pulse-ring.delay-1 {
    animation-delay: 0.8s;
}

.pulse-ring.delay-2 {
    animation-delay: 1.6s;
}

.globe-inner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(99, 102, 241, 0.3));
    border: 2px solid rgba(14, 165, 233, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.3);
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* ---- News Ticker ---- */
.ticker-wrap {
    background: rgba(14, 165, 233, 0.1);
    border-top: 1px solid rgba(14, 165, 233, 0.2);
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 48px;
}

.ticker-label {
    background: var(--primary);
    color: white;
    padding: 0 1.25rem;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-track {
    display: flex;
    gap: 4rem;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-track span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ---- Section Headers ---- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.section-header.light h2,
.section-header.light p {
    color: white;
}

/* ---- Featured Section ---- */
.featured {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-img-bg {
    position: absolute;
    inset: 0;
}

.bg-blue {
    background: linear-gradient(135deg, #0C3562, #1d4ed8, #0EA5E9);
}

.bg-red {
    background: linear-gradient(135deg, #450a0a, #991b1b, #EF4444);
}

.bg-orange {
    background: linear-gradient(135deg, #431407, #9a3412, #F97316);
}

.bg-purple {
    background: linear-gradient(135deg, #2e1065, #6d28d9, #8B5CF6);
}

.bg-green {
    background: linear-gradient(135deg, #052e16, #065f46, #10B981);
}

.card-img-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    opacity: 0.8;
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: #1a1200;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-body {
    padding: 1.5rem;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.tag {
    background: rgba(14, 165, 233, 0.15);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
}

/* Featured Side Cards */
.featured-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-small {
    display: flex;
    gap: 0;
}

.card-image-sm {
    position: relative;
    width: 100px;
    min-width: 100px;
    overflow: hidden;
    border-radius: var(--radius) 0 0 var(--radius);
}

.card-img-bg {
    border-radius: 0;
}

.card-img-icon-sm {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.card-small .card-body {
    padding: 1rem;
}

.card-small .card-body h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* ---- Categories Section ---- */
.categories {
    padding: 5rem 0;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-main);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.article-card:hover {
    border-color: rgba(14, 165, 233, 0.4);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.article-card:hover::before {
    opacity: 0.04;
}

.article-card.hidden {
    display: none;
}

.ac-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--c) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.ac-body {
    flex: 1;
    position: relative;
    z-index: 1;
}

.ac-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rank {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
}

.ac-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.ac-body p {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.ac-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.read-time {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.ac-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
}

.ac-link:hover {
    color: var(--secondary);
}

/* ---- Tools Section ---- */
.tools-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0C1930, #0F1F3D, #0C1930);
    position: relative;
    overflow: hidden;
}

.tools-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230EA5E9' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.tool-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.tool-card:hover {
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.15);
}

.tool-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.tool-icon {
    width: 44px;
    height: 44px;
    background: rgba(14, 165, 233, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.tool-header h3 {
    font-size: 1rem;
    font-weight: 700;
}

.tool-body {
    padding: 0 1.5rem 1.5rem;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.input-group input,
.input-group select {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary);
}

.calc-btn {
    width: 100%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    margin-bottom: 1rem;
}

.calc-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.calc-result {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    display: none;
    animation: fadeIn 0.3s ease;
}

.calc-result.show {
    display: block;
}

.calc-result .result-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.calc-result .result-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ---- Newsletter ---- */
.newsletter {
    padding: 4rem 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.newsletter-text {
    flex: 1;
    min-width: 280px;
}

.newsletter-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: var(--text-secondary);
}

.newsletter-form {
    display: flex;
    gap: 0;
    min-width: 360px;
    flex: 1;
}

.newsletter-form input {
    flex: 1;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border);
    border-right: none;
    color: var(--text-primary);
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 0.95rem;
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form button {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.9rem 1.75rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-main);
    white-space: nowrap;
    transition: var(--transition);
}

.newsletter-form button:hover {
    opacity: 0.9;
}

/* ---- Footer ---- */
.footer {
    background: #070E1A;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.footer-disclaimer {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    font-size: 0.8rem !important;
    color: var(--accent) !important;
    margin-top: 1rem !important;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ============================================
   NEW VISUAL COMPONENTS
   ============================================ */

/* ---- Medical Dashboard (Hero Visual) ---- */
.hero-visual {
    flex: 0 0 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0 2rem 2rem;
    animation: fadeIn 1s ease 0.5s both;
}

.medical-dashboard {
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dash-card {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    padding: 1rem 1.25rem;
    transition: var(--transition);
}

.dash-card:hover {
    border-color: rgba(14, 165, 233, 0.35);
}

.dash-ekg {
    padding: 0.9rem 1.25rem;
}

.dash-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-live {
    color: #EF4444;
    font-size: 0.7rem;
    animation: liveBlink 1.2s ease infinite;
}

@keyframes liveBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.ekg-svg {
    width: 100%;
    height: 50px;
    display: block;
}

.ekg-line {
    fill: none;
    stroke: #EF4444;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawEKG 3s ease forwards, ekgMove 4s 3s linear infinite;
}

@keyframes drawEKG {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes ekgMove {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -1000;
    }
}

.dash-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #EF4444;
    margin-top: 0.25rem;
}

.dash-val span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.dash-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
}

.dash-mini {
    padding: 0.9rem 0.75rem;
    text-align: center;
}

.dash-icon {
    font-size: 1.3rem;
    margin-bottom: 0.35rem;
}

.dash-mini-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
}

.dash-mini-val span {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 400;
}

.dash-mini-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.dash-donut-card {
    padding: 1rem 1.25rem;
}

.donut-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.donut-svg {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    animation: rotateSvg 20s linear infinite;
}

@keyframes rotateSvg {
    from {
        transform: rotate(-90deg);
    }

    to {
        transform: rotate(270deg);
    }
}

.donut-seg1 {
    animation: dashReveal 1.5s ease 0.5s both;
}

@keyframes dashReveal {
    from {
        stroke-dasharray: 0 201;
    }

    to {
        stroke-dasharray: 128 73;
    }
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.donut-legend span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.donut-legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* ---- Infographic Section ---- */
.infographic-section {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.25);
    color: var(--primary);
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.infographic-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 4rem;
    align-items: center;
}

.infographic-text h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.infographic-text>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.7;
}

.stat-bars {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.sbi-head {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.sbi-pct {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.sbi-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 100px;
    overflow: hidden;
}

.sbi-fill {
    height: 100%;
    width: 0;
    border-radius: 100px;
    background: var(--c);
    transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sbi-fill.animated {
    width: var(--w);
}

.infographic-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.body-map {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.body-svg {
    width: 200px;
    height: 420px;
    display: block;
}

/* ---- Visual Article Cards ---- */
.article-card.visual-card {
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.vc-image {
    width: 100%;
    height: 140px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vc-emoji {
    font-size: 3rem;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.article-card.visual-card:hover .vc-emoji {
    transform: scale(1.15);
}

.vc-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bg-card);
    clip-path: ellipse(60% 100% at 50% 100%);
    z-index: 1;
    transition: background var(--transition);
}

.article-card.visual-card:hover .vc-wave {
    background: var(--bg-card-hover);
}

.article-card.visual-card .ac-body {
    padding: 1rem 1.25rem 1.25rem;
}

/* Pattern overlays on vc-image */
.vc-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

/* Animated dots pattern */
.vc-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 18px 18px;
    pointer-events: none;
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ---- Animations ---- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.97);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }

    .hamburger {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-search {
        max-width: 100%;
    }

    .hero-desc {
        margin: 0 auto 2rem;
    }

    .featured-side {
        grid-template-columns: 1fr;
    }

    .card-small {
        flex-direction: column;
    }

    .card-image-sm {
        width: 100%;
        min-width: unset;
        height: 100px;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        min-width: unset;
        width: 100%;
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-search input {
        border-right: 1px solid var(--border);
        border-radius: var(--radius);
    }

    .hero-search button {
        border-radius: var(--radius);
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1rem;
    }

    .stat-num {
        font-size: 1.4rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Haberler (Sağlık Haberleri) Section
   ============================================ */

.haberler-section {
    padding: 5rem 0;
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.haberler-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    pointer-events: none;
}

/* Section badge (📰 Sağlık Gündemi) */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.28);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}

/* ── Tabs ─────────────────────────────────── */
.haber-tabs {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.haber-tab {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.55rem 1.25rem;
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-main);
    transition: var(--transition);
}

.haber-tab:hover {
    border-color: rgba(14, 165, 233, 0.4);
    color: var(--primary);
}

.haber-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

/* live / Bu Hafta badge */
.haber-live-badge {
    margin-left: auto;
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.haber-live-badge.live {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.65;
    }
}

/* ── Grid ─────────────────────────────────── */
.haber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    transition: opacity 0.16s ease;
}

/* ── Card ─────────────────────────────────── */
.haber-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.haber-card:hover {
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    transform: translateY(-4px);
}

/* Subtle left accent on hover */
.haber-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius) 0 0 var(--radius);
}

.haber-card:hover::before {
    opacity: 1;
}

/* Card image */
.haber-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #0C1930, #1E293B);
    flex-shrink: 0;
    position: relative;
}

.haber-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.haber-card:hover .haber-image img {
    transform: scale(1.04);
}

.haber-image.no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0C1930 0%, #0F1F3D 50%, #1a1035 100%);
}

.haber-icon {
    font-size: 3rem;
    opacity: 0.5;
}

/* Card content */
.haber-content {
    padding: 1.25rem 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Flag (🇹🇷 / 🌍) */
.haber-flag {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.haber-title {
    font-size: 0.97rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 0.65rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.haber-summary {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Footer row */
.haber-footer {
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.haber-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.haber-source {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.haber-date {
    font-size: 0.73rem;
    color: var(--text-muted);
}

.haber-more,
.haber-read-btn {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    transition: var(--transition);
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    border: 1px solid rgba(14, 165, 233, 0.3);
    background: rgba(14, 165, 233, 0.08);
    text-decoration: none;
    display: inline-block;
}

.haber-card:hover .haber-more,
.haber-card:hover .haber-read-btn,
.haber-read-btn:hover {
    background: rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.55);
    color: var(--primary);
}


/* ── Skeleton ─────────────────────────────── */
.haber-skeleton {
    height: 320px;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.haber-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(148, 163, 184, 0.07) 40%,
            rgba(148, 163, 184, 0.12) 50%,
            rgba(148, 163, 184, 0.07) 60%,
            transparent 100%);
    animation: shimmer 1.5s infinite;
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 768px) {
    .haber-grid {
        grid-template-columns: 1fr;
    }

    .haber-tabs {
        gap: 0.4rem;
    }

    .haber-live-badge {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .haber-image {
        height: 150px;
    }
}

/* ── Pagination ──────────────────────────────────── */
#pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 2.5rem 0 1rem;
    padding: 0 1rem;
}

.pag-btn {
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.6rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pag-btn:hover:not(:disabled):not(.active) {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.4);
    color: var(--primary);
    transform: translateY(-1px);
}

.pag-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.pag-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pag-btn.pag-arrow {
    font-size: 1.2rem;
    font-weight: 400;
    min-width: 2.4rem;
}

.pag-ellipsis {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0 0.25rem;
    line-height: 2.4rem;
    user-select: none;
}

@media (max-width: 480px) {
    .pag-btn {
        min-width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
    }
}