:root {
    --primary-dark: #0f172a;
    --primary: #1e293b;
    --secondary: #334155;
    --accent-gold: #b8963e;
    --accent-gold-light: #d4af37;
    --accent-gold-soft: #e8d5a3;
    --accent-gold-bg: rgba(184, 150, 62, 0.08);
    --accent-gold-border: rgba(184, 150, 62, 0.35);
    --bg-primary: #fefefe;
    --bg-secondary: #faf9f6;
    --bg-tertiary: #f5f3ee;
    --bg-card: #fffefb;
    --bg-warm: #fdfbf7;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6b6b6b;
    --border-color: #e8e4dc;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(184, 150, 62, 0.04);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(184, 150, 62, 0.06);
    --success: #0d9668;
    --error: #c53030;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(160deg, #faf8f4 0%, #f5f2eb 40%, #fefdfb 100%);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: linear-gradient(180deg, #fffefb 0%, var(--bg-card) 100%);
    border-bottom: 2px solid var(--border-color);
    padding: 0.875rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 1px 0 rgba(184, 150, 62, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-shrink: 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.125rem;
}

.brand-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.header-branch-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
}

.header-branch-badge i,
.header-phone-badge i {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.header-branch-badge--link,
.header-branch-badge--link:hover,
.header-branch-badge--link:focus,
.header-branch-badge--link:active {
    text-decoration: none !important;
}

.header-branch-badge--link {
    color: inherit;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.header-branch-badge--link:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.header-phone-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.header-phone-badge:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.header-connection-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.header-connection-badge--live {
    background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    color: #166534;
    box-shadow: 0 1px 2px rgba(22, 101, 52, 0.08);
}

.header-connection-badge--live .badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #16a34a;
    flex-shrink: 0;
    animation: badge-dot-blink 2s ease-in-out infinite;
}

@keyframes badge-dot-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.header-connection-badge--error {
    background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    color: #b91c1c;
    box-shadow: 0 1px 2px rgba(185, 28, 28, 0.08);
    animation: badge-error-pulse 2.5s ease-in-out infinite;
}

@keyframes badge-error-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.header-connection-badge--error .badge-icon svg {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

.header-connection-badge .badge-icon {
    display: none;
}

.header-connection-badge--error .badge-dot {
    display: none;
}

.header-connection-badge--error .badge-icon {
    display: inline-flex;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.btn-fullscreen,
.btn-user {
    padding: 0.625rem;
    width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
}

.btn-user i {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.btn-user:hover i {
    color: var(--text-primary);
}

.btn-fullscreen svg {
    width: 1.125rem;
    height: 1.125rem;
    stroke: var(--text-secondary);
    flex-shrink: 0;
}

.btn-fullscreen:hover svg {
    stroke: var(--text-primary);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 0;
    overflow-y: auto;
}

/* Price Grid */
.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    flex: 1;
}

.price-card {
    background: var(--bg-card);
    border-radius: 1.25rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(184, 150, 62, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--accent-gold-border), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-4px);
    border-color: var(--accent-gold-border);
}

.price-card-header {
    padding: 1.35rem 1.5rem;
    border-bottom: none;
    background: linear-gradient(135deg, var(--accent-gold-bg) 0%, rgba(253, 251, 247, 1) 35%, var(--bg-card) 100%);
    flex-shrink: 0;
    position: relative;
    border-left: 4px solid var(--accent-gold);
}

.price-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-gold-border) 20%, var(--accent-gold-soft) 50%, var(--accent-gold-border) 80%, transparent 100%);
    opacity: 0.8;
}

.price-card-title {
    font-size: 1.3125rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.price-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.4375rem;
    color: var(--accent-gold);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, var(--accent-gold-bg) 100%);
    border-radius: 0.625rem;
    box-sizing: border-box;
    border: 1px solid var(--accent-gold-border);
    box-shadow: 0 2px 6px rgba(184, 150, 62, 0.12);
}

.price-table-wrapper {
    flex: 1;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    min-height: 0;
    background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-card) 100%);
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.price-table thead {
    background: linear-gradient(180deg, rgba(184, 150, 62, 0.12) 0%, rgba(184, 150, 62, 0.06) 100%);
    border: 1px solid var(--accent-gold-border);
    border-bottom: 2px solid var(--accent-gold-border);
}

.price-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.8125rem;
    color: #5c4a2a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: none;
}

.price-table th:first-child {
    border-top-left-radius: 0.625rem;
    padding-left: 1.5rem;
}

.price-table th:nth-child(2),
.price-table th:last-child {
    text-align: right;
}

.price-table th:last-child {
    border-top-right-radius: 0.625rem;
    padding-right: 1.25rem;
}

.price-table tbody tr {
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(232, 228, 220, 0.9);
    background: var(--bg-card);
}

.price-table tbody tr:nth-child(even) {
    background: var(--bg-warm);
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

.price-table tbody tr:hover {
    background: var(--accent-gold-bg) !important;
}

.price-table td {
    padding: 1rem 1.25rem;
    border-bottom: none;
    font-size: 1.3rem;
}

.price-table td:first-child {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.0625rem;
    position: relative;
    background: inherit;
    border-left: 4px solid var(--accent-gold);
    padding-left: 1.5rem !important;
}

.price-table td:nth-child(2),
.price-table td:last-child {
    text-align: right;
    background: inherit;
}

.price-table tbody tr:hover td:first-child,
.price-table tbody tr:hover td:nth-child(2),
.price-table tbody tr:hover td:last-child {
    background: var(--accent-gold-bg) !important;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1d21;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.price-value.alis {
    color: #2d3748;
}

.price-value.satis {
    color: #1a1d21;
}

/* Currency Card */
.currency-card {
    grid-column: 1 / -1;
    background: var(--bg-card);
    border-radius: 1.25rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(184, 150, 62, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.currency-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--accent-gold-border), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-4px);
    border-color: var(--accent-gold-border);
}

.currency-card .price-card-header {
    border-left: 4px solid var(--accent-gold);
}

.currency-table-wrapper {
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-card) 100%);
}

.currency-table {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
}

.currency-table thead {
    background: linear-gradient(180deg, rgba(184, 150, 62, 0.12) 0%, rgba(184, 150, 62, 0.06) 100%);
    border: 1px solid var(--accent-gold-border);
    border-bottom: 2px solid var(--accent-gold-border);
}

.currency-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.8125rem;
    color: #5c4a2a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: none;
}

.currency-table th:first-child {
    border-top-left-radius: 0.625rem;
    padding-left: 1.5rem;
}

.currency-table th:nth-child(2),
.currency-table th:last-child {
    text-align: right;
}

.currency-table th:last-child {
    border-top-right-radius: 0.625rem;
    padding-right: 1.25rem;
}

.currency-table tbody tr {
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(232, 228, 220, 0.9);
    background: var(--bg-card);
}

