/* Currency Converter Widget Styles - COMPACT VERSION */

.ecc-card {
    background-color: #FFFFFF;
    border-radius: 14px;
    padding: 24px;
    width: 100%;
    max-width: 340px;
    /* Even smaller */
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Box Shadows */
    box-shadow:
        0px 6px 20px 0px rgba(0, 0, 0, 0.10),
        0px 24px 24px 0px rgba(0, 0, 0, 0.10);

    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.ecc-header {
    text-align: center;
    margin-bottom: 18px;
    width: 100%;
}

.ecc-label {
    font-size: 13px;
    font-weight: 600;
    color: #0E0F0C;
    margin-bottom: 10px;
}

.ecc-rate-box {
    background-color: #F9FCED;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #0E0F0C;
    display: inline-block;
}

.ecc-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Input Group - Smaller */
.ecc-input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #454745;
    /* Back to 1px */
    border-radius: 8px;
    padding: 3px;
    background: #fff;
    box-sizing: border-box;
    gap: 6px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(69, 71, 69, 0.20);
}

/* Amount Input - Smaller */
.ecc-card input[type="text"],
.ecc-card input[type="number"],
.ecc-card select {
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 20px !important;
    padding: 0 !important;
    color: #0E0F0C !important;
    border: 0px transparent !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.ecc-amount-input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px !important;
}

.ecc-amount-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Currency Select Wrapper */
.ecc-currency-select-wrapper {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    min-width: 60px;
    padding-right: 10px;
}

.ecc-currency-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer;
    min-width: 45px;
}

.ecc-chevron {
    pointer-events: none;
    flex-shrink: 0;
}

/* Swap Button */
.ecc-swap-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 4px;
    margin: 0 auto;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
}

.ecc-swap-btn:hover,
.ecc-swap-btn:focus,
.ecc-swap-btn:active {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.ecc-swap-btn svg {
    display: block;
    width: 18px;
    height: 18px;
}

/* Calculate Button */
.ecc-calc-btn {
    margin-top: 6px;
    background-color: #C6E450 !important;
    color: #49580E !important;
    width: 100%;
    padding: 12px;
    border: none !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    outline: none !important;
    box-shadow: none !important;
}

.ecc-calc-btn:hover {
    background-color: #bce030 !important;
}

.ecc-calc-btn:focus,
.ecc-calc-btn:active {
    background-color: #C6E450 !important;
    color: #49580E !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Responsive */
@media (max-width: 480px) {
    .ecc-card {
        padding: 18px;
    }
}