        /* Currency Flags */
        .currency-flag {
            width: 24px;
            height: 18px;
            border-radius: 2px;
            margin-right: 10px;
            display: inline-block;
            vertical-align: middle;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        
        /* Currency Select Styles */
        .currency-select {
            display: flex;
            align-items: center;
        }
        .form-select{padding:0.75rem}
        .currency-option {
            display: flex;
            align-items: center;
        }
        
        /* Exchange Rate Table */
        .exchange-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .exchange-table th, .exchange-table td {
            padding: 0.75rem;
            text-align: center;
            border: 1px solid var(--border-color);
        }
        
        .exchange-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .exchange-table tr:nth-child(even) {
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        /* API Status */
        .api-status {
            padding: 0.5rem;
            border-radius: 4px;
            font-size: 0.85rem;
            margin-top: 0.5rem;
            display: none
        }
        
        .api-status.loading {
            background-color: #fff3cd;
            color: #856404;
        }
        
        .api-status.success {
            background-color: #d4edda;
            color: #155724;
        }
        
        .api-status.error {
            background-color: #f8d7da;
            color: #721c24;
        }
        
        .api-status.cached {
            background-color: #cce5ff;
            color: #004085;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .tool-card {
                padding: 1.5rem;
            }
        }
        
        /* Cache Indicator */
        .cache-indicator {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }
        
        /* Conversion History */
        .history-container {
            max-height: 300px;
            overflow-y: auto;
            margin-top: 1.5rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 1rem;
        }
        
        .history-item {
            padding: 0.5rem;
            border-bottom: 1px solid var(--border-color);
        }
        
        .history-item:last-child {
            border-bottom: none;
        }
        
        /* Form Layout */
        .form-row {
            display: flex;
            flex-wrap: wrap;
            margin-right: -5px;
            margin-left: -5px;
        }
        
        .form-col {
            padding: 0 5px;
            flex: 1 0 0%; 
        }
        
        @media (min-width: 768px) {
            .form-col {
                flex: 0 0 50%;
                max-width: 33.3%;
            }
        }
         @media (max-width: 768px) {
            .form-col {
                flex: 0 0 100%;
                max-width: 100%;
            }
        }
        /* Source Badge */
        .source-badge {
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
        }
        
        .source-api {
            background-color: #d4edda;
            color: #155724;
        }
        
        .source-cache {
            background-color: #cce5ff;
            color: #004085;
        }
    .currency-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgb(0 0 0 / 5%);
    text-align: center;
    margin-bottom: 1.5rem;
}.currency-flag-lg {
    width: 48px;
    height: 36px;
    border-radius: 4px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
}
.fi-eu {
    background-image: url(https://cdnjs.cloudflare.com/ajax/libs/flag-icons/6.6.6/flags/4x3/eu.svg);
}
.fi-us {
    background-image: url(https://cdnjs.cloudflare.com/ajax/libs/flag-icons/6.6.6/flags/4x3/us.svg);
}.fi {
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
    display: inline-block; 
    line-height: 1em;
}.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}.tip-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgb(0 0 0 / 5%);
}.tip-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}.tip-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}