.currency-container {
    max-width: 700px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 2rem;
}

.currency-input, .currency-output {
    font-size: 1.3rem;
    padding: 1.2rem;
    border-radius: 15px;
    border: 2px solid var(--secondary-color);
    background-color: #f8f9fa;
    color: var(--text-dark);
    font-weight: bold;
    text-align: center;
}

.currency-input:focus, .currency-output:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
    outline: none;
}

.currency-select {
    font-size: 1.1rem;
    padding: 1rem;
    border-radius: 15px;
    border: 2px solid var(--secondary-color);
    background-color: white;
    color: var(--text-dark);
    font-weight: bold;
}

.currency-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
    outline: none;
}

.swap-currencies-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 3px solid var(--accent-color);
    color: white;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(52, 144, 220, 0.3);
}

.swap-currencies-btn:hover {
    background-color: #29b6f6;
    border-color: #29b6f6;
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(52, 144, 220, 0.4);
}

.conversion-card {
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 2px solid var(--secondary-color);
}

.conversion-title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.conversion-result {
    background-color: rgba(255, 20, 147, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.8rem;
    margin-top: 1.5rem;
    text-align: center;
}

.result-amount {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.result-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.rate-info {
    background-color: rgba(52, 144, 220, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.popular-currencies {
    background-color: rgba(108, 117, 125, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.currency-quick-btn {
    background-color: white;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    padding: 0.75rem 1.2rem;
    margin: 0.3rem;
    font-weight: bold;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.currency-quick-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 20, 147, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    border: 2px solid #dc3545;
    border-radius: 15px;
    padding: 1rem;
    color: #dc3545;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}

.last-updated {
    text-align: center;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .currency-container {
        padding: 1.5rem;
        max-width: 550px;
    }
    
    .currency-input, .currency-output {
        font-size: 1.1rem;
        padding: 1rem;
    }
    
    .swap-currencies-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .result-amount {
        font-size: 1.8rem;
    }
    
    .popular-currencies {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .currency-container {
        padding: 1rem;
    }
    
    .conversion-card {
        padding: 1.5rem;
    }
    
    .currency-quick-btn {
        width: calc(50% - 0.6rem);
        margin: 0.3rem;
        font-size: 0.9rem;
    }
}