← back to Wine Finder
public/css/styles.css
1266 lines
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-dark: #0a0a0a;
--bg-card: #111111;
--bg-card-hover: #1a1a1a;
--bg-input: #151515;
--text-white: #ffffff;
--text-gray: #9ca3af;
--text-dark-gray: #6b7280;
--primary: #ec4899;
--primary-hover: #db2777;
--secondary: #8b5cf6;
--accent: #06b6d4;
--success: #10b981;
--warning: #f59e0b;
--border: rgba(255, 255, 255, 0.06);
--shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
--glow: 0 0 30px rgba(236, 72, 153, 0.3);
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
background: var(--bg-dark);
color: var(--text-white);
line-height: 1.6;
min-height: 100vh;
overflow-x: hidden;
}
body::before {
content: '';
position: fixed;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background:
radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 40%),
radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
radial-gradient(circle at 40% 60%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
animation: float 20s ease-in-out infinite;
pointer-events: none;
z-index: 0;
}
@keyframes float {
0%, 100% { transform: translate(0, 0) rotate(0deg); }
33% { transform: translate(30px, -30px) rotate(3deg); }
66% { transform: translate(-20px, 20px) rotate(-3deg); }
}
.main-container {
position: relative;
z-index: 1;
max-width: 1400px;
margin: 0 auto;
padding: 0 24px 60px;
}
/* Header */
.app-header {
position: sticky;
top: 0;
z-index: 100;
padding: 32px 0;
margin-bottom: 48px;
background: rgba(10, 10, 10, 0.8);
backdrop-filter: blur(20px) saturate(180%);
border-bottom: 1px solid var(--border);
}
.header-content {
max-width: 1400px;
margin: 0 auto;
padding: 0 24px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo-section {
display: flex;
align-items: center;
gap: 16px;
}
.logo-icon {
width: 48px;
height: 48px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}
.logo-text {
display: flex;
flex-direction: column;
}
.app-title {
font-size: 28px;
font-weight: 900;
letter-spacing: -0.5px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin: 0;
}
.app-subtitle {
font-size: 11px;
font-weight: 600;
letter-spacing: 2px;
color: var(--text-gray);
text-transform: uppercase;
margin-top: 2px;
}
.logout-btn {
padding: 10px 24px;
font-size: 14px;
font-weight: 600;
color: var(--text-white);
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 10px;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.logout-btn:hover {
background: var(--bg-card-hover);
border-color: rgba(255, 255, 255, 0.1);
transform: translateY(-1px);
}
/* Alerts */
.alerts-section {
margin-bottom: 32px;
animation: slideDown 0.4s ease;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.alerts-container {
background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
border: 1px solid rgba(239, 68, 68, 0.2);
border-radius: 16px;
padding: 24px;
backdrop-filter: blur(10px);
}
.alert-item {
padding: 20px;
background: rgba(0, 0, 0, 0.3);
border-radius: 12px;
border-left: 3px solid #ef4444;
margin-bottom: 12px;
transition: all 0.2s ease;
}
.alert-item:hover {
background: rgba(0, 0, 0, 0.5);
transform: translateX(4px);
}
.alert-item:last-child {
margin-bottom: 0;
}
.alert-title {
font-size: 16px;
font-weight: 700;
margin-bottom: 8px;
color: #fca5a5;
}
.alert-details {
font-size: 14px;
color: var(--text-gray);
}
/* Search Section */
.search-section {
margin-bottom: 48px;
}
.search-container {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 24px;
padding: 48px;
box-shadow: var(--shadow);
position: relative;
overflow: hidden;
}
.search-container::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.5), transparent);
}
.section-title {
font-size: 32px;
font-weight: 900;
letter-spacing: -1px;
margin-bottom: 32px;
background: linear-gradient(135deg, var(--text-white), var(--text-gray));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.search-controls {
display: flex;
flex-direction: column;
gap: 24px;
}
.search-input-group {
display: flex;
gap: 16px;
position: relative;
}
.search-input {
flex: 1;
padding: 18px 24px;
font-size: 16px;
font-weight: 500;
background: var(--bg-input);
border: 2px solid var(--border);
border-radius: 16px;
color: var(--text-white);
outline: none;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-family: 'Inter', sans-serif;
}
.search-input::placeholder {
color: var(--text-dark-gray);
}
.search-input:focus {
border-color: var(--primary);
background: var(--bg-card);
box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1), var(--glow);
transform: translateY(-2px);
}
.search-button {
padding: 18px 48px;
font-size: 16px;
font-weight: 700;
color: var(--text-white);
background: linear-gradient(135deg, var(--primary), var(--primary-hover));
border: none;
border-radius: 16px;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
position: relative;
overflow: hidden;
min-width: 160px;
}
.search-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.6s;
}
.search-button:hover {
transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(236, 72, 153, 0.6);
}
.search-button:hover::before {
left: 100%;
}
.search-button:active {
transform: translateY(0);
}
.search-button:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}
.quick-search {
display: flex;
align-items: center;
gap: 16px;
padding-top: 24px;
border-top: 1px solid var(--border);
}
.quick-search-label {
font-size: 12px;
font-weight: 700;
letter-spacing: 1px;
color: var(--text-dark-gray);
text-transform: uppercase;
}
.quick-btn {
padding: 12px 28px;
font-size: 14px;
font-weight: 600;
color: var(--text-white);
background: var(--bg-input);
border: 1px solid var(--border);
border-radius: 12px;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.quick-btn:hover {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
border-color: var(--secondary);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
/* Results Section */
.results-section {
margin-bottom: 48px;
}
.results-container {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 24px;
padding: 48px;
min-height: 400px;
box-shadow: var(--shadow);
}
.results-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 36px;
flex-wrap: wrap;
gap: 20px;
}
.results-controls {
display: flex;
align-items: center;
gap: 12px;
}
.results-controls label {
font-size: 12px;
font-weight: 700;
letter-spacing: 1px;
color: var(--text-dark-gray);
text-transform: uppercase;
}
.sort-select {
padding: 10px 20px;
font-size: 14px;
font-weight: 600;
background: var(--bg-input);
border: 1px solid var(--border);
border-radius: 10px;
color: var(--text-white);
cursor: pointer;
outline: none;
transition: all 0.2s ease;
}
.sort-select:hover {
border-color: rgba(255, 255, 255, 0.1);
}
.sort-select:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}
.sort-select option {
background: var(--bg-card);
color: var(--text-white);
}
.loading-indicator {
text-align: center;
padding: 80px 20px;
}
.loading-spinner {
width: 60px;
height: 60px;
border: 4px solid var(--border);
border-top-color: var(--primary);
border-radius: 50%;
animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
margin: 0 auto 24px;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.loading-indicator p {
font-size: 16px;
font-weight: 600;
color: var(--text-gray);
letter-spacing: 2px;
}
.results-table {
display: grid;
gap: 20px;
}
.wine-item {
background: var(--bg-input);
border: 1px solid var(--border);
border-radius: 20px;
padding: 32px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.wine-item::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
opacity: 0;
transition: opacity 0.3s ease;
}
.wine-item:hover {
background: var(--bg-card-hover);
border-color: rgba(236, 72, 153, 0.3);
transform: translateY(-4px);
box-shadow: 0 12px 40px rgba(236, 72, 153, 0.2);
}
.wine-item:hover::before {
opacity: 1;
}
.wine-item-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 24px;
margin-bottom: 20px;
}
.wine-name {
font-size: 20px;
font-weight: 700;
line-height: 1.4;
flex: 1;
color: var(--text-white);
letter-spacing: -0.3px;
}
.wine-price {
font-size: 32px;
font-weight: 900;
background: linear-gradient(135deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
white-space: nowrap;
letter-spacing: -1px;
}
.wine-details {
display: flex;
gap: 28px;
flex-wrap: wrap;
margin-bottom: 20px;
font-size: 14px;
}
.wine-detail-item {
display: flex;
gap: 8px;
align-items: center;
}
.wine-detail-label {
font-weight: 600;
color: var(--text-dark-gray);
}
.wine-detail-item span:last-child {
font-weight: 600;
color: var(--text-gray);
}
.wine-rating {
color: var(--warning);
font-weight: 700;
}
.wine-actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
padding-top: 20px;
border-top: 1px solid var(--border);
}
.view-history-btn {
padding: 12px 24px;
font-size: 14px;
font-weight: 600;
color: var(--text-white);
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 12px;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.view-history-btn:hover {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
border-color: var(--secondary);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
.no-results {
text-align: center;
padding: 80px 20px;
}
.no-results p {
font-size: 18px;
font-weight: 600;
color: var(--text-gray);
margin-bottom: 12px;
}
/* Chart Section */
.chart-section {
margin-bottom: 48px;
}
.chart-container {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 24px;
padding: 48px;
box-shadow: var(--shadow);
}
.chart-wrapper {
background: var(--bg-input);
border-radius: 16px;
padding: 32px;
margin: 32px 0;
border: 1px solid var(--border);
}
.close-chart-btn {
padding: 12px 32px;
font-size: 14px;
font-weight: 600;
color: var(--text-white);
background: var(--bg-input);
border: 1px solid var(--border);
border-radius: 12px;
cursor: pointer;
transition: all 0.2s ease;
}
.close-chart-btn:hover {
background: var(--bg-card-hover);
transform: translateY(-2px);
}
.btn-loader {
display: inline-block;
width: 16px;
height: 16px;
border: 2px solid rgba(255, 255, 255, 0.2);
border-top-color: var(--text-white);
border-radius: 50%;
animation: spin 0.6s linear infinite;
}
/* Responsive */
@media (max-width: 768px) {
.app-header {
padding: 24px 0;
}
.header-content {
padding: 0 16px;
}
.main-container {
padding: 0 16px 48px;
}
.logo-icon {
width: 40px;
height: 40px;
font-size: 20px;
}
.app-title {
font-size: 24px;
}
.search-container,
.results-container,
.chart-container {
padding: 32px 24px;
}
.section-title {
font-size: 28px;
}
.search-input-group {
flex-direction: column;
}
.search-button {
width: 100%;
}
.wine-item {
padding: 24px;
}
.wine-item-header {
flex-direction: column;
gap: 12px;
}
.wine-price {
font-size: 28px;
}
.wine-actions {
flex-direction: column;
}
.view-history-btn {
width: 100%;
}
}
/* Source Filter Styles */
.source-filter {
margin: 24px 0;
}
.source-filter-label {
font-size: 14px;
font-weight: 600;
color: var(--text-gray);
margin-bottom: 12px;
text-transform: uppercase;
letter-spacing: 1px;
}
.source-checkboxes {
display: flex;
gap: 20px;
flex-wrap: wrap;
}
.source-checkbox {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
padding: 8px 16px;
background: var(--bg-input);
border: 2px solid var(--border);
border-radius: 8px;
transition: all 0.2s;
}
.source-checkbox:hover {
background: var(--bg-card-hover);
border-color: var(--primary);
}
.source-checkbox input[type="checkbox"] {
width: 18px;
height: 18px;
cursor: pointer;
accent-color: var(--primary);
}
.source-checkbox span {
font-size: 14px;
font-weight: 500;
color: var(--text-white);
}
.source-checkbox input[type="checkbox"]:checked + span {
color: var(--primary);
}
/* ========================================
DYNAMIC SEARCH ENHANCEMENTS
======================================== */
/* Enhanced Search Input */
.search-input-wrapper {
position: relative;
display: flex;
align-items: center;
width: 100%;
}
.search-icon {
position: absolute;
left: 20px;
font-size: 18px;
opacity: 0.5;
pointer-events: none;
z-index: 2;
}
.search-input {
padding-left: 52px !important;
padding-right: 120px !important;
}
.search-result-count {
position: absolute;
right: 60px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: var(--text-white);
padding: 4px 12px;
border-radius: 12px;
font-size: 12px;
font-weight: 600;
display: none;
animation: slideInRight 0.3s ease;
}
.clear-search-btn {
position: absolute;
right: 16px;
background: var(--bg-card-hover);
border: none;
color: var(--text-gray);
width: 32px;
height: 32px;
border-radius: 50%;
display: none;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
font-size: 16px;
}
.clear-search-btn:hover {
background: var(--bg-card);
color: var(--text-white);
transform: scale(1.1);
}
/* Filters Toggle */
.filters-toggle {
margin: 20px 0 16px;
}
.toggle-filters-btn {
width: 100%;
padding: 14px 20px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 12px;
color: var(--text-white);
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: space-between;
}
.toggle-filters-btn:hover {
background: var(--bg-card-hover);
border-color: var(--primary);
}
.chevron {
font-size: 12px;
transition: transform 0.3s ease;
}
/* Advanced Filters */
.advanced-filters {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 16px;
padding: 24px;
margin-bottom: 24px;
animation: slideDown 0.3s ease;
overflow: hidden;
}
.filters-open {
animation: slideDown 0.3s ease;
}
.filter-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 24px;
margin-bottom: 24px;
}
.filter-item {
display: flex;
flex-direction: column;
gap: 12px;
}
.filter-label {
display: flex;
justify-content: space-between;
align-items: center;
color: var(--text-white);
font-size: 14px;
font-weight: 500;
}
.filter-value {
color: var(--primary);
font-weight: 600;
}
/* Range Sliders */
.range-slider-container {
display: flex;
gap: 12px;
}
.range-slider {
-webkit-appearance: none;
width: 100%;
height: 6px;
border-radius: 5px;
background: var(--bg-input);
outline: none;
transition: all 0.2s ease;
}
.range-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary), var(--secondary));
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
}
.range-slider::-moz-range-thumb {
width: 20px;
height: 20px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary), var(--secondary));
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
border: none;
}
.range-slider::-webkit-slider-thumb:hover {
transform: scale(1.2);
box-shadow: 0 4px 12px rgba(236, 72, 153, 0.6);
}
.range-slider::-moz-range-thumb:hover {
transform: scale(1.2);
box-shadow: 0 4px 12px rgba(236, 72, 153, 0.6);
}
/* Filter Select */
.filter-select {
padding: 12px 16px;
background: var(--bg-input);
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text-white);
font-size: 14px;
cursor: pointer;
transition: all 0.2s ease;
}
.filter-select:hover,
.filter-select:focus {
border-color: var(--primary);
outline: none;
}
/* Filter Actions */
.filter-actions {
display: flex;
gap: 12px;
justify-content: flex-end;
}
.apply-filters-btn,
.reset-filters-btn {
padding: 12px 24px;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
}
.apply-filters-btn {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: var(--text-white);
}
.apply-filters-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 16px rgba(236, 72, 153, 0.3);
}
.reset-filters-btn {
background: var(--bg-input);
color: var(--text-gray);
border: 1px solid var(--border);
}
.reset-filters-btn:hover {
background: var(--bg-card-hover);
color: var(--text-white);
}
/* Stats Section */
.stats-section {
margin-bottom: 32px;
animation: fadeInUp 0.5s ease;
}
.stats-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
}
.stat-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 16px;
padding: 20px;
display: flex;
align-items: center;
gap: 16px;
transition: all 0.3s ease;
}
.stat-card:hover {
background: var(--bg-card-hover);
transform: translateY(-4px);
box-shadow: var(--shadow);
}
.stat-icon {
font-size: 32px;
opacity: 0.8;
}
.stat-content {
display: flex;
flex-direction: column;
gap: 4px;
}
.stat-label {
font-size: 12px;
color: var(--text-gray);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.stat-value {
font-size: 24px;
font-weight: 700;
color: var(--text-white);
transition: all 0.3s ease;
}
.stat-updating {
animation: pulse 0.3s ease;
}
.stat-change {
font-size: 12px;
font-weight: 600;
margin-top: 4px;
display: none;
}
.stat-change.positive {
color: var(--success);
}
.stat-change.positive::before {
content: '▲ ';
}
.stat-change.negative {
color: #ef4444;
}
.stat-change.negative::before {
content: '▼ ';
}
/* View Mode Buttons */
.view-mode-btn {
padding: 8px 12px;
background: var(--bg-input);
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text-gray);
font-size: 16px;
cursor: pointer;
transition: all 0.2s ease;
margin-right: 8px;
}
.view-mode-btn:hover {
background: var(--bg-card-hover);
color: var(--text-white);
}
.view-mode-btn.active {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: var(--text-white);
border-color: transparent;
}
/* Stock-Style Chart Enhancements */
.chart-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 24px;
flex-wrap: wrap;
gap: 16px;
}
.chart-title-section {
display: flex;
flex-direction: column;
gap: 8px;
}
.chart-stats {
display: flex;
align-items: center;
gap: 12px;
}
.chart-current-price {
font-size: 32px;
font-weight: 700;
color: var(--text-white);
}
.chart-price-change {
font-size: 16px;
font-weight: 600;
padding: 6px 12px;
border-radius: 8px;
}
.chart-price-change.positive {
background: rgba(16, 185, 129, 0.2);
color: var(--success);
}
.chart-price-change.negative {
background: rgba(239, 68, 68, 0.2);
color: #ef4444;
}
.chart-controls {
display: flex;
gap: 8px;
}
.chart-timeframe-btn {
padding: 8px 16px;
background: var(--bg-input);
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text-gray);
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
}
.chart-timeframe-btn:hover {
background: var(--bg-card-hover);
color: var(--text-white);
}
.chart-timeframe-btn.active {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: var(--text-white);
border-color: transparent;
}
.chart-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 24px;
flex-wrap: wrap;
gap: 16px;
}
.chart-legend {
display: flex;
gap: 16px;
flex-wrap: wrap;
}
/* Animations */
@keyframes slideDown {
from {
opacity: 0;
max-height: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
max-height: 500px;
transform: translateY(0);
}
}
@keyframes slideInRight {
from {
opacity: 0;
transform: translateX(10px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.filter-grid {
grid-template-columns: 1fr;
}
.stats-container {
grid-template-columns: 1fr 1fr;
}
.chart-header {
flex-direction: column;
}
.chart-controls {
width: 100%;
justify-content: space-between;
}
.chart-timeframe-btn {
flex: 1;
padding: 10px 8px;
font-size: 12px;
}
.chart-current-price {
font-size: 24px;
}
.chart-price-change {
font-size: 14px;
}
}
@media (max-width: 480px) {
.stats-container {
grid-template-columns: 1fr;
}
}