/* Unified Crypto Data Interface - Themed Redesign */
:root {
    --crypto-primary: #764ba2;
    --crypto-primary-light: #00f2fe;
    --crypto-secondary: rgba(255, 255, 255, 0.7);
    --crypto-success: #27ae60;
    --crypto-danger: #e74c3c;
    --crypto-warning: #f39c12;
    --crypto-info: #00f2fe;
    --crypto-light: rgba(255, 255, 255, 0.05);
    --crypto-dark: #0a0e27;
    --crypto-bg: transparent;
    --crypto-border: rgba(255, 255, 255, 0.1);
    --crypto-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --crypto-radius: 20px;
    --crypto-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --crypto-font: 'Inter', -apple-system, BlinkMacSystemFont, Roboto, 'Segoe UI', sans-serif;
    /* REMOVED: --gradient-primary redefinition.
       This is now defined exclusively in design-system.css.
       Crypto components should use var(--gradient-primary) which inherits from :root. */
}

/* Main Container */
.crypto-unified-container {
    font-family: var(--crypto-font);
    background: transparent;
    border-radius: var(--crypto-radius);
    overflow: visible;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Content Container */
.crypto-unified-content {
    position: relative;
    min-height: 200px;
}

/* Header Section - Floating Animated Design */
.crypto-unified-header {
    background: linear-gradient(135deg, 
        rgba(118, 75, 162, 0.95) 0%, 
        rgba(0, 242, 254, 0.85) 100%);
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(118, 75, 162, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(20px);
}

.crypto-unified-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.8), 
        transparent);
    animation: scanline 3s linear infinite;
}

.crypto-unified-header h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.crypto-unified-header h3 i {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.crypto-unified-header p {
    margin: 0;
    opacity: 0.95;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Search Section - Glass Morphism Card */
.crypto-unified-search {
    padding: 1.75rem;
    background: linear-gradient(135deg, 
        rgba(10, 14, 39, 0.95) 0%, 
        rgba(26, 31, 58, 0.9) 100%);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 20px;
    margin-bottom: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.search-input-container {
    display: flex;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: stretch;
}

#unified-symbol-input {
    flex: 1;
    padding: 1.25rem 1.75rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 1.1rem;
    font-family: var(--crypto-font);
    transition: var(--crypto-transition);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: 400;
}

#unified-symbol-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#unified-symbol-input:focus {
    outline: none;
    border-color: #00f2fe;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(0, 242, 254, 0.1),
                0 8px 20px rgba(0, 242, 254, 0.2);
    transform: translateY(-2px);
}

.search-btn {
    background: linear-gradient(135deg, #764ba2 0%, #00f2fe 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--crypto-transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.4);
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s;
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(118, 75, 162, 0.6),
                0 0 30px rgba(0, 242, 254, 0.3);
}

.search-btn:active {
    transform: translateY(-1px);
}

.search-btn i {
    font-size: 1.2rem;
}

/* Search Suggestions - Themed */
.search-suggestions {
    margin-top: 1rem;
    background: rgba(10, 14, 39, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    backdrop-filter: blur(20px);
}

.search-suggestions::-webkit-scrollbar {
    width: 8px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #764ba2 0%, #00f2fe 100%);
    border-radius: 10px;
}

.suggestion-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--crypto-transition);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.suggestion-item:hover {
    background: linear-gradient(90deg, 
        rgba(118, 75, 162, 0.2) 0%, 
        rgba(0, 242, 254, 0.1) 100%);
    border-left: 3px solid #00f2fe;
}

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

/* Welcome State - Themed Design */
.welcome-state {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--crypto-secondary);
    background: linear-gradient(135deg, 
        rgba(10, 14, 39, 0.6) 0%, 
        rgba(26, 31, 58, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.welcome-state i {
    font-size: 5rem;
    background: linear-gradient(135deg, #764ba2 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.5));
}

.welcome-state h4 {
    color: #ffffff;
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-state p {
    margin: 0 0 3rem 0;
    font-size: 1.15rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Popular Cryptos - Redesigned */
.popular-cryptos h5 {
    color: #00f2fe;
    margin: 0 0 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.crypto-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.crypto-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--crypto-transition);
    color: #ffffff;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.crypto-chip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(0, 242, 254, 0.3) 0%, 
        transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.crypto-chip:hover::before {
    width: 300px;
    height: 300px;
}

.crypto-chip:hover {
    background: linear-gradient(135deg, #764ba2 0%, #00f2fe 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.4),
                0 0 30px rgba(0, 242, 254, 0.3);
}

.crypto-chip span {
    position: relative;
    z-index: 1;
}

/* Results Layout - Card Grid */
.crypto-unified-results {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
}

.crypto-data-panel {
    background: linear-gradient(135deg, 
        rgba(10, 14, 39, 0.95) 0%, 
        rgba(26, 31, 58, 0.9) 100%);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: var(--crypto-transition);
    backdrop-filter: blur(20px);
    position: relative;
}

.crypto-data-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        #00f2fe, 
        transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.crypto-data-panel:hover::before {
    opacity: 1;
}

.crypto-data-panel:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(0, 242, 254, 0.3) inset,
                0 0 40px rgba(0, 242, 254, 0.1);
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.4);
}

/* Make charts panel span full width */
.charts-panel {
    grid-column: 1 / -1;
}

/* Panel Headers - Gradient Design */
.panel-header {
    background: linear-gradient(135deg, 
        rgba(118, 75, 162, 0.2) 0%, 
        rgba(0, 242, 254, 0.1) 100%);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.panel-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #00f2fe, 
        transparent);
}

.panel-header h4 {
    margin: 0;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.panel-header h4 i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #764ba2 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.5));
}

.refresh-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--crypto-success);
    font-size: 0.85rem;
}

.refresh-indicator i {
    font-size: 0.8rem;
}

/* Chart Controls */
.chart-controls {
    display: flex;
    gap: 0.25rem;
}

.chart-period {
    background: none;
    border: 1px solid var(--crypto-border);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--crypto-transition);
    color: var(--crypto-secondary);
}

.chart-period.active,
.chart-period:hover {
    background-color: var(--crypto-primary);
    color: white;
    border-color: var(--crypto-primary);
}

/* Panel Content */
.panel-content {
    padding: 2rem;
}

/* Price Data Specific Styles - Glassmorphism Cards */
.price-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-stat-item {
    text-align: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: var(--crypto-transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.price-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #764ba2, #00f2fe);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.price-stat-item:hover::before {
    transform: scaleX(1);
}

.price-stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.2);
}

.price-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.price-change {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.price-change.positive {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.4);
}

.price-change.negative {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.4);
}

