:root {
    --fwc-blue: #118b63;
    --fwc-blue-dark: #0c694a;
    --fwc-accent: #f6af2c;
    --fwc-bg: #f7fbf9;
    --fwc-text: #1e3a2f;
    --fwc-green: #12c483;
    --fwc-soft: #ecf8f2;
}

.fwc-shell {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid #dcebe5;
}

.fwc-panel {
    background: #fff;
    border: 1px solid #d7e8e1;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(16, 64, 47, 0.08);
    overflow: hidden;
}

.fwc-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 10px;
    background: #f5faf7;
    border-bottom: 1px solid #d8e8e1;
}

#fwc-calculator-root .fwc-tabs .fwc-tab {
    border: 1px solid #cfddd7;
    background: linear-gradient(155deg, #f4f4f4 20%, #eef1ef 100%) !important;
    background-color: #f4f4f4 !important;
    background-image: linear-gradient(155deg, #f4f4f4 20%, #eef1ef 100%) !important;
    color: #9aa39e !important;
    font-size: 16px;
    font-weight: 700;
    padding: 13px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#fwc-calculator-root .fwc-tabs .fwc-tab:hover {
    background: linear-gradient(155deg, #eeeeee 20%, #e8edea 100%) !important;
    color: #7f8a84 !important;
}

#fwc-calculator-root .fwc-tabs .fwc-tab.is-active {
    background: linear-gradient(90deg, var(--fwc-blue), #1ca978) !important;
    background-color: var(--fwc-blue) !important;
    background-image: linear-gradient(90deg, var(--fwc-blue), #1ca978) !important;
    color: #fff !important;
    border-color: var(--fwc-blue-dark);
    box-shadow: 0 8px 16px rgba(17, 139, 99, 0.24);
}

.fwc-form-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 14px 18px;
}

.fwc-field label {
    display: block;
    font-size: 14px;
    color: var(--fwc-text);
    margin-bottom: 8px;
    font-weight: 700;
}

.fwc-field input,
.fwc-field select {
    width: 100%;
    border: 1px solid #bcd8cc;
    border-radius: 10px;
    height: 50px;
    padding: 0 14px;
    font-size: 16px;
    color: #253848;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fwc-field input:focus,
.fwc-field select:focus {
    outline: none;
    border-color: #14956a;
    box-shadow: 0 0 0 3px rgba(20, 149, 106, 0.16);
}

.fwc-field.full {
    grid-column: 1 / -1;
}

.fwc-currency-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fwc-currency-pair.full {
    grid-column: 1 / -1;
}

.fwc-currency-pair .fwc-field {
    margin: 0;
}

#fwc-inr-static {
    background: linear-gradient(155deg, #f2fbf6 20%, #e8f5ee 100%);
    color: #2f5e4a;
    font-weight: 700;
    opacity: 1;
    -webkit-text-fill-color: #355f7d;
}

.fwc-add-wrap {
    align-self: end;
}

.fwc-warning {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #e8c48b;
    background: #fff8ec;
    color: #8b5d1a;
    border-radius: 8px;
    font-size: 13px;
}

.fwc-add-btn {
    border: none;
    background: linear-gradient(90deg, var(--fwc-blue), #1ca978) !important;
    background-color: var(--fwc-blue) !important;
    background-image: linear-gradient(90deg, var(--fwc-blue), #1ca978) !important;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    height: 50px;
    padding: 0 22px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 8px 14px rgba(17, 115, 83, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fwc-add-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(17, 139, 99, 0.28);
}

.fwc-order-wrap {
    padding: 12px 20px 20px;
    background: #ffffff !important;
    border-top: 1px solid #e8efeb;
}

.fwc-order-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px dashed #c3c3c3;
    background: #ffffff !important;
}

.fwc-order-table thead {
    border: dashed 1.5px #c3c3c3;
    background: #ffffff !important;
}

.fwc-order-table th,
.fwc-order-table td {
    text-align: center;
    vertical-align: middle;
    padding: 12px 8px;
    border: 1px dashed #c3c3c3;
    color: #2c4f41;
    font-size: 14px;
    background: #ffffff !important;
}

.fwc-order-table th {
    font-weight: 700;
    color: #2b5a47;
    font-size: 10px;
}

.fwc-order-table tbody tr,
.fwc-order-table tbody tr:nth-child(odd),
.fwc-order-table tbody tr:nth-child(even),
.fwc-order-table tbody td,
.fwc-order-table thead th {
    background: #ffffff !important;
}

.fwc-delete {
    border: 1px solid var(--fwc-blue-dark);
    background: linear-gradient(90deg, var(--fwc-blue), #1ca978) !important;
    background-color: var(--fwc-blue) !important;
    background-image: linear-gradient(90deg, var(--fwc-blue), #1ca978) !important;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(17, 139, 99, 0.2);
    display: inline-block;
}

.fwc-delete:hover {
    box-shadow: 0 10px 18px rgba(17, 139, 99, 0.28);
}

.fwc-bottom {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-end;
}

.fwc-pricing {
    min-width: 320px;
}

.fwc-break-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
    color: #5a6c64;
    margin-bottom: 6px;
}

.fwc-total {
    font-size: 14px;
    color: #2b5a47;
}

.fwc-total strong {
    font-size: 42px;
    line-height: 1.1;
}

.fwc-whatsapp {
    border: none;
    background: linear-gradient(90deg, var(--fwc-blue), #1ca978) !important;
    background-color: var(--fwc-blue) !important;
    background-image: linear-gradient(90deg, var(--fwc-blue), #1ca978) !important;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    border-radius: 10px;
    padding: 14px 24px;
    cursor: pointer;
    border: 1px solid var(--fwc-blue-dark);
    box-shadow: 0 8px 16px rgba(17, 139, 99, 0.24);
}

@media (max-width: 900px) {
    .fwc-tabs,
    .fwc-currency-pair,
    .fwc-form-grid {
        grid-template-columns: 1fr;
    }

    .fwc-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .fwc-pricing {
        min-width: 0;
        width: 100%;
    }

    .fwc-total strong {
        font-size: 28px;
    }
}