.currency-table tbody tr:nth-child(even) {
    background: var(--bg-warm);
}

.currency-table tbody tr:last-child {
    border-bottom: none;
}

.currency-table tbody tr:hover {
    background: var(--accent-gold-bg) !important;
}

.currency-table td {
    padding: 1rem 1.25rem;
    border-bottom: none;
}

.currency-table td:first-child {
    background: inherit;
    border-left: 4px solid var(--accent-gold);
    padding-left: 1.5rem !important;
}

.currency-table td:nth-child(2),
.currency-table td:last-child {
    text-align: right;
    background: inherit;
}

.currency-table tbody tr:hover td:first-child,
.currency-table tbody tr:hover td:nth-child(2),
.currency-table tbody tr:hover td:last-child {
    background: var(--accent-gold-bg) !important;
}

.currency-name {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--text-primary);
}

.currency-flag {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.currency-code {
    display: inline-block;
    padding: 0.3rem 0.55rem;
    background: linear-gradient(145deg, var(--bg-tertiary) 0%, rgba(184, 150, 62, 0.08) 100%);
    color: #5c4a2a;
    border-radius: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    margin-left: 0.5rem;
    letter-spacing: 0.04em;
    border: 1px solid var(--accent-gold-border);
}

.currency-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1d21;
    letter-spacing: -0.02em;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Footer */
.footer {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(0deg, var(--bg-warm) 0%, var(--bg-card) 100%);
    border-top: 2px solid var(--border-color);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.03), 0 -1px 0 var(--accent-gold-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.footer-disclaimer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.9;
}

.footer-disclaimer-icon {
    width: 1rem;
    height: 1rem;
    color: var(--text-secondary);
    opacity: 0.85;
    flex-shrink: 0;
}

.last-update {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer.footer--error {
    border-top: 2px solid #dc2626;
    background: linear-gradient(180deg, #fef2f2 0%, #fff 100%);
}

.footer.footer--error .footer-disclaimer {
    color: #b91c1c;
    font-weight: 600;
}

.footer.footer--error .footer-disclaimer-icon {
    color: #dc2626;
}

.footer.footer--error .last-update {
    color: #b91c1c;
    font-weight: 500;
}

/* Animations */
.price-value {
    transition: color 0.5s ease-out;
}

.price-value.updated.up {
    color: var(--success);
    animation: price-flash-up 0.6s ease-out;
}

.price-value.updated.down {
    color: var(--error);
    animation: price-flash-down 0.6s ease-out;
}

@keyframes price-flash-up {
    0% {
        opacity: 1;
    }
    30% {
        opacity: 0.7;
    }
    60% {
        opacity: 0.9;
    }
    100% {
        opacity: 1;
    }
}

@keyframes price-flash-down {
    0% {
        opacity: 1;
    }
    30% {
        opacity: 0.7;
    }
    60% {
        opacity: 0.9;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive - Tablet */
@media (max-width: 1200px) {
    .price-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .main-content {
        padding: 1.5rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .header {
        padding: 0.625rem 0.75rem;
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .header-left {
        width: 100%;
        gap: 0.75rem;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .logo {
        height: 2.25rem;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-subtitle {
        font-size: 0.75rem;
    }

    .main-content {
        padding: 0.75rem;
        gap: 1rem;
    }

    .price-card-header,
    .price-table-wrapper,
    .currency-table-wrapper {
        padding: 0.75rem;
    }

    .price-value,
    .currency-value {
        font-size: 1.25rem;
    }

    .currency-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.75rem !important;
    }

    .currency-table {
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
    }

    .currency-table th,
    .currency-table td {
        padding: 0.625rem 0.5rem;
        font-size: 0.875rem;
    }

    .currency-name {
        font-size: 0.9375rem;
        gap: 0.5rem;
    }

    .currency-flag {
        width: 1.5rem;
        height: 1.5rem;
    }

    .currency-code {
        font-size: 0.6875rem;
        padding: 0.125rem 0.375rem;
    }

    .currency-value {
        font-size: 1.125rem !important;
    }

    .footer {
        padding: 0.625rem 0.75rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .footer-disclaimer {
        font-size: 0.6875rem;
    }

    .last-update {
        font-size: 0.75rem;
    }
}

/* TV Optimizations - Full HD */
@media (min-width: 1366px) and (max-width: 1919px) {
    body {
        overflow: hidden;
        height: 100vh;
    }

    .container {
        height: 100vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .main-content {
        padding: 1rem 1.25rem;
        gap: 1rem;
        overflow-y: auto;
        flex: 1;
        min-height: 0;
    }

    .header {
        padding: 0.75rem 1.25rem;
    }

    .logo {
        height: 2.5rem;
    }

    .brand-name {
        font-size: 1.375rem;
    }

    .brand-subtitle {
        font-size: 0.75rem;
    }

    .price-grid {
        gap: 1rem;
    }

    .price-card-header {
        padding: 0.875rem 1rem;
    }

    .price-card-title {
        font-size: 1.25rem;
    }

    .price-table-wrapper,
    .currency-table-wrapper {
        padding: 0.75rem 1rem;
    }

    .price-table th {
        font-size: 0.875rem;
        padding: 0.75rem 0.875rem;
    }

    .price-table td {
        font-size: 1.3rem;
        padding: 0.75rem 0.875rem;
    }

    .price-table td:first-child {
        font-size: 1.125rem;
    }

    .price-value {
        font-size: 5rem;
    }
    
    .currency-value {
        font-size: 5rem;
    }

    .price-table td:first-child {
        background: inherit;
        border-left: 4px solid var(--accent-gold);
    }

    .currency-table th {
        font-size: 0.875rem;
        padding: 0.75rem 0.875rem;
    }

    .currency-table td {
        padding: 0.75rem 0.875rem;
        font-size: 1rem;
    }

    .currency-name {
        font-size: 1.125rem;
    }

    .currency-value {
        font-size: 4.5rem;
    }

    .footer {
        padding: 0.625rem 1.25rem;
    }

    .footer-disclaimer {
        font-size: 0.6875rem;
    }

    .last-update {
        font-size: 0.75rem;
    }
}

/* TV Optimizations - 4K */
@media (min-width: 1920px) {
    body {
        overflow: hidden;
        height: 100vh;
    }

    .container {
        height: 100vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .main-content {
        padding: 1.25rem 1.5rem;
        gap: 1.25rem;
        overflow-y: auto;
        flex: 1;
        min-height: 0;
    }

    .header {
        padding: 1rem 1.5rem;
    }

    .logo {
        height: 3rem;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .brand-subtitle {
        font-size: 0.875rem;
    }

    .price-grid {
        gap: 1.25rem;
    }

    .price-card-header {
        padding: 1rem 1.25rem;
    }

    .price-card-title {
        font-size: 1.375rem;
    }

    .price-card-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .price-table-wrapper,
    .currency-table-wrapper {
        padding: 0.875rem 1.25rem;
    }

    .price-table th {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }

    .price-table td {
        font-size: 1.125rem;
        padding: 0.875rem 1rem;
    }

    .price-table td:first-child {
        font-size: 1.3rem;
    }

    .price-value {
        font-size: 5rem;
    }

    .price-table td:first-child {
        background: inherit;
        border-left: 4px solid var(--accent-gold);
    }

    .currency-table th {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }

    .currency-table td {
        padding: 0.875rem 1rem;
        font-size: 1.125rem;
    }

    .currency-name {
        font-size: 1.25rem;
    }

    .currency-flag {
        width: 2rem;
        height: 2rem;
    }

    .currency-value {
        font-size: 5rem;
    }

    .btn {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }

    .footer {
        padding: 0.75rem 1.5rem;
    }

    .footer-disclaimer {
        font-size: 0.75rem;
    }

    .last-update {
        font-size: 0.875rem;
    }
}

/* Small PC */
@media (min-width: 1201px) and (max-width: 1365px) {
    body {
        overflow: hidden;
        height: 100vh;
    }

    .container {
        height: 100vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .main-content {
        padding: 1rem 1.25rem;
        gap: 1rem;
        overflow-y: auto;
        flex: 1;
        min-height: 0;
    }

    .header {
        padding: 0.75rem 1.25rem;
    }

    .logo {
        height: 2.25rem;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .brand-subtitle {
        font-size: 0.75rem;
    }

    .price-grid {
        gap: 1rem;
    }

    .price-card-header {
        padding: 0.875rem 1rem;
    }

    .price-card-title {
        font-size: 1.125rem;
    }

    .price-table-wrapper,
    .currency-table-wrapper {
        padding: 0.75rem 1rem;
    }

    .price-table th {
        font-size: 0.8125rem;
        padding: 0.75rem 0.875rem;
    }

    .price-table td {
        font-size: 1.3rem;
        padding: 0.75rem 0.875rem;
    }

    .price-table td:first-child {
        font-size: 1rem;
    }

    .price-value {
        font-size: 5rem;
    }

    .price-table td:first-child {
        background: inherit;
        border-left: 4px solid var(--accent-gold);
    }

    .currency-table th {
        font-size: 0.8125rem;
        padding: 0.75rem 0.875rem;
    }

    .currency-table td {
        padding: 0.75rem 0.875rem;
        font-size: 0.9375rem;
    }

    .currency-name {
        font-size: 1rem;
    }

    .currency-value {
        font-size: 4rem;
    }

    .footer {
        padding: 0.625rem 1.25rem;
    }

    .footer-disclaimer {
        font-size: 0.6875rem;
    }

    .last-update {
        font-size: 0.75rem;
    }
}

/* Scrollbar Styling */
.main-content::-webkit-scrollbar {
    width: 8px;
}

.main-content::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.main-content::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

.main-content::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Fiyat listesi kapalÄ± gÃ¶rÃ¼nÃ¼mÃ¼ (sadece admin) */
.price-list-closed-view {
    display: none;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 3rem 2rem;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(248, 250, 252, 0.6) 0%, rgba(241, 245, 249, 0.4) 100%);
}

.price-list-closed-view .closed-view-box {
    background: linear-gradient(180deg, #fffefb 0%, #fefdf9 50%, #faf8f3 100%);
    border: 2px solid var(--accent-gold-border);
    border-radius: 2rem;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 2px 8px rgba(184, 150, 62, 0.12),
        0 12px 32px rgba(15, 23, 42, 0.08),
        0 24px 48px -12px rgba(15, 23, 42, 0.1);
    padding: 3.5rem 4rem;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.price-list-closed-view .closed-view-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), var(--accent-gold-light), transparent);
    opacity: 0.6;
}

.price-list-closed-view .closed-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
    margin-bottom: 2.25rem;
    filter: drop-shadow(0 6px 16px rgba(184, 150, 62, 0.25));
}

.price-list-closed-view .closed-view-divider {
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.5;
    margin-bottom: 2rem;
    border: none;
}

.price-list-closed-view .closed-message {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.08em;
    line-height: 1.45;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.price-list-hidden .price-list-content,
body.price-list-hidden .footer {
    display: none !important;
}

body.price-list-hidden .price-list-closed-view {
    display: flex !important;
}

.btn-toggle-list {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: #1e293b;
    border: none;
    font-weight: 600;
}

.btn-toggle-list:hover {
    opacity: 0.95;
    filter: brightness(1.05);
}

/* ========== Tema: VarsayÄ±lan (beyaz / sade) ========== */
body.theme-default {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

body.theme-default .header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

body.theme-default .price-card,
body.theme-default .currency-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body.theme-default .price-card:hover,
body.theme-default .currency-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

body.theme-default .price-card-header {
    background: #f8fafc;
    border-left: none;
}

body.theme-default .price-card-header::after {
    background: #e2e8f0;
    opacity: 1;
}

body.theme-default .price-card-icon {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    box-shadow: none;
    color: #64748b;
}

body.theme-default .price-table-wrapper,
body.theme-default .currency-table-wrapper {
    background: #ffffff;
}

body.theme-default .price-table thead,
body.theme-default .currency-table thead {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-bottom: 2px solid #e2e8f0;
}

body.theme-default .price-table th,
body.theme-default .currency-table th {
    color: #475569;
}

body.theme-default .price-table tbody tr {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

body.theme-default .price-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

body.theme-default .price-table tbody tr:hover,
body.theme-default .currency-table tbody tr:hover {
    background: #f1f5f9 !important;
}

body.theme-default .price-table tbody tr:hover td:first-child,
body.theme-default .price-table tbody tr:hover td:nth-child(2),
body.theme-default .price-table tbody tr:hover td:last-child,
body.theme-default .currency-table tbody tr:hover td:first-child,
body.theme-default .currency-table tbody tr:hover td:nth-child(2),
body.theme-default .currency-table tbody tr:hover td:last-child {
    background: #f1f5f9 !important;
}

body.theme-default .price-table td:first-child,
body.theme-default .currency-table td:first-child {
    border-left: 3px solid #cbd5e1;
}

body.theme-default .price-value,
body.theme-default .currency-value {
    color: #0f172a;
}

body.theme-default .price-value.alis {
    color: #334155;
}

body.theme-default .footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: none;
}

body.theme-default .header-branch-badge,
body.theme-default .header-phone-badge {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

body.theme-default .currency-code {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

body.theme-default .price-list-closed-view .closed-view-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.theme-default .price-list-closed-view .closed-view-box::before {
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

body.theme-default .price-list-closed-view .closed-view-divider {
    background: linear-gradient(90deg, transparent, #94a3b8, transparent);
}

/* ========== Tema: Mavi Tasarım (dengeli – mavi vurgu, açık zemin) ========== */
body.theme-blue {
    background: linear-gradient(160deg, #f0f7fc 0%, #e8f2f9 40%, #f5fafd 100%);
}

body.theme-blue .header {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
    border-bottom: 3px solid #236184;
    box-shadow: 0 2px 12px rgba(35, 97, 132, 0.12);
}

body.theme-blue .brand-name {
    color: #134F71;
}

body.theme-blue .brand-subtitle {
    color: #236184;
    opacity: 0.9;
}

body.theme-blue .header-branch-badge,
body.theme-blue .header-phone-badge {
    background: linear-gradient(180deg, #e8f4fa 0%, #dceef8 100%);
    border: 1px solid rgba(35, 97, 132, 0.3);
    color: #134F71;
}

body.theme-blue .header-branch-badge i,
body.theme-blue .header-phone-badge i {
    color: #236184;
}

body.theme-blue .header-phone-badge:hover {
    border-color: #236184;
    background: linear-gradient(180deg, #dceef8 0%, #d0e8f6 100%);
    color: #134F71;
}

body.theme-blue .header-connection-badge--live {
    background: linear-gradient(180deg, #e6f7ee 0%, #d4f0e0 100%);
    border: 1px solid rgba(19, 79, 113, 0.25);
    color: #134F71;
}

body.theme-blue .header-connection-badge--live .badge-dot {
    background: #236184;
}

body.theme-blue .btn {
    background: linear-gradient(180deg, #f0f7fc 0%, #e8f2f9 100%);
    border: 1px solid rgba(35, 97, 132, 0.35);
    color: #134F71;
}

body.theme-blue .btn:hover {
    background: linear-gradient(180deg, #dceef8 0%, #d0e8f6 100%);
    border-color: #236184;
    color: #134F71;
}

body.theme-blue .btn-toggle-list {
    background: linear-gradient(135deg, #236184 0%, #134F71 100%);
    color: #ffffff;
    border: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(19, 79, 113, 0.3);
}

body.theme-blue .btn-toggle-list:hover {
    filter: brightness(1.06);
    box-shadow: 0 3px 12px rgba(19, 79, 113, 0.35);
}

body.theme-blue .price-card,
body.theme-blue .currency-card {
    background: linear-gradient(180deg, #ffffff 0%, #fafcfe 100%);
    border: 1px solid rgba(35, 97, 132, 0.25);
    box-shadow: 0 4px 16px rgba(19, 79, 113, 0.08), 0 0 0 1px rgba(35, 97, 132, 0.06);
}

body.theme-blue .price-card:hover,
body.theme-blue .currency-card:hover {
    border-color: rgba(35, 97, 132, 0.45);
    box-shadow: 0 8px 24px rgba(19, 79, 113, 0.12), 0 0 0 1px rgba(35, 97, 132, 0.12);
    transform: translateY(-2px);
}

body.theme-blue .price-card-header {
    background: linear-gradient(135deg, rgba(35, 97, 132, 0.1) 0%, rgba(212, 235, 247, 0.6) 50%, #f8fbfd 100%);
    border-left: 4px solid #236184;
}

body.theme-blue .price-card-header::after {
    background: linear-gradient(90deg, transparent 0%, rgba(35, 97, 132, 0.2) 50%, transparent 100%);
    opacity: 0.8;
}

body.theme-blue .price-card-title {
    color: #134F71;
}

body.theme-blue .price-card-icon {
    background: linear-gradient(145deg, #e8f4fa 0%, rgba(35, 97, 132, 0.12) 100%);
    border: 1px solid rgba(35, 97, 132, 0.25);
    color: #236184;
}

body.theme-blue .price-table-wrapper,
body.theme-blue .currency-table-wrapper {
    background: linear-gradient(180deg, #fafcfe 0%, #ffffff 100%);
}

body.theme-blue .price-table thead,
body.theme-blue .currency-table thead {
    background: linear-gradient(180deg, rgba(35, 97, 132, 0.14) 0%, rgba(35, 97, 132, 0.08) 100%);
    border: 1px solid rgba(35, 97, 132, 0.25);
    border-bottom: 2px solid #236184;
}

body.theme-blue .price-table th,
body.theme-blue .currency-table th {
    color: #134F71;
}

body.theme-blue .price-table tbody tr {
    border-bottom: 1px solid rgba(35, 97, 132, 0.12);
    background: #ffffff;
}

body.theme-blue .price-table tbody tr:nth-child(even) {
    background: #f8fbfd;
}

body.theme-blue .price-table tbody tr:hover,
body.theme-blue .currency-table tbody tr:hover {
    background: rgba(35, 97, 132, 0.05) !important;
}

body.theme-blue .price-table tbody tr:hover td:first-child,
body.theme-blue .price-table tbody tr:hover td:nth-child(2),
body.theme-blue .price-table tbody tr:hover td:last-child,
body.theme-blue .currency-table tbody tr:hover td:first-child,
body.theme-blue .currency-table tbody tr:hover td:nth-child(2),
body.theme-blue .currency-table tbody tr:hover td:last-child {
    background: rgba(35, 97, 132, 0.05) !important;
}

body.theme-blue .price-table td:first-child,
body.theme-blue .currency-table td:first-child {
    border-left: 4px solid #236184;
}

body.theme-blue .price-value,
body.theme-blue .currency-value,
body.theme-blue .price-value.alis,
body.theme-blue .price-value.satis,
body.theme-blue .currency-value.alis,
body.theme-blue .currency-value.satis {
    color: #1a1a1a !important;
    font-weight: 800;
}

body.theme-blue .price-value.alis.updated.up,
body.theme-blue .price-value.satis.updated.up,
body.theme-blue .currency-value.alis.updated.up,
body.theme-blue .currency-value.satis.updated.up {
    color: var(--success) !important;
    transition: none;
    animation: price-flash-up 0.6s ease-out;
}

body.theme-blue .price-value.alis.updated.down,
body.theme-blue .price-value.satis.updated.down,
body.theme-blue .currency-value.alis.updated.down,
body.theme-blue .currency-value.satis.updated.down {
    color: var(--error) !important;
    transition: none;
    animation: price-flash-down 0.6s ease-out;
}

body.theme-blue .currency-card .price-card-header {
    border-left: 4px solid #236184;
}

body.theme-blue .currency-name {
    color: #134F71;
}

body.theme-blue .currency-flag {
    border-color: rgba(35, 97, 132, 0.35);
}

body.theme-blue .currency-code {
    background: linear-gradient(145deg, #e8f4fa 0%, rgba(35, 97, 132, 0.1) 100%);
    border: 1px solid rgba(35, 97, 132, 0.3);
    color: #134F71;
}

body.theme-blue .footer {
    background: linear-gradient(0deg, #f0f7fc 0%, #f8fbfd 100%);
    border-top: 3px solid #236184;
    box-shadow: 0 -2px 12px rgba(35, 97, 132, 0.08);
}

body.theme-blue .footer-disclaimer,
body.theme-blue .last-update {
    color: #134F71;
}

body.theme-blue .footer-disclaimer-icon {
    color: #236184;
}

body.theme-blue .price-list-closed-view {
    background: radial-gradient(ellipse at center, #e8f2f9 0%, #dceef8 60%, #f0f7fc 100%);
}

body.theme-blue .price-list-closed-view .closed-view-box {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 50%, #f0f7fc 100%);
    border: 2px solid #236184;
    box-shadow: 0 4px 20px rgba(19, 79, 113, 0.15);
}

body.theme-blue .price-list-closed-view .closed-view-box::before {
    background: linear-gradient(90deg, transparent, #236184, #134F71, transparent);
    opacity: 0.7;
}

body.theme-blue .price-list-closed-view .closed-view-divider {
    background: linear-gradient(90deg, transparent, #236184, transparent);
}

body.theme-blue .price-list-closed-view .closed-message {
    color: #134F71;
}

body.theme-blue .btn-fullscreen svg {
    stroke: #236184;
}

body.theme-blue .btn-fullscreen:hover svg {
    stroke: #134F71;
}

/* Ramazan: logo ve ezan kutusu sadece ramazan temasında görünsün */
.header-ramazan-logo,
.ezan-box,
.closed-ramazan-logo {
    display: none;
}
body.theme-ramazan .header-ramazan-logo {
    display: block;
    height: 2rem;
    width: auto;
    object-fit: contain;
    margin-right: 0.5rem;
    flex-shrink: 0;
}
body.theme-ramazan .ezan-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    margin-left: 0.5rem;
}

body.theme-ramazan .ezan-box .ezan-info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.5rem;
}
body.theme-ramazan .closed-ramazan-logo {
    display: block;
    height: 3.5rem;
    width: auto;
    object-fit: contain;
    margin: 0 auto 1rem;
}

/* ========== Ramazan Gündüz = koyu maviye yakın, açık ton ========== */
body.theme-light.theme-ramazan {
    background: linear-gradient(160deg, #eef2f7 0%, #e6ecf2 40%, #f0f4f8 100%);
}

body.theme-light.theme-ramazan .header {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 3px solid #2c5282;
    box-shadow: 0 2px 12px rgba(44, 82, 130, 0.14);
}

body.theme-light.theme-ramazan .header .logo {
    filter: none;
}

body.theme-light.theme-ramazan .header-ramazan-logo {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06));
}

body.theme-light.theme-ramazan .brand-name {
    color: #1e4a6e;
}

body.theme-light.theme-ramazan .brand-subtitle {
    color: #2c5282;
    opacity: 0.9;
}

body.theme-light.theme-ramazan .header-branch-badge,
body.theme-light.theme-ramazan .header-phone-badge {
    background: linear-gradient(180deg, #eef4f9 0%, #e2eaf2 100%);
    border: 1px solid rgba(44, 82, 130, 0.3);
    color: #1e4a6e;
}

body.theme-light.theme-ramazan .header-branch-badge i,
body.theme-light.theme-ramazan .header-phone-badge i {
    color: #2c5282;
}

body.theme-light.theme-ramazan .header-phone-badge:hover {
    border-color: #2c5282;
    background: linear-gradient(180deg, #e2eaf2 0%, #d6e0ec 100%);
    color: #1e4a6e;
}

body.theme-light.theme-ramazan .header-connection-badge--live {
    background: linear-gradient(180deg, #e8f7ee 0%, #daf0e2 100%);
    border: 1px solid rgba(44, 82, 130, 0.2);
    color: #047857;
}

body.theme-light.theme-ramazan .header-connection-badge--live .badge-dot {
    background: #2c5282;
}

body.theme-light.theme-ramazan .btn {
    background: linear-gradient(180deg, #f8fafc 0%, #eef4f9 100%);
    border: 1px solid rgba(44, 82, 130, 0.35);
    color: #1e4a6e;
}

body.theme-light.theme-ramazan .btn:hover {
    background: linear-gradient(180deg, #e2eaf2 0%, #d6e0ec 100%);
    border-color: #2c5282;
    color: #1e4a6e;
}

body.theme-light.theme-ramazan .btn-toggle-list {
    background: linear-gradient(135deg, #2c5282 0%, #1e4a6e 100%);
    color: #ffffff;
    border: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(44, 82, 130, 0.35);
}

body.theme-light.theme-ramazan .btn-toggle-list:hover {
    filter: brightness(1.08);
    box-shadow: 0 3px 12px rgba(44, 82, 130, 0.4);
}

body.theme-light.theme-ramazan .price-card,
body.theme-light.theme-ramazan .currency-card {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
    border: 1px solid rgba(44, 82, 130, 0.22);
    box-shadow: 0 4px 16px rgba(44, 82, 130, 0.08), 0 0 0 1px rgba(44, 82, 130, 0.06);
}

body.theme-light.theme-ramazan .price-card:hover,
body.theme-light.theme-ramazan .currency-card:hover {
    border-color: rgba(44, 82, 130, 0.4);
    box-shadow: 0 8px 24px rgba(44, 82, 130, 0.12), 0 0 0 1px rgba(44, 82, 130, 0.1);
    transform: translateY(-2px);
}

body.theme-light.theme-ramazan .price-card-header {
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.1) 0%, rgba(198, 214, 232, 0.5) 50%, #f5f7fa 100%);
    border-left: 4px solid #2c5282;
}

body.theme-light.theme-ramazan .price-card-header::after {
    background: linear-gradient(90deg, transparent 0%, rgba(44, 82, 130, 0.16) 50%, transparent 100%);
    opacity: 0.8;
}

body.theme-light.theme-ramazan .price-card-title {
    color: #1e4a6e;
}

body.theme-light.theme-ramazan .price-card-icon {
    background: linear-gradient(145deg, #eef4f9 0%, rgba(44, 82, 130, 0.1) 100%);
    border: 1px solid rgba(44, 82, 130, 0.25);
    color: #2c5282;
}

body.theme-light.theme-ramazan .price-table-wrapper,
body.theme-light.theme-ramazan .currency-table-wrapper {
    background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
}

body.theme-light.theme-ramazan .price-table thead,
body.theme-light.theme-ramazan .currency-table thead {
    background: linear-gradient(180deg, rgba(44, 82, 130, 0.12) 0%, rgba(44, 82, 130, 0.06) 100%);
    border: 1px solid rgba(44, 82, 130, 0.25);
    border-bottom: 2px solid #2c5282;
}

body.theme-light.theme-ramazan .price-table th,
body.theme-light.theme-ramazan .currency-table th {
    color: #1e4a6e;
}

body.theme-light.theme-ramazan .price-table tbody tr {
    border-bottom: 1px solid rgba(44, 82, 130, 0.1);
    background: #ffffff;
}

body.theme-light.theme-ramazan .price-table tbody tr:nth-child(even) {
    background: #f2f5f9;
}

body.theme-light.theme-ramazan .price-table tbody tr:hover,
body.theme-light.theme-ramazan .currency-table tbody tr:hover {
    background: rgba(44, 82, 130, 0.05) !important;
}

body.theme-light.theme-ramazan .price-table tbody tr:hover td:first-child,
body.theme-light.theme-ramazan .price-table tbody tr:hover td:nth-child(2),
body.theme-light.theme-ramazan .price-table tbody tr:hover td:last-child,
body.theme-light.theme-ramazan .currency-table tbody tr:hover td:first-child,
body.theme-light.theme-ramazan .currency-table tbody tr:hover td:nth-child(2),
body.theme-light.theme-ramazan .currency-table tbody tr:hover td:last-child {
    background: rgba(44, 82, 130, 0.05) !important;
}

body.theme-light.theme-ramazan .price-table td:first-child,
body.theme-light.theme-ramazan .currency-table td:first-child {
    border-left: 4px solid #2c5282;
}

body.theme-light.theme-ramazan .price-value,
body.theme-light.theme-ramazan .currency-value,
body.theme-light.theme-ramazan .price-value.alis,
body.theme-light.theme-ramazan .price-value.satis,
body.theme-light.theme-ramazan .currency-value.alis,
body.theme-light.theme-ramazan .currency-value.satis {
    color: #1a1a1a !important;
    font-weight: 800;
}

body.theme-light.theme-ramazan .price-value.alis.updated.up,
body.theme-light.theme-ramazan .price-value.satis.updated.up,
body.theme-light.theme-ramazan .currency-value.alis.updated.up,
body.theme-light.theme-ramazan .currency-value.satis.updated.up {
    color: var(--success) !important;
    transition: none;
    animation: price-flash-up 0.6s ease-out;
}

body.theme-light.theme-ramazan .price-value.alis.updated.down,
body.theme-light.theme-ramazan .price-value.satis.updated.down,
body.theme-light.theme-ramazan .currency-value.alis.updated.down,
body.theme-light.theme-ramazan .currency-value.satis.updated.down {
    color: var(--error) !important;
    transition: none;
    animation: price-flash-down 0.6s ease-out;
}

body.theme-light.theme-ramazan .currency-card .price-card-header {
    border-left: 4px solid #2c5282;
}

body.theme-light.theme-ramazan .currency-name {
    color: #374151;
}

body.theme-light.theme-ramazan .currency-flag {
    border-color: rgba(44, 82, 130, 0.35);
}

body.theme-light.theme-ramazan .currency-code {
    background: linear-gradient(145deg, #eef4f9 0%, rgba(44, 82, 130, 0.1) 100%);
    border: 1px solid rgba(44, 82, 130, 0.3);
    color: #374151;
}

body.theme-light.theme-ramazan .footer {
    background: linear-gradient(0deg, #eef2f7 0%, #f5f7fa 100%);
    border-top: 3px solid #2c5282;
    box-shadow: 0 -2px 12px rgba(44, 82, 130, 0.1);
}

body.theme-light.theme-ramazan .footer-disclaimer,
body.theme-light.theme-ramazan .last-update {
    color: #1e4a6e;
}

body.theme-light.theme-ramazan .footer-disclaimer-icon {
    color: #2c5282;
}

body.theme-light.theme-ramazan .price-list-closed-view {
    background: radial-gradient(ellipse at center, #eef4f9 0%, #e2eaf2 60%, #f2f5f9 100%);
}

body.theme-light.theme-ramazan .price-list-closed-view .closed-view-box {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f2f5f9 100%);
    border: 2px solid #2c5282;
    box-shadow: 0 4px 20px rgba(44, 82, 130, 0.15);
}

body.theme-light.theme-ramazan .price-list-closed-view .closed-view-box::before {
    background: linear-gradient(90deg, transparent, #2c5282, #1e4a6e, transparent);
    opacity: 0.6;
}

body.theme-light.theme-ramazan .price-list-closed-view .closed-view-divider {
    background: linear-gradient(90deg, transparent, #2c5282, transparent);
}

body.theme-light.theme-ramazan .price-list-closed-view .closed-message {
    color: #1e4a6e;
}

body.theme-light.theme-ramazan .btn-fullscreen svg {
    stroke: #2c5282;
}

body.theme-light.theme-ramazan .btn-fullscreen:hover svg {
    stroke: #1e4a6e;
}

/* Ramazan’a özel: ezan kutusu ve logo */
body.theme-light.theme-ramazan .ezan-box {
    background: linear-gradient(180deg, #eef4f9 0%, #e2eaf2 100%);
    border: 1px solid rgba(44, 82, 130, 0.35);
}

body.theme-light.theme-ramazan .ezan-hilal {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
    filter: none;
}

body.theme-light.theme-ramazan .ezan-label {
    font-size: 0.75rem;
    color: #1e4a6e;
    font-weight: 600;
}

body.theme-light.theme-ramazan .ezan-time {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #2c5282;
    font-variant-numeric: tabular-nums;
}

body.theme-light.theme-ramazan .ezan-countdown {
    font-size: 0.8125rem;
    color: #1e4a6e;
    font-weight: 600;
}

body.theme-light.theme-ramazan .closed-ramazan-logo {
    filter: none;
}

/* ========== Ramazan Gece (siyaha yakın palet) ========== */
body.theme-dark.theme-ramazan {
    background: linear-gradient(165deg, #0a0e14 0%, #0d1117 35%, #161b22 70%, #0a0e14 100%);
}

body.theme-dark.theme-ramazan .header {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #1c2128 100%);
    border-bottom: 1px solid #30363d;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

body.theme-dark.theme-ramazan .header .logo {
    filter: invert(1);
}

body.theme-dark.theme-ramazan .header-ramazan-logo {
    filter: drop-shadow(0 0 8px rgba(88, 166, 255, 0.35));
}

body.theme-dark.theme-ramazan .brand-name,
body.theme-dark.theme-ramazan .brand-subtitle {
    color: #e6edf3;
}

body.theme-dark.theme-ramazan .header-branch-badge,
body.theme-dark.theme-ramazan .header-phone-badge {
    background: #21262d;
    border: 1px solid #30363d;
    color: #e6edf3;
}

body.theme-dark.theme-ramazan .header-connection-badge--live {
    background: rgba(35, 134, 54, 0.25);
    border-color: #238636;
    color: #3fb950;
}

body.theme-dark.theme-ramazan .btn {
    background: #21262d;
    border: 1px solid #30363d;
    color: #e6edf3;
}

body.theme-dark.theme-ramazan .btn:hover {
    background: #30363d;
    border-color: #484f58;
    color: #fff;
}

body.theme-dark.theme-ramazan .btn-toggle-list {
    background: linear-gradient(135deg, #388bfd 0%, #1f6feb 100%);
    color: #fff;
    border: none;
    font-weight: 600;
}

body.theme-dark.theme-ramazan .btn-fullscreen svg {
    stroke: #8b949e;
}
body.theme-dark.theme-ramazan .btn-fullscreen:hover svg {
    stroke: #e6edf3;
}
body.theme-dark.theme-ramazan .btn-user i {
    color: #8b949e;
}
body.theme-dark.theme-ramazan .btn-user:hover i {
    color: #e6edf3;
}

body.theme-dark.theme-ramazan .price-card,
body.theme-dark.theme-ramazan .currency-card {
    background: #161b22;
    border: 1px solid #30363d;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

body.theme-dark.theme-ramazan .price-card:hover,
body.theme-dark.theme-ramazan .currency-card:hover {
    border-color: #484f58;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

body.theme-dark.theme-ramazan .price-card-header {
    background: linear-gradient(135deg, #21262d 0%, #161b22 100%);
    border-left: 4px solid #58a6ff;
}

body.theme-dark.theme-ramazan .price-card-header::after {
    background: linear-gradient(90deg, transparent 0%, rgba(88, 166, 255, 0.15) 50%, transparent 100%);
    opacity: 0.8;
}

body.theme-dark.theme-ramazan .price-card-title {
    color: #e6edf3;
}

body.theme-dark.theme-ramazan .price-card-icon {
    color: #58a6ff;
    background: rgba(88, 166, 255, 0.12);
    border-color: rgba(88, 166, 255, 0.25);
}

body.theme-dark.theme-ramazan .price-table-wrapper,
body.theme-dark.theme-ramazan .currency-table-wrapper {
    background: #0d1117 !important;
}

body.theme-dark.theme-ramazan .price-table thead,
body.theme-dark.theme-ramazan .currency-table thead {
    background: #21262d !important;
    border: 1px solid #30363d;
    border-bottom: 2px solid #58a6ff;
}

body.theme-dark.theme-ramazan .price-table th,
body.theme-dark.theme-ramazan .currency-table th {
    color: #8b949e;
    background: transparent !important;
}

/* Gece tablosu: tüm hücreler aynı satır rengi - siyaha yakın */
body.theme-dark.theme-ramazan .price-table tbody tr {
    background: #161b22 !important;
    border-bottom: 1px solid #21262d;
}

body.theme-dark.theme-ramazan .price-table tbody tr:nth-child(even) {
    background: #0d1117 !important;
}

body.theme-dark.theme-ramazan .price-table tbody tr td,
body.theme-dark.theme-ramazan .price-table tbody tr td:first-child,
body.theme-dark.theme-ramazan .price-table tbody tr td:nth-child(2),
body.theme-dark.theme-ramazan .price-table tbody tr td:last-child,
body.theme-dark.theme-ramazan .currency-table tbody tr td,
body.theme-dark.theme-ramazan .currency-table tbody tr td:first-child,
body.theme-dark.theme-ramazan .currency-table tbody tr td:nth-child(2),
body.theme-dark.theme-ramazan .currency-table tbody tr td:last-child {
    background: #161b22 !important;
}

body.theme-dark.theme-ramazan .price-table tbody tr:nth-child(even) td,
body.theme-dark.theme-ramazan .price-table tbody tr:nth-child(even) td:first-child,
body.theme-dark.theme-ramazan .price-table tbody tr:nth-child(even) td:nth-child(2),
body.theme-dark.theme-ramazan .price-table tbody tr:nth-child(even) td:last-child,
body.theme-dark.theme-ramazan .currency-table tbody tr:nth-child(even) td,
body.theme-dark.theme-ramazan .currency-table tbody tr:nth-child(even) td:first-child,
body.theme-dark.theme-ramazan .currency-table tbody tr:nth-child(even) td:nth-child(2),
body.theme-dark.theme-ramazan .currency-table tbody tr:nth-child(even) td:last-child {
    background: #0d1117 !important;
}

body.theme-dark.theme-ramazan .price-table tbody tr:hover td,
body.theme-dark.theme-ramazan .price-table tbody tr:hover td:first-child,
body.theme-dark.theme-ramazan .price-table tbody tr:hover td:nth-child(2),
body.theme-dark.theme-ramazan .price-table tbody tr:hover td:last-child,
body.theme-dark.theme-ramazan .currency-table tbody tr:hover td,
body.theme-dark.theme-ramazan .currency-table tbody tr:hover td:first-child,
body.theme-dark.theme-ramazan .currency-table tbody tr:hover td:nth-child(2),
body.theme-dark.theme-ramazan .currency-table tbody tr:hover td:last-child {
    background: #21262d !important;
}

body.theme-dark.theme-ramazan .price-table td:first-child,
body.theme-dark.theme-ramazan .currency-table td:first-child {
    border-left: 4px solid #58a6ff;
}

body.theme-dark.theme-ramazan .currency-card .price-card-header {
    border-left: 4px solid #58a6ff;
}

body.theme-dark.theme-ramazan .currency-name {
    color: #e6edf3;
}

body.theme-dark.theme-ramazan .currency-flag {
    border-color: #30363d;
}

body.theme-dark.theme-ramazan .currency-code {
    background: #21262d;
    border: 1px solid #30363d;
    color: #8b949e;
}

body.theme-dark.theme-ramazan .price-value,
body.theme-dark.theme-ramazan .currency-value,
body.theme-dark.theme-ramazan .price-value.alis,
body.theme-dark.theme-ramazan .price-value.satis,
body.theme-dark.theme-ramazan .currency-value.alis,
body.theme-dark.theme-ramazan .currency-value.satis {
    color: #e6edf3 !important;
}

body.theme-dark.theme-ramazan .price-value.alis.updated.up,
body.theme-dark.theme-ramazan .price-value.satis.updated.up,
body.theme-dark.theme-ramazan .currency-value.alis.updated.up,
body.theme-dark.theme-ramazan .currency-value.satis.updated.up {
    color: var(--success) !important;
    transition: none;
    animation: price-flash-up 0.6s ease-out;
}

body.theme-dark.theme-ramazan .price-value.alis.updated.down,
body.theme-dark.theme-ramazan .price-value.satis.updated.down,
body.theme-dark.theme-ramazan .currency-value.alis.updated.down,
body.theme-dark.theme-ramazan .currency-value.satis.updated.down {
    color: var(--error) !important;
    transition: none;
    animation: price-flash-down 0.6s ease-out;
}

body.theme-dark.theme-ramazan .footer {
    background: linear-gradient(0deg, #0a0e14 0%, #0d1117 50%, #161b22 100%);
    border-top: 1px solid #30363d;
}

body.theme-dark.theme-ramazan .footer-disclaimer,
body.theme-dark.theme-ramazan .last-update {
    color: #8b949e;
}

body.theme-dark.theme-ramazan .ezan-box {
    background: #21262d;
    border: 1px solid #30363d;
}

body.theme-dark.theme-ramazan .ezan-hilal {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(88, 166, 255, 0.3));
}

body.theme-dark.theme-ramazan .ezan-label {
    font-size: 0.8125rem;
    color: #8b949e;
    font-weight: 600;
}

body.theme-dark.theme-ramazan .ezan-time {
    font-size: 1rem;
    font-weight: 800;
    color: #58a6ff;
    font-variant-numeric: tabular-nums;
}

body.theme-dark.theme-ramazan .ezan-countdown {
    font-size: 0.875rem;
    color: #e6edf3;
    font-weight: 600;
}

body.theme-dark.theme-ramazan .price-list-closed-view {
    background: radial-gradient(ellipse at center, #0a0e14 0%, #010409 100%);
}

body.theme-dark.theme-ramazan .price-list-closed-view .closed-view-box {
    background: linear-gradient(180deg, #161b22 0%, #0d1117 100%);
    border: 2px solid #30363d;
}

body.theme-dark.theme-ramazan .price-list-closed-view .closed-message {
    color: #e6edf3;
}

body.theme-dark.theme-ramazan .closed-ramazan-logo {
    filter: drop-shadow(0 0 10px rgba(88, 166, 255, 0.25));
}

/* ========== Tema: Gece (koyu mavi / siyah) ========== */
body.theme-dark {
    background: linear-gradient(160deg, #0f172a 0%, #0c1222 50%, #070b14 100%);
}

body.theme-dark .header {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-bottom: 1px solid #334155;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

body.theme-dark .header .logo {
    filter: invert(1);
}

body.theme-dark .brand-name,
body.theme-dark .brand-subtitle { color: #e2e8f0; }
body.theme-dark .brand-subtitle { opacity: 0.85; }

body.theme-dark .header-branch-badge,
body.theme-dark .header-phone-badge {
    background: #334155;
    border-color: #475569;
    color: #cbd5e1;
}
body.theme-dark .header-branch-badge i,
body.theme-dark .header-phone-badge i { color: #94a3b8; }

body.theme-dark .header-connection-badge--live {
    background: linear-gradient(180deg, #064e3b 0%, #065f46 100%);
    border-color: #047857;
    color: #6ee7b7;
}
body.theme-dark .header-connection-badge--live .badge-dot { background: #34d399; }
body.theme-dark .header-connection-badge--error { color: #fca5a5; }

body.theme-dark .btn {
    background: #334155;
    border-color: #475569;
    color: #e2e8f0;
}
body.theme-dark .btn:hover {
    background: #475569;
    border-color: #64748b;
    color: #f8fafc;
}
body.theme-dark .btn-toggle-list {
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    color: #f8fafc;
}

body.theme-dark .btn-fullscreen svg {
    stroke: #94a3b8;
}
body.theme-dark .btn-fullscreen:hover svg {
    stroke: #e2e8f0;
}
body.theme-dark .btn-user i {
    color: #94a3b8;
}
body.theme-dark .btn-user:hover i {
    color: #e2e8f0;
}

body.theme-dark .price-card,
body.theme-dark .currency-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
body.theme-dark .price-card:hover,
body.theme-dark .currency-card:hover {
    border-color: #475569;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

body.theme-dark .price-card-header {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    border-left: 4px solid #64748b;
}
body.theme-dark .price-card-header::after {
    background: linear-gradient(90deg, transparent, #475569, transparent);
}
body.theme-dark .price-card-title { color: #f1f5f9; }
body.theme-dark .price-card-icon {
    background: #334155;
    border-color: #475569;
    color: #94a3b8;
    box-shadow: none;
}

body.theme-dark .price-table-wrapper,
body.theme-dark .currency-table-wrapper {
    background: #1e293b;
}

body.theme-dark .price-table thead,
body.theme-dark .currency-table thead {
    background: #334155;
    border-color: #475569;
    border-bottom-color: #475569;
}
body.theme-dark .price-table th,
body.theme-dark .currency-table th {
    color: #94a3b8;
}

body.theme-dark .price-table tbody tr {
    background: #1e293b;
    border-bottom-color: #334155;
}
body.theme-dark .price-table tbody tr:nth-child(even) {
    background: #172033;
}
body.theme-dark .price-table tbody tr:hover,
body.theme-dark .currency-table tbody tr:hover {
    background: #334155 !important;
}
body.theme-dark .price-table tbody tr:hover td:first-child,
body.theme-dark .price-table tbody tr:hover td:nth-child(2),
body.theme-dark .price-table tbody tr:hover td:last-child,
body.theme-dark .currency-table tbody tr:hover td:first-child,
body.theme-dark .currency-table tbody tr:hover td:nth-child(2),
body.theme-dark .currency-table tbody tr:hover td:last-child {
    background: #334155 !important;
}

body.theme-dark .price-table td:first-child,
body.theme-dark .currency-table,
body.theme-dark .currency-table tbody,
body.theme-dark .currency-table td {
    background: #1e293b !important;
}
body.theme-dark .price-table tbody tr:nth-child(even) td,
body.theme-dark .price-table tbody tr:nth-child(even) td:first-child {
    background: #172033 !important;
}
body.theme-dark .currency-table tbody tr:nth-child(even),
body.theme-dark .currency-table tbody tr:nth-child(even) td {
    background: #172033 !important;
}
body.theme-dark .currency-table td:first-child {
    border-left-color: #64748b;
}
body.theme-dark .price-table td:first-child { color: #e2e8f0; }
body.theme-dark .currency-name { color: #e2e8f0; }

body.theme-dark .price-value,
body.theme-dark .currency-value,
body.theme-dark .price-value.alis {
    color: #e2e8f0;
}

body.theme-dark .currency-flag { border-color: #475569; }
body.theme-dark .currency-code {
    background: #334155;
    border-color: #475569;
    color: #94a3b8;
}

body.theme-dark .footer {
    background: linear-gradient(0deg, #1e293b 0%, #0f172a 100%);
    border-top-color: #334155;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}
body.theme-dark .footer-disclaimer,
body.theme-dark .last-update { color: #94a3b8; }

body.theme-dark .price-list-closed-view {
    background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.5) 0%, rgba(7, 11, 20, 0.8) 100%);
}
body.theme-dark .price-list-closed-view .closed-view-box {
    background: linear-gradient(180deg, #1e293b 0%, #172033 100%);
    border-color: #475569;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
body.theme-dark .price-list-closed-view .closed-view-box::before {
    background: linear-gradient(90deg, transparent, #64748b, transparent);
}
body.theme-dark .price-list-closed-view .closed-message { color: #e2e8f0; }
body.theme-dark .price-list-closed-view .closed-view-divider {
    background: linear-gradient(90deg, transparent, #64748b, transparent);
}
    