/* GoldenStat Custom Styles */

:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --header-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --footer-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --accent-gold: #fbbf24;
    --tab-bg: #ffffff;
    --tab-hover: #f1f5f9;
    --tab-active: #2563eb;
}

body {
    background-color: #f1f5f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Swedish flag icon */
.flag-icon {
    display: inline-block;
    vertical-align: -1px;
    border-radius: 2px;
}

.flag-icon-lg {
    display: inline-block;
    vertical-align: middle;
    border-radius: 2px;
}

.flag-icon-hero {
    display: inline-block;
    border-radius: 3px;
}

/* League Selector */
.league-selector {
    gap: 6px;
}

.league-btn {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.league-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.league-btn.active {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* Stockholmsserien button: lighter blue */
.league-btn[href="/"]:not(.active) {
    border-color: rgba(96, 165, 250, 0.5);
}

.league-btn[href="/"].active {
    background: #3b82f6;
    border-color: #3b82f6;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
}

@media (max-width: 576px) {
    .league-btn {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* Sticky Tab Navigation */
.sticky-tabs {
    position: sticky;
    top: 80px;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--light-color);
}


.sticky-tabs .nav-tabs {
    border-bottom: none;
    margin-bottom: 0;
}

.sticky-tabs .nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 0;
}

.sticky-tabs .nav-link:hover {
    color: var(--primary-color);
    background-color: var(--tab-hover);
    border-bottom-color: var(--primary-color);
}

.sticky-tabs .nav-link.active {
    color: var(--tab-active);
    background-color: white;
    border-bottom-color: var(--tab-active);
}

.container.mt-4 {
    flex: 1;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.card-clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    border: 2px solid #007bff;
}

.card-clickable {
    transition: all 0.2s ease-in-out;
}

.display-4 {
    font-weight: 700;
    background: linear-gradient(45deg, #007bff, #28a745);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-container {
    position: relative;
}

/* Old rule removed - now handled by .search-input-wrapper rules */

.list-group-item-action:hover {
    background-color: #e9ecef;
}

.stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Statistics display improvements */
.stat-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0.25rem;
}

.stat-item.stat-highlight {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.stat-item.stat-highlight .stat-value {
    font-size: 1.4rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
    font-weight: 500;
}

.progress-custom {
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-custom .progress-bar {
    border-radius: 10px;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
}

.badge-custom {
    font-size: 0.8rem;
    padding: 0.4em 0.8em;
    border-radius: 20px;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 20px 0;
}

.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}

/* Success/Error states */
.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #b8dacc;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f1aeb5 100%);
    border-color: #f0a3aa;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #b8daff 100%);
    border-color: #abd5ea;
}

/* Custom button styles */
.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* Animation classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Chart styling */
.chart-legend {
    text-align: center;
    margin-top: 15px;
}

.chart-legend ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.chart-legend li {
    margin: 0 15px;
    display: flex;
    align-items: center;
}

.chart-legend .legend-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    margin-right: 8px;
}

/* Dart Score Color Coding */
.score-180 {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%) !important;
    color: white !important;
    font-weight: bold !important;
    border: 2px solid #198754 !important;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.4) !important;
}

.score-140-179 {
    background: linear-gradient(135deg, #0d6efd 0%, #084298 100%) !important;
    color: white !important;
    border: 2px solid #0d6efd !important;
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.3) !important;
}

.score-101-139 {
    background: linear-gradient(135deg, #0dcaf0 0%, #087990 100%) !important;
    color: white !important;
    border: 2px solid #0dcaf0 !important;
    box-shadow: 0 2px 6px rgba(13, 202, 240, 0.3) !important;
}

.score-100 {
    background: linear-gradient(135deg, #ffc107 0%, #d39e00 100%) !important;
    color: #212529 !important;
    font-weight: 600 !important;
    border: 2px solid #ffc107 !important;
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.3) !important;
}

.score-61-99 {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%) !important;
    color: #664d03 !important;
    border: 2px solid #ffdf7e !important;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.2) !important;
}

.score-60 {
    background: linear-gradient(135deg, #d1e7dd 0%, #a3cfbb 100%) !important;
    color: #0f5132 !important;
    border: 2px solid #badbcc !important;
}

.score-under-60 {
    background: #f8f9fa !important;
    color: #6c757d !important;
    border: 1px solid #dee2e6 !important;
}

/* Clickable table rows and cards */
.table-row-clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.table-row-clickable:hover {
    background-color: #e3f2fd !important;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.1);
}

.card-clickable {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
}

.card-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.15);
    border-color: #007bff;
    background-color: #f8f9ff;
}

