/* Gold Price Display Styles */
.gold-price-display {
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 50%, #D4AF37 100%);
    border: 2px solid #D4AF37;
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.gold-price-header {
    text-align: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #B8860B;
    padding-bottom: 10px;
}

.gold-icon {
    font-size: 24px;
    margin-right: 5px;
}

.gold-label {
    font-size: 18px;
    font-weight: bold;
    color: #8B6914;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gold-price-value {
    text-align: center;
    margin: 15px 0;
}

.gold-price-value .currency {
    font-size: 20px;
    font-weight: bold;
    color: #666;
    vertical-align: top;
}

.gold-price-value .price {
    font-size: 36px;
    font-weight: bold;
    color: #2C5F2D;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.gold-price-value .unit {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.gold-price-change {
    text-align: center;
    padding: 8px;
    border-radius: 4px;
    margin: 10px 0;
    font-weight: bold;
}

.gold-price-change.positive {
    background-color: #d4edda;
    color: #155724;
}

.gold-price-change.negative {
    background-color: #f8d7da;
    color: #721c24;
}

.change-amount {
    font-size: 16px;
    margin-right: 5px;
}

.change-percent {
    font-size: 14px;
    opacity: 0.9;
}

.gold-price-updated {
    text-align: center;
    font-size: 11px;
    color: #999;
    margin-top: 10px;
    font-style: italic;
}

.gold-price-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    text-align: center;
}

/* Widget specific styles */
.widget_gold_price_widget .gold-price-display {
    max-width: 100%;
}

/* Responsive styles */
@media (max-width: 768px) {
    .gold-price-display {
        padding: 15px;
        margin: 5px 0;
    }
    
    .gold-price-value .price {
        font-size: 28px;
    }
    
    .gold-label {
        font-size: 16px;
    }
}

/* Hover effects */
.gold-price-display:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}
