/* Live Gold Coin Prices - Price Display Styles */

.lgcp-price-table-container {
    width: 100%;
    max-width: 480px;
    margin: 20px 0;
}

.price-card {
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-align: right;
    direction: rtl;
}
span.lgcp-live-price {
    font-size: 20px;
    text-align: center !important;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    line-height: 20px;
}

.price-row:not(:last-child) {
    border-bottom: 1px solid;
}

.total-price-row {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.last-updated {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 16px;
    text-align: center;
}


.detail-value {
    font-weight: 600;
}

/* Theme 1: Classic Gold & Dark */
.theme-classic-gold-dark {
    background-color: #1f2937;
}

.theme-classic-gold-dark .last-updated {
    color: #9ca3af;
}

.theme-classic-gold-dark .price-row {
    border-color: #374151;
}

.theme-classic-gold-dark .detail-label {
    color: #d1d5db;
}

.theme-classic-gold-dark .detail-value {
    color: #fde047;
}

.theme-classic-gold-dark .total-price-row {
    border-color: #4b5563;
}

.theme-classic-gold-dark .total-price-row .detail-label {
    color: #f3f4f6;
}

.theme-classic-gold-dark .total-price-row .detail-value {
    color: #fde047;
}

/* Theme 2: Bright Gold & White */
.theme-bright-gold-white {
    background-color: #ffffff;
}

.theme-bright-gold-white .last-updated {
    color: #6b7280;
}

.theme-bright-gold-white .price-row {
    border-color: #e5e7eb;
}

.theme-bright-gold-white .detail-label {
    color: #374151;
}

.theme-bright-gold-white .detail-value {
    color: #ca8a04;
}

.theme-bright-gold-white .total-price-row {
    border-color: #d1d5db;
}

.theme-bright-gold-white .total-price-row .detail-label {
    color: #111827;
}

.theme-bright-gold-white .total-price-row .detail-value {
    color: #ca8a04;
}

/* Theme 3: Luxury Black & Gold Gradient */
.theme-luxury-black-gold {
    background-color: #000000;
}

.theme-luxury-black-gold .last-updated {
    color: #a1a1aa;
}

.theme-luxury-black-gold .price-row {
    border-color: #3f3f46;
}

.theme-luxury-black-gold .detail-label {
    color: #e4e4e7;
}

.theme-luxury-black-gold .detail-value {
    background: linear-gradient(45deg, #F7C85E, #FFEBA4, #D4A24C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.theme-luxury-black-gold .total-price-row {
    border-color: #52525b;
}

.theme-luxury-black-gold .total-price-row .detail-label {
    color: #fafafa;
}

/* Theme 4: Elegant White & Rose Gold */
.theme-elegant-white-rose-gold {
    background-color: #fff7f2;
}

.theme-elegant-white-rose-gold .last-updated {
    color: #7f6d63;
}

.theme-elegant-white-rose-gold .price-row {
    border-color: #e0d1c8;
}

.theme-elegant-white-rose-gold .detail-label {
    color: #5c4033;
}

.theme-elegant-white-rose-gold .detail-value {
    color: #b76e79;
}

.theme-elegant-white-rose-gold .total-price-row {
    border-color: #d3b8ae;
}

.theme-elegant-white-rose-gold .total-price-row .detail-label {
    color: #4a3329;
}

.theme-elegant-white-rose-gold .total-price-row .detail-value {
    color: #b76e79;
}

/* Theme 5: Modern Silver & Dark Blue */
.theme-silver-dark-blue {
    background-color: #1e3a8a;
}

.theme-silver-dark-blue .last-updated {
    color: #93c5fd;
}

.theme-silver-dark-blue .price-row {
    border-color: #1d4ed8;
}

.theme-silver-dark-blue .detail-label {
    color: #bfdbfe;
}

.theme-silver-dark-blue .detail-value {
    color: #e5e7eb;
}

.theme-silver-dark-blue .total-price-row {
    border-color: #2563eb;
}

.theme-silver-dark-blue .total-price-row .detail-label {
    color: #dbeafe;
}

.theme-silver-dark-blue .total-price-row .detail-value {
    color: #f9fafb;
}

/* Theme 6: Sleek Silver & White */
.theme-sleek-silver-white {
    background-color: #ffffff;
}

.theme-sleek-silver-white .last-updated {
    color: #6b7280;
}

.theme-sleek-silver-white .price-row {
    border-color: #e5e7eb;
}

.theme-sleek-silver-white .detail-label {
    color: #4b5563;
}

.theme-sleek-silver-white .detail-value {
    color: #9ca3af;
}

.theme-sleek-silver-white .total-price-row {
    border-color: #d1d5db;
}

.theme-sleek-silver-white .total-price-row .detail-label {
    color: #1f2937;
}

.theme-sleek-silver-white .total-price-row .detail-value {
    color: #757575;
}

/* Theme 7: Gradient Gold Background & Black Text */
.theme-gradient-gold-bg-black-text {
    background: linear-gradient(135deg, #DAA520 0%, #FFEC8B 30%, #B8860B 60%, #CDAD00 100%);
}

.theme-gradient-gold-bg-black-text .last-updated {
    color: #333333;
    opacity: 0.8;
}

.theme-gradient-gold-bg-black-text .price-row {
    border-color: rgba(184, 134, 11, 0.5);
}

.theme-gradient-gold-bg-black-text .detail-label {
    color: #1a1a1a;
}

.theme-gradient-gold-bg-black-text .detail-value {
    color: #000000;
}

.theme-gradient-gold-bg-black-text .total-price-row {
    border-color: rgba(184, 134, 11, 0.7);
}

.theme-gradient-gold-bg-black-text .total-price-row .detail-label {
    color: #000000;
}

.theme-gradient-gold-bg-black-text .total-price-row .detail-value {
    color: #000000;
}

/* Theme 8: Minimalist Light Gray & Gold */
.theme-minimalist-gray-gold {
    background-color: #f3f4f6;
}

.theme-minimalist-gray-gold .last-updated {
    color: #6b7280;
}

.theme-minimalist-gray-gold .price-row {
    border-color: #d1d5db;
}

.theme-minimalist-gray-gold .detail-label {
    color: #4b5563;
}

.theme-minimalist-gray-gold .detail-value {
    color: #374151;
}

.theme-minimalist-gray-gold .total-price-row {
    border-color: #9ca3af;
}

.theme-minimalist-gray-gold .total-price-row .detail-label {
    color: #1f2937;
}

.theme-minimalist-gray-gold .total-price-row .detail-value {
    color: #ca8a04;
}

/* Theme 9: Dark Teal & Champagne Gold */
.theme-dark-teal-champagne {
    background-color: #0d5e59;
}

.theme-dark-teal-champagne .last-updated {
    color: #a2d5d1;
}

.theme-dark-teal-champagne .price-row {
    border-color: #1e7e78;
}

.theme-dark-teal-champagne .detail-label {
    color: #cce8e6;
}

.theme-dark-teal-champagne .detail-value {
    color: #f1e5ac;
}

.theme-dark-teal-champagne .total-price-row {
    border-color: #3ba39c;
}

.theme-dark-teal-champagne .total-price-row .detail-label {
    color: #e6f5f3;
}

.theme-dark-teal-champagne .total-price-row .detail-value {
    color: #f1e5ac;
}

/* Theme 10: Royal Purple & Gold */
.theme-royal-purple-gold {
    background-color: #4c1d95;
}

.theme-royal-purple-gold .last-updated {
    color: #c4b5fd;
}

.theme-royal-purple-gold .price-row {
    border-color: #5b21b6;
}

.theme-royal-purple-gold .detail-label {
    color: #ddd6fe;
}

.theme-royal-purple-gold .detail-value {
    color: #facc15;
}

.theme-royal-purple-gold .total-price-row {
    border-color: #6d28d9;
}

.theme-royal-purple-gold .total-price-row .detail-label {
    color: #ede9fe;
}

.theme-royal-purple-gold .total-price-row .detail-value {
    color: #facc15;
}

/* Theme 11: Dark Blue & Gold */
.theme-dark-blue-gold {
    background-color: #202A44; /* Dark blue background */
}

.theme-dark-blue-gold .last-updated {
    color: #9CA3AF; /* Light gray for last updated text */
}

.theme-dark-blue-gold .price-row {
    border-color: #374151; /* Slightly lighter dark blue for row borders */
}

.theme-dark-blue-gold .detail-label {
    color: #D1D5DB; /* Light gray for labels */
}

.theme-dark-blue-gold .detail-value {
    color: #FDE047; /* Yellow for values */
}

.theme-dark-blue-gold .total-price-row {
    border-color: #4B5563; /* Thicker, distinct border for total row */
}

.theme-dark-blue-gold .total-price-row .detail-label {
    color: #F3F4F6; /* White for total price label */
}

.theme-dark-blue-gold .total-price-row .detail-value {
    color: #FDE047; /* Yellow for total price value */
}

/* Responsive Design */
@media (max-width: 768px) {
    .lgcp-price-table-container {
        max-width: 100%;
        margin: 15px 0;
    }
    
    .price-card {
        padding: 16px;
    }
    
    .price-row {
        font-size: 13px;
        padding: 8px 0;
    }
    
    .total-price-row {
        font-size: 15px;
    }
}

/* Animation for live updates */
.lgcp-price-updating {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lgcp-price-updated {
    animation: priceUpdate 0.5s ease;
}

@keyframes priceUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}
