/* Wealth Summit Dubai Currency Calculator Styles */

.ws-currency-calculator {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Inter', 'Helvetica', sans-serif;
}

.ws-price-container {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.1) 0%, rgba(184, 134, 11, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.ws-price-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(218, 165, 32, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

.ws-price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.ws-price-content {
    flex: 1;
}

.ws-price-label {
    color: #F5E6D3;
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.025em;
}

.ws-price-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.ws-price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: #DAA520;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.ws-price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #E6D5A0;
    margin-left: 0.25rem;
}

.ws-price-subtitle {
    color: rgba(245, 230, 211, 0.8);
    font-size: 0.875rem;
    font-weight: 300;
    margin: 0;
}

.ws-exchange-rate {
    color: rgba(218, 165, 32, 0.7);
    font-size: 0.75rem;
    font-weight: 300;
    margin: 0.5rem 0 0 0;
}

.ws-currency-switcher {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.ws-currency-buttons {
    background: rgba(31, 41, 55, 0.8);
    border-radius: 12px;
    padding: 0.25rem;
    border: 1px solid rgba(218, 165, 32, 0.2);
    display: flex;
}

.ws-currency-btn {
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: #F5E6D3;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.025em;
}

.ws-currency-btn:hover {
    color: #DAA520;
}

.ws-currency-btn.active {
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    color: #1F2937;
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.4);
}

.ws-update-info {
    text-align: right;
}

.ws-live-rate {
    color: #DAA520;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0 0 0.25rem 0;
}

.ws-last-updated {
    color: rgba(245, 230, 211, 0.6);
    font-size: 0.75rem;
    margin: 0;
}

/* Loading Spinner */
.ws-loading-spinner {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
}

.ws-spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-top: 2px solid #DAA520;
    border-radius: 50%;
    animation: ws-spin 1s linear infinite;
}

@keyframes ws-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Decorative Elements */
.ws-price-container::after {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    border-top: 2px solid rgba(218, 165, 32, 0.3);
    border-left: 2px solid rgba(218, 165, 32, 0.3);
}

.ws-price-container::before {
    content: '';
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    border-bottom: 2px solid rgba(218, 165, 32, 0.3);
    border-right: 2px solid rgba(218, 165, 32, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ws-price-section {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .ws-currency-switcher {
        align-items: center;
    }
    
    .ws-update-info {
        text-align: center;
    }
    
    .ws-price-amount {
        font-size: 2.5rem;
    }
    
    .ws-price-currency {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .ws-price-container {
        padding: 1.5rem;
    }
    
    .ws-price-amount {
        font-size: 2rem;
    }
    
    .ws-currency-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }
}

/* WordPress Widget Styles */
.widget .ws-currency-calculator {
    max-width: none;
}

.widget .ws-price-container {
    margin-bottom: 1rem;
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
    .ws-currency-calculator {
        color: #F5E6D3;
    }
} 