/* Player name links */
.player-link {
    color: #007bff;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.2s ease;
    background-color: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.player-link:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ========== MODERN HEADER STYLES ========== */
.header-modern {
    background: var(--header-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.header-modern .navbar {
    padding: 1rem 0;
    min-height: 80px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.dart-icon {
    font-size: 24px;
    line-height: 1;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo-icon:hover .logo-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.brand-text {
    line-height: 1.2;
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -2px;
    display: block;
}

.header-modern .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 0.25rem;
}

.header-modern .nav-link:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.header-modern .nav-link.active {
    color: var(--accent-gold) !important;
    background-color: rgba(255, 215, 0, 0.15);
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* ========== MODERN FOOTER STYLES ========== */
.footer-modern {
    background: var(--footer-bg);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
}

.footer-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    border-radius: 8px;
    padding: 4px;
}

.footer-brand .dart-icon {
    font-size: 20px;
}

.footer-brand .logo-image {
    border-radius: 4px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-title {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 20px;
}

.footer-links a:hover::before {
    transform: translateX(5px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.contact-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 2rem 0 1rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-version {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-style: italic;
}

/* ========== MINIMAL FOOTER (HEADER SIZE) ========== */
.footer-minimal {
    background: var(--header-bg);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    min-height: 64px;
    position: sticky;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: auto;
    flex-shrink: 0;
    z-index: 1000;
}

.footer-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
}

.footer-gif-container {
    position: relative;
}

.footer-gif-minimal {
    max-height: 40px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.footer-gif-minimal:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

/* ========== MOBILE FIRST RESPONSIVE DESIGN ========== */

/* Base mobile styles (already defined above) */

/* Tablet and up */
@media (min-width: 768px) {
    .sticky-tabs .nav-link {
        font-size: 1.2rem;
        padding: 1.25rem 2.5rem;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .header-modern .navbar {
        padding: 0.75rem 0;
        min-height: 70px;
    }

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

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .dart-icon {
        font-size: 20px;
    }

    .footer-minimal {
        min-height: 56px;
    }

    .footer-gif-minimal {
        max-height: 36px;
    }
}

/* Mobile overrides */
@media (max-width: 767px) {
    .sticky-tabs .nav-link {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }

    .header-modern .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-modern .nav-link {
        text-align: center;
        margin: 0.25rem 0;
    }

    .footer-minimal {
        min-height: 48px;
    }

    .footer-gif-minimal {
        max-height: 32px;
    }

    .card {
        border-radius: 12px;
    }

    .card-body {
        padding: 1rem;
    }
}
/* Player name clickable links */
.player-name-link {
    color: #2563eb;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px dotted #2563eb;
    transition: all 0.2s ease;
}

.player-name-link:hover {
    color: #1d4ed8;
    border-bottom: 1px solid #1d4ed8;
    background-color: rgba(37, 99, 235, 0.05);
}

/* ========== NEWS BANNER ========== */
.news-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.news-banner-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.1rem;
}

.news-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.news-banner-body {
    padding: 1rem 1.25rem;
}

.news-item {
    display: flex;
    align-items: flex-start;
    padding: 0.6rem 0;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item-icon {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.news-item strong {
    color: #fbbf24;
}

.news-item-link {
    display: flex;
    align-items: flex-start;
    padding: 0.6rem 0.75rem;
    margin: 0 -0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.news-item-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.news-item-link strong {
    color: #fbbf24;
}

/* ========== PLAYER SEARCH HERO ========== */
.search-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.search-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.search-hero-subtitle {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.search-box-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    text-align: left;
}

.search-input-wrapper #searchSuggestions,
.search-input-wrapper #teamSearchSuggestions {
    position: absolute;
    left: 0;
    right: auto;
    top: 100%;
    z-index: 1050;
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-height: 180px;
    overflow-y: auto;
    min-width: 200px;
    max-width: 300px;
    width: auto;
}

.search-input-wrapper #searchSuggestions .list-group-item,
.search-input-wrapper #teamSearchSuggestions .list-group-item {
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
    text-align: left;
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.search-input-wrapper #searchSuggestions .list-group-item:last-child,
.search-input-wrapper #teamSearchSuggestions .list-group-item:last-child {
    border-bottom: none;
}

/* ========== SORTABLE TABLE HEADERS ========== */
.sortable-header {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.sortable-header:hover {
    background-color: #e9ecef;
}

.sort-indicator {
    font-size: 0.7rem;
    color: #007bff;
    margin-left: 2px;
}

.mobile-sort-btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
}

.mobile-sort-btn .sort-indicator {
    font-size: 0.65rem;
}

@media (max-width: 767px) {
    .news-banner-header {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }

    .news-banner-body {
        padding: 0.75rem 1rem;
    }

    .news-item {
        font-size: 0.9rem;
    }

    .search-hero {
        padding: 1.5rem 1rem;
    }

    .search-hero-title {
        font-size: 1.4rem;
    }
}

/* ========== PLAYER CARDS (Alla spelare) ========== */
.player-cards-sort-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.player-cards-sort-bar .sort-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-right: 0.2rem;
}

.player-cards-sort-bar .sort-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    background: #fff;
    color: #495057;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.player-cards-sort-bar .sort-btn:hover {
    border-color: #007bff;
    color: #007bff;
}

.player-cards-sort-bar .sort-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

.player-cards-sort-bar .sort-btn .sort-arrow {
    font-size: 0.65rem;
    margin-left: 0.15rem;
}

.player-cards-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.player-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.65rem 0.85rem;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.player-card:hover {
    border-color: #c8d6e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.player-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.player-card-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.player-card-name a {
    color: #2c3e50;
    text-decoration: none;
}

.player-card-name a:hover {
    color: #007bff;
    text-decoration: underline;
}

.player-card-avg {
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.15rem 0.5rem;
    border-radius: 0.75rem;
    min-width: 2.5rem;
    text-align: center;
}

.player-card-avg.avg-high {
    background: #d4edda;
    color: #155724;
}

.player-card-avg.avg-mid {
    background: #fff3cd;
    color: #856404;
}

.player-card-avg.avg-low {
    background: #f8d7da;
    color: #721c24;
}

.trend-icon {
    font-size: 0.85em;
    margin-left: 4px;
    cursor: default;
}
.trend-hot { color: #dc3545; }
.trend-up { color: #28a745; }
.trend-neutral { color: #6c757d; }
.trend-down { color: #fd7e14; }
.trend-cold { color: #17a2b8; }

.trend-legend {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    background: #f0f4f8;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #475569;
    flex-wrap: wrap;
}

.trend-legend-label {
    font-weight: 600;
    color: #334155;
}

.trend-legend-item {
    white-space: nowrap;
}

@media (max-width: 576px) {
    .trend-legend {
        gap: 0.4rem 0.6rem;
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }

    .trend-legend-label {
        width: 100%;
        margin-bottom: 0.1rem;
    }
}

.player-card-stats {
    display: flex;
    gap: 1.5rem;
}

.player-card-stat {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
}

.player-card-stat .stat-label {
    color: #6c757d;
}

.player-card-stat .stat-value {
    font-weight: 500;
    color: #495057;
}

.player-card-stat .stat-pct {
    font-weight: 600;
}

.player-card-stat .stat-pct.pct-good {
    color: #28a745;
}

.player-card-stat .stat-pct.pct-bad {
    color: #dc3545;
}

.player-card-teams {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid #eee;
    font-size: 0.75rem;
}

@media (min-width: 577px) {
    .player-card {
        padding: 0.75rem 1rem;
    }

    .player-card-name {
        font-size: 1rem;
    }

    .player-card-avg {
        font-size: 1.05rem;
        padding: 0.2rem 0.6rem;
    }

    .player-card-stat {
        font-size: 0.9rem;
    }

    .player-cards-sort-bar .sort-btn {
        font-size: 0.85rem;
        padding: 0.3rem 0.65rem;
    }
}

@media (max-width: 576px) {
    .player-card {
        padding: 0.55rem 0.7rem;
    }

    .player-card-name {
        font-size: 0.85rem;
    }

    .player-card-avg {
        font-size: 0.85rem;
    }

    .player-card-stats {
        flex-wrap: wrap;
        gap: 0.15rem 1rem;
    }

    .player-card-stat {
        font-size: 0.75rem;
    }
}

/* Doubles Pairs Styles */
/* ========== LINEUP ========== */

.lineup-position-card {
    background: white;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    border-left: 4px solid #e5e7eb;
}

.lineup-position-card:has(.badge[style*="2563eb"]) { border-left-color: #2563eb; }
.lineup-position-card:has(.badge[style*="16a34a"]) { border-left-color: #16a34a; }
.lineup-position-card:has(.badge[style*="d97706"]) { border-left-color: #d97706; }

.lineup-player {
    border-bottom: 1px solid #f1f5f9;
}

.lineup-player:last-child {
    border-bottom: none;
}

.lineup-players-list {
    padding-left: 0.25rem;
}

@media (max-width: 576px) {
    .lineup-position-card {
        padding: 0.75rem;
    }
    .lineup-bar-container {
        display: none;
    }
}

.d-show-mobile {
    display: none;
}

.d-show-mobile-row {
    display: none;
}

/* ========== DOUBLES PAIRS ========== */

.doubles-pairs-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.doubles-player-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.doubles-player-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.doubles-player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 2px solid #cbd5e1;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.doubles-player-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.doubles-player-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
}

.doubles-player-positions {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.doubles-player-header .badge {
    background-color: #2563eb !important;
    color: white;
    font-weight: 500;
}

.doubles-partners-list {
    padding: 0.5rem;
}

.doubles-partner-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0.75rem;
    margin: 0.375rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fafbfc;
    transition: all 0.15s ease;
}

.doubles-partner-row:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.partner-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.partner-name {
    font-weight: 500;
    color: #334155;
}

.partner-positions {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.position-badge {
    font-size: 0.75rem;
    font-weight: 500;
    background: #e2e8f0;
    color: #475569;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.partner-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.125rem;
    font-size: 0.85rem;
}

.partner-matches {
    color: #64748b;
}

.position-badge-label {
    font-weight: 700;
    color: #334155;
}

.partner-average {
    color: #475569;
    font-weight: 600;
}

.partner-winrate {
    font-weight: 600;
}

@media (max-width: 576px) {
    .doubles-partner-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .partner-stats {
        align-items: flex-start;
        flex-direction: row;
        gap: 0.75rem;
    }

    .doubles-date-block .table th.d-hide-mobile,
    .doubles-date-block .table td.d-hide-mobile,
    .doubles-player-card .table th.d-hide-mobile,
    .doubles-player-card .table td.d-hide-mobile {
        display: none;
    }

    .d-show-mobile {
        display: inline !important;
    }

    .d-show-mobile-row {
        display: table-row !important;
    }

    .d-show-mobile-row td {
        padding-top: 0 !important;
        border-top: none !important;
    }

    .doubles-date-block .table,
    .doubles-player-card .table {
        font-size: 0.75rem;
    }

    .doubles-date-block .table th,
    .doubles-date-block .table td,
    .doubles-player-card .table th,
    .doubles-player-card .table td {
        padding: 0.2rem 0.25rem;
    }

    .doubles-player-card {
        padding: 0.5rem;
    }

    .doubles-player-card .doubles-player-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* ========== COMPARE TEAMS ========== */

.compare-selects {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}

.compare-select-group {
    flex: 1;
}

.compare-vs {
    font-weight: 700;
    font-size: 1.1rem;
    color: #64748b;
    padding-bottom: 0.4rem;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.compare-swap-btn {
    background: none;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.15rem 0.5rem;
    line-height: 1;
    transition: all 0.15s ease;
}

.compare-swap-btn:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
}

/* Compare result layout */
.compare-header {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    margin-bottom: 0.25rem;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 700;
    color: #334155;
}

.compare-legend {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #e0f2fe, #ede9fe);
    border-radius: 8px;
    border: 1px solid #c7d2fe;
}

.compare-legend-note {
    width: 100%;
    text-align: center;
    font-size: 0.72rem;
    color: #94a3b8;
}

.compare-venue-note {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: #94a3b8;
}

.compare-header-team {
    flex: 1;
    text-align: center;
}

.compare-header-pos {
    width: 60px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.compare-block {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #f1f5f9;
}

.compare-block:last-child {
    border-bottom: none;
}

.compare-block-doubles {
    background: #f8fafc;
}

.compare-side {
    flex: 1;
    padding: 0.6rem 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.compare-side-a {
    text-align: right;
}

.compare-side-b {
    text-align: left;
}

.compare-position {
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    flex-shrink: 0;
}

.compare-position-icon {
    font-size: 0.75rem;
    line-height: 1;
}

.compare-position-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: #334155;
}

.compare-player {
    margin: 0.15rem 0;
}

.compare-player-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
}

.compare-player-stats {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
}

.compare-team-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.15rem;
    letter-spacing: 0.03em;
}

@media (max-width: 576px) {
    .compare-selects {
        flex-direction: column;
        gap: 0.5rem;
    }

    .compare-vs {
        padding: 0;
    }
}

@media (max-width: 767.98px) {
    .compare-header {
        display: none;
    }

    .compare-block {
        flex-direction: column;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        overflow: hidden;
    }

    .compare-position {
        order: -1;
        width: 100%;
        flex-direction: row;
        gap: 0.4rem;
        padding: 0.35rem 0.75rem;
        background: #e2e8f0;
    }

    .compare-side {
        text-align: left;
        padding: 0.5rem 0.75rem;
    }

    .compare-side-a {
        text-align: left;
        border-bottom: 1px dashed #e2e8f0;
    }
}

/* ========== RIKSSERIEN PURPLE THEME ========== */

/* --- B. Extended CSS Variables --- */
.riksserien-theme {
    --primary-color: #7c3aed;
    --primary-dark: #4c1d95;
    --primary-light: #a78bfa;
    --primary-ultralight: #ede9fe;
    --primary-ghost: #f5f3ff;
    --card-accent: #c4b5fd;
    --body-bg: #f5f3ff;
    --header-bg: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 100%);
    --footer-bg: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 100%);
    --tab-active: #7c3aed;
    --accent-gold: #a78bfa;
}

.riksserien-theme body,
.riksserien-theme {
    background-color: #f5f3ff;
}

/* --- A. League Hero Banner (shared) --- */
.league-hero {
    padding: 1.25rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.league-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
}

.league-hero-content {
    position: relative;
    z-index: 1;
}

.league-hero-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.25rem;
}

.league-hero-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.league-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0.15rem 0 0;
    font-weight: 400;
}

@media (max-width: 576px) {
    .league-hero {
        padding: 0.9rem 0;
    }
    .league-hero-icon {
        font-size: 1.4rem;
    }
    .league-hero-title {
        font-size: 1.15rem;
    }
    .league-hero-subtitle {
        font-size: 0.75rem;
    }
}

/* Riksserien hero */
.riksserien-hero {
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #7c3aed 100%);
}

.riksserien-hero::before {
    background: radial-gradient(circle at 30% 50%, rgba(167, 139, 250, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(196, 181, 253, 0.1) 0%, transparent 50%);
}

/* Stockholmsserien hero */
.stockholm-hero {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
}

.stockholm-hero::before {
    background: radial-gradient(circle at 30% 50%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(147, 197, 253, 0.1) 0%, transparent 50%);
}

/* --- Sticky tabs hover/active borders --- */
.riksserien-theme .sticky-tabs .nav-link:hover {
    color: #7c3aed;
    border-bottom-color: #7c3aed;
}

.riksserien-theme .sticky-tabs .nav-link.active {
    color: #7c3aed;
    border-bottom-color: #7c3aed;
}

/* --- C. Card Style Overrides --- */
.riksserien-theme .card {
    border-left: 4px solid #c4b5fd;
    border-color: rgba(196, 181, 253, 0.4);
    box-shadow: 0 4px 6px rgba(124, 58, 237, 0.06);
}

.riksserien-theme .card:hover {
    border-color: #7c3aed;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.15);
}

.riksserien-theme .card-header.bg-primary,
.riksserien-theme .card .card-header.bg-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
}

.riksserien-theme .card-clickable:hover {
    background-color: #f5f3ff;
}

/* --- D. Search Hero Override --- */
.riksserien-theme .search-hero {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #ddd6fe 100%);
}

.riksserien-theme .search-hero h2,
.riksserien-theme .search-hero .search-title {
    color: #4c1d95;
}

.riksserien-theme .search-hero .btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border: none;
}

.riksserien-theme .search-hero .btn-primary:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

/* --- E. News Banner Override --- */
.riksserien-theme .news-banner {
    background: linear-gradient(135deg, #3b0764 0%, #4c1d95 100%);
}

.riksserien-theme .news-banner .news-accent,
.riksserien-theme .news-banner .accent-text {
    color: #c4b5fd;
}

/* --- F. Match Card Override (series_matches) --- */
.riksserien-theme .match-card {
    border: 1px solid rgba(196, 181, 253, 0.4);
    border-left: 4px solid #c4b5fd;
}

.riksserien-theme .match-card:hover,
.riksserien-theme .match-card:focus {
    border-color: #7c3aed;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.riksserien-theme .week-header {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-left-color: #7c3aed;
}

.riksserien-theme .week-header h5 {
    color: #4c1d95;
}

/* Division header */
.riksserien-theme .division-header {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

/* --- G. Table Styling --- */
.riksserien-theme .table thead th {
    background-color: #f5f3ff;
    color: #4c1d95;
}

.riksserien-theme .table tbody tr[onclick]:hover,
.riksserien-theme .table tbody tr.clickable:hover {
    background-color: #ede9fe;
}

/* --- H. Buttons, Badges, Form Focus, Spinner --- */
.riksserien-theme .btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border: none;
}

.riksserien-theme .btn-primary:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

.riksserien-theme .badge.bg-primary {
    background-color: #7c3aed !important;
}

.riksserien-theme input:focus,
.riksserien-theme select:focus,
.riksserien-theme textarea:focus,
.riksserien-theme .form-control:focus,
.riksserien-theme .form-select:focus {
    border-color: #a78bfa;
    box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.25);
}

.riksserien-theme .spinner-border {
    color: #7c3aed;
}

/* --- I. Player Links --- */
.riksserien-theme .player-link {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.2);
}

.riksserien-theme .player-link:hover {
    color: #fff;
    background: #7c3aed;
}

.riksserien-theme .player-name-link {
    color: #7c3aed;
    border-bottom-color: #7c3aed;
}

.riksserien-theme .player-name-link:hover {
    color: #4c1d95;
    border-color: #4c1d95;
    background: rgba(124, 58, 237, 0.05);
}

.riksserien-theme .sort-btn.active {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #fff;
}

.riksserien-theme .sort-btn:hover {
    border-color: #7c3aed;
    color: #7c3aed;
}

/* --- J. Stats Card --- */
.riksserien-theme .stats-card {
    background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
}

/* --- Footer & Logo (kept from original) --- */
.riksserien-theme .footer-minimal::before {
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.6), transparent);
}

.riksserien-theme .logo-icon {
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.3);
}

.riksserien-theme .logo-icon:hover {
    box-shadow: 0 6px 20px rgba(167, 139, 250, 0.4);
}

/* =======================================
   CUPS THEME
   ======================================= */

.cups-theme {
    --primary-color: #d97706;
    --primary-dark: #92400e;
    --primary-light: #fbbf24;
    --primary-ultralight: #fef3c7;
    --primary-ghost: #fffbeb;
}

.cups-theme body,
.cups-theme {
    background-color: #fffbeb;
}

/* Cups hero */
.cups-hero {
    background: linear-gradient(135deg, #92400e 0%, #b45309 50%, #d97706 100%);
}

.cups-hero::before {
    background: radial-gradient(circle at 30% 50%, rgba(251, 191, 36, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(253, 224, 71, 0.1) 0%, transparent 50%);
}

/* Cups button active */
.league-btn.cups-btn.active {
    background: #d97706;
    border-color: #d97706;
    box-shadow: 0 2px 10px rgba(217, 119, 6, 0.4);
}

.league-btn.cups-btn:not(.active) {
    border-color: rgba(251, 191, 36, 0.5);
}

/* Cups group/round headers */
.cups-group-header {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 4px solid #d97706;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #92400e;
    border-radius: 0 6px 6px 0;
}

/* Cups match table */
.cups-match-table tbody tr:hover {
    background-color: #fef3c7;
}

/* Cups leg table - checkout highlight */
.cups-checkout {
    background-color: #d1fae5 !important;
    font-weight: 700;
    color: #065f46;
}

/* Cups leg table */
.cups-leg-table thead th {
    font-size: 0.8rem;
}

/* Cups phase tabs */
.cups-phase-tabs .nav-link {
    color: #92400e;
    font-weight: 600;
}

.cups-phase-tabs .nav-link.active {
    color: #d97706;
    border-bottom-color: #d97706;
}

.cups-phase-tabs .nav-link:hover {
    color: #b45309;
    border-bottom-color: #b45309;
}

/* Tournament list mobile cards */
.tournament-mobile-card {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dee2e6;
    text-decoration: none;
    color: inherit;
}
.tournament-mobile-card:hover {
    background-color: #f8f9fa;
    color: inherit;
}
.tournament-mobile-card:last-child {
    border-bottom: none;
}

/* Player search match mobile cards */
.player-match-mobile-card {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #dee2e6;
}
.player-match-mobile-card:last-child {
    border-bottom: none;
}

/* Phase badge colors for player match list */
.bg-cups-pool { background-color: #6c757d !important; }
.bg-cups-knockout { background-color: #0d6efd !important; }
.bg-cups-quarter { background-color: #6f42c1 !important; }
.bg-cups-semi { background-color: #8d99a6 !important; }
.bg-cups-final { background-color: #d4a017 !important; }
.bg-cups-b-knockout { background-color: #5b9bd5 !important; }
.bg-cups-b-quarter { background-color: #a78bca !important; }
.bg-cups-b-semi { background-color: #b0b8c4 !important; }
.bg-cups-b-final { background-color: #e0c068 !important; }

/* Collapsible sections */
.collapse-section {
    max-height: 10000px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.collapse-section.collapsed {
    max-height: 0;
}

.collapse-icon {
    transition: transform 0.2s ease;
    font-size: 0.75rem;
}

/* Cups theme cards */
.cups-theme .card {
    border-left: 4px solid #fbbf24;
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 4px 6px rgba(217, 119, 6, 0.06);
}

.cups-theme .card:hover {
    border-color: #d97706;
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.15);
}

.cups-theme .card-header.bg-dark {
    background: linear-gradient(135deg, #92400e 0%, #78350f 100%) !important;
}

.cups-theme .table thead th {
    background-color: #fffbeb;
    color: #92400e;
}

.cups-theme .spinner-border {
    color: #d97706;
}

.cups-theme .btn-outline-secondary {
    color: #92400e;
    border-color: #d97706;
}

.cups-theme .btn-outline-secondary:hover {
    background: #d97706;
    border-color: #d97706;
    color: #fff;
}

.cups-theme .footer-minimal::before {
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.6), transparent);
}

.cups-theme .logo-icon {
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.cups-theme .logo-icon:hover {
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}
