.currency-header {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.currency-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.currency-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.currency-name h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #1a202c;
}

.currency-subtitle {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

.add-to-watchlist {
    background: #3182ce;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.add-to-watchlist:hover {
    background: #2c5aa0;
}

.price-section {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 48px;
    font-weight: 600;
    color: #1a202c;
    line-height: 1;
}

.price-change {
    font-size: 18px;
    font-weight: 500;
}

.price-change.negative {
    color: #e53e3e;
}

.price-change.positive {
    color: #38a169;
}

.price-change::before {
    content: "▼ ";
    font-size: 12px;
}

.price-change.positive::before {
    content: "▲ ";
}

.market-status {
    color: #718096;
    font-size: 12px;
    margin-bottom: 10px;
}

.tabs-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.tabs-nav {
    display: flex;
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.tab-btn.active {
    color: #3182ce;
    border-bottom-color: #3182ce;
    background: white;
}

.tab-btn:hover {
    color: #3182ce;
}



.chart-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 20%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 1px;
}

.chart-line::before {
    content: '';
    position: absolute;
    top: -20px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stats-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.stats-card h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f7fafc;
}

.stats-row:last-child {
    border-bottom: none;
}

.stats-label {
    color: #718096;
    font-size: 14px;
}

.stats-value {
    font-weight: 500;
    color: #1a202c;
}

#tradingview_chart iframe {
    min-height: 450px;
}

.description-section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.description-section h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.description-section h3::before {
    content: "📊";
    font-size: 24px;
}

.description-section p {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 25px;
    text-align: justify;
}

.description-section h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 8px;
}

.description-section h4::before {
    content: "⚡";
    font-size: 18px;
}

.description-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.description-section  li {
    padding: 8px 0;
    font-size: 14px;
    color: #4a5568;
    border-bottom: 1px solid #f7fafc;
    position: relative;
    padding-left: 20px;
}

.description-section  li:last-child {
    border-bottom: none;
}

.description-section  li::before {
    content: "•";
    color: #3182ce;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
}

/* Loading and error states */
.loading {
    color: #6c757d !important;
    font-style: italic;
}

.error {
    color: #dc3545 !important;
}

.muted {
    color: #6c757d !important;
    opacity: 0.7;
}

.neutral {
    color: #6c757d !important;
}

/* Technical indicators section */
.technical-indicators {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.technical-indicators h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.technical-indicators h3::before {
    content: "📈";
    font-size: 18px;
}

.indicator-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f7fafc;
}

.indicator-item:last-child {
    border-bottom: none;
}

.indicator-name {
    font-weight: 500;
    color: #4a5568;
}

.indicator-value {
    font-weight: 600;
    color: #1a202c;
}

.indicator-date {
    font-size: 11px;
    color: #a0aec0;
    margin-left: 8px;
}

/* Animation for price updates */
.current-price {
    transition: all 0.3s ease;
}

.price-update-flash {
    background: rgba(56, 161, 105, 0.1);
    border-radius: 4px;
    padding: 2px 4px;
}