.currency-page {
    max-width: var(--small-width);
    margin: 0 auto;
    padding: 30px;
}

.currency-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .currency-container {
        grid-template-columns: 1fr;
    }
}

.currency-input {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.converter-box {
    background: #fff;
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 30px;
    border: 2px solid #e2e8f0;
}

.converter-row {
    margin-bottom: 20px;
}

.currency-select-wrap {
    position: relative;
}

.currency-select-wrap select {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #1e293b;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    appearance: none;
}

.currency-select-wrap select:hover {
    border-color: rgba(6, 182, 212, 0.5);
}

.currency-select-wrap select:focus {
    border-color: rgba(6, 182, 212, 0.8);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.currency-select-wrap::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(30, 41, 59, 0.5);
    font-size: 12px;
    pointer-events: none;
}

.currency-select-wrap select option {
    background: #fff;
    color: #1e293b;
    padding: 10px;
}

.amount-row {
    margin-bottom: 20px;
}

.amount-row input {
    width: 100%;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #1e293b;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    outline: none;
}

.amount-row input:hover {
    border-color: rgba(6, 182, 212, 0.5);
}

.amount-row input:focus {
    border-color: rgba(6, 182, 212, 0.8);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.amount-row input::placeholder {
    color: rgba(30, 41, 59, 0.3);
}

.swap-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.2);
    color: rgba(6, 182, 212, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.swap-btn:hover {
    background: rgba(6, 182, 212, 0.3);
    transform: rotate(180deg);
}

.swap-btn svg {
    width: 20px;
    height: 20px;
}

.result-row {
    margin-bottom: 15px;
}

.result-display {
    background: rgba(6, 182, 212, 0.15);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.result-amount {
    font-size: 36px;
    font-weight: 700;
    color: rgba(6, 182, 212, 0.9);
}

.result-currency {
    font-size: 18px;
    margin-left: 8px;
    color: #1e3a5f;
}

.rate-info {
    text-align: center;
    font-size: 14px;
    color: #1e293b;
}

.quick-amounts {
    background: #fff;
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid #e2e8f0;
}

.quick-label {
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 12px;
    display: block;
}

.quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-buttons button {
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-buttons button:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.5);
    color: #06b6d4;
}

.currency-output {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-card {
    background: #fff;
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 25px;
    border: 2px solid #e2e8f0;
}

.section-header {
    margin-bottom: 20px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.rate-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rate-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.15);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.rate-item:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.2);
}

.rate-flag {
    color: #1e293b;
    font-size: 20px;
}

.rate-info {
    flex: 1;
}

.rate-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.rate-value {
    font-size: 16px;
    font-weight: 600;
    color: rgba(6, 182, 212, 0.9);
}

.disclaimer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(30, 41, 59, 0.1);
    font-size: 12px;
    color: rgba(30, 41, 59, 0.5);
    text-align: center;
}