.price-change i {
    margin-right: 0.25rem;
}

/* Metadata Specific Styles - Themed Cards */
.metadata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.metadata-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border-left: 4px solid #00f2fe;
    transition: var(--crypto-transition);
    backdrop-filter: blur(10px);
}

.metadata-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 242, 254, 0.15);
}

.metadata-label {
    font-size: 0.85rem;
    color: #00f2fe;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.metadata-value {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.4;
}

/* Chart Placeholder */
.chart-placeholder {
    text-align: center;
    padding: 3rem;
    color: var(--crypto-secondary);
}

.chart-placeholder i {
    font-size: 3rem;
    color: var(--crypto-primary-light);
    margin-bottom: 1rem;
}

.chart-placeholder p {
    margin: 0;
    font-size: 1.1rem;
}

/* Loading Overlay - Themed */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(10, 14, 39, 0.98) 0%, 
        rgba(26, 31, 58, 0.98) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(20px);
    border-radius: 20px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #00f2fe;
    border-right: 4px solid #764ba2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
}

.loading-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Error State - Themed */
.error-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--crypto-danger);
    background: linear-gradient(135deg, 
        rgba(10, 14, 39, 0.6) 0%, 
        rgba(26, 31, 58, 0.4) 100%);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.error-state i {
    font-size: 5rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(231, 76, 60, 0.5));
}

.error-state h4 {
    color: #e74c3c;
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.error-state p {
    margin: 0 0 2rem 0;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
}

.retry-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--crypto-transition);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    position: relative;
    overflow: hidden;
}

.retry-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s;
}

.retry-btn:hover::before {
    left: 100%;
}

.retry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(231, 76, 60, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .crypto-unified-results {
        grid-template-columns: 1fr;
    }
    
    .price-stats {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 767px) {
    .crypto-unified-container {
        padding: 1rem;
    }

    .crypto-unified-header {
        padding: 2rem 1.5rem;
    }

    .crypto-unified-header h3 {
        font-size: 1.8rem;
        flex-direction: column;
    }
    
    .crypto-unified-header h3 i {
        font-size: 2.5rem;
    }
    
    .crypto-unified-header p {
        font-size: 1rem;
    }
    
    .crypto-unified-search {
        padding: 1.5rem;
    }
    
    .search-input-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .crypto-chips {
        gap: 0.75rem;
    }
    
    .crypto-chip {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .crypto-unified-results {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .panel-header {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .panel-header h4 {
        font-size: 1.1rem;
    }
    
    .chart-controls {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .chart-period {
        flex: 1;
        text-align: center;
    }
    
    .panel-content {
        padding: 1.5rem;
    }
    
    .price-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .metadata-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .chart-content {
        height: 300px;
    }
    
    .welcome-state {
        padding: 3rem 1.5rem;
    }
    
    .welcome-state i {
        font-size: 4rem;
    }
    
    .welcome-state h4 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .crypto-unified-header h3 {
        font-size: 1.5rem;
    }
    
    .crypto-unified-header h3 i {
        font-size: 2rem;
    }
    
    .crypto-unified-search {
        padding: 1rem;
    }
    
    .panel-header {
        padding: 1rem;
    }
    
    .panel-content {
        padding: 1rem;
    }
    
    .crypto-chip {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* Animations */
/* @keyframes spin — centralized in design-system.css */

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes scanline {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* Animation removed - now using consolidated pulse-opacity-subtle from design-system.css */

/* Chart Content Enhancements */
.chart-content {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

#crypto-price-chart {
    max-width: 100%;
    max-height: 100%;
}

.chart-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--crypto-secondary);
}

.chart-loading i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--crypto-primary);
    animation: spin 1s linear infinite;
}

.chart-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 3rem;
}

.chart-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
    background: linear-gradient(135deg, #764ba2 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chart-placeholder p {
    font-size: 1.1rem;
}

/* Enhanced Chart Period Buttons */
.chart-period {
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--crypto-transition);
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.chart-period:hover {
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.3) 0%, rgba(0, 242, 254, 0.3) 100%);
    color: white;
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-2px);
}

.chart-period.active {
    background: linear-gradient(135deg, #764ba2 0%, #00f2fe 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.4);
}

/* Refresh Indicator Themed */
.refresh-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #27ae60;
    font-size: 0.9rem;
    background: rgba(39, 174, 96, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.refresh-indicator i {
    font-size: 1rem;
    animation: pulse-opacity-subtle 2s ease-in-out infinite;
}
