:root {
            --currency-primary-color: #3498db;
            --currency-secondary-color: #2c3e50;
            --currency-success-color: #28a745;
            --currency-warning-color: #ffc107;
            --currency-danger-color: #dc3545;
            --currency-border-color: #bccef6;
            --currency-bg-light: #f8f9fa;
        }
        
        .currency_body {
            background-color: var(--currency-bg-light);
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            padding-top: 7px;
            min-height: 100vh;
            margin: 0 10px;
        }
        
        .currency_main-container {
            padding: 5px;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .currency_card {
            border: none;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
            margin-bottom: 5px;
            background: white;
        }
        
        .currency_card-header {
            background: white;
            border-bottom: 1px solid var(--currency-border-color);
            padding: 8px 12px;
            font-weight: 600;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .currency_card-body {
            padding: 8px 12px;
        }
        
        .currency_exchange-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-bottom: 5px;
        }
        
        @media (min-width: 1025px) {
            .currency_exchange-container {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        @media (max-width: 1024px) {
            .currency_exchange-container {
                grid-template-columns: 1fr;
            }
        }
        
        .currency_converter-section {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .currency_input-group {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .currency_form-control, .currency_form-select {
            padding: 2px 8px;
            border: 1px solid var(--currency-border-color);
            border-radius: 4px;
            font-size: 16px;
            height: 32px;
        }
        
        .currency_input-group .currency_form-control {
            width: 100%;
            flex: 1;
            position: relative;
        }
        
        .currency_input-group .currency_form-select {
            width: 161px;
            flex-shrink: 0;
        }
        
        .currency_swap-container {
            display: flex;
            justify-content: center;
            margin: 2px 0;
            position: relative;
        }
        
        .currency_swap-btn {
            background: var(--currency-primary-color);
            color: white;
            border: none;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 0;
        }
        
        .currency_swap-btn:hover {
            background: #2d83f4;
        }
        
        .currency_swap-icon {
            width: 16px;
            height: 16px;
            transform: rotate(90deg);
            filter: brightness(0) invert(1);
        }
        
        .currency_rate-display {
            font-size: 14px;
            font-weight: 600;
            text-align: center;
            margin: 5px 0;
            padding: 6px;
            background: var(--currency-bg-light);
            border-radius: 4px;
            border: 1px solid var(--currency-border-color);
        }
        
        .currency_from-currency {
            color: #e74c3c;
        }
        
        .currency_to-currency {
            color: #27ae60;
        }
        
        .currency_convert-btn {
            width: 30%;
            padding: 6px;
            font-size: 14px;
            background: #2d83f4;
            color: white;
            border: none;
            border-radius: 4px;
            font-weight: 600;
            transition: all 0.3s ease;
            height: 32px;
            margin: 30px auto 30px;
            display: block;
        }
        
        .currency_convert-btn:hover {
            background: #ffa500;
        }
        
        .currency_rates-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 5px;
        }
        
        .currency_pair {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 6px 8px;
            background: var(--currency-bg-light);
            border: 1px solid var(--currency-border-color);
            border-radius: 4px;
            font-size: 12px;
        }
        
        .currency_info {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .currency_flag {
            width: 20px;
            height: 15px;
            border-radius: 2px;
        }
        
        .currency_exchange-arrow {
            color: #6c757d;
            margin: 0 8px;
        }
        
        .currency_refresh-btn {
            padding: 4px 12px;
            background: var(--currency-warning-color);
            color: #000;
            border: none;
            border-radius: 4px;
            font-size: 12px;
            transition: all 0.3s ease;
            height: 28px;
            min-width: 80px;
        }
        
        .currency_refresh-btn:hover {
            background: #e0a800;
        }
        
        .currency_refresh-btn.success {
            background: var(--currency-success-color);
            color: white;
        }
        
        .currency_last-update {
            font-size: 11px;
            color: #6c757d;
        }
        
        .currency_loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255,255,255,0.9);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }
        
        .currency_stats-info {
            display: flex;
            gap: 15px;
            font-size: 12px;
            color: #6c757d;
            margin-top: 5px;
        }
        
        .currency_stat-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .currency_select-option {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 4px;
        }
        
        .currency_code {
            font-weight: 600;
            min-width: 50px;
        }
        
        .currency_fullname {
            font-size: 11px;
            color: #6c757d;
        }

        .currency_code-display {
            font-weight: 600;
            font-size: 12px;
            color: var(--currency-secondary-color);
        }

        .currency_symbol-container {
            position: relative;
            width: 100%;
            flex: 1;
        }

        .currency_symbol-display {
            position: absolute;
            left: 3px;
            top: 50%;
            transform: translateY(-50%);
            padding: 0 1px;
            color: #202938;
            font-weight: 600;
            pointer-events: none;
            z-index: 2;
            background: white;
            height: 28px;
            display: flex;
            align-items: center;
            border-right: 1px solid var(--currency-border-color);
            min-width: 25px;
        }

        .currency_symbol-input {
            padding-left: 45px;
            width: 100%;
        }