/* ═══════════════════════════════════════════════════════════
   Kuwera Wise Multi-Currency — Frontend Styles
   ═══════════════════════════════════════════════════════════ */

/* ── Currency Switcher ───────────────────────────────────── */
.kuwera-currency-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.kuwera-currency-switcher select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2ffffff' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    padding: 0 5px;
    border-width: 0px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 70px;
    height: 20px;
}

.kuwera-currency-switcher select:hover,
.kuwera-currency-switcher select:focus {
    outline: none;
}

.kuwera-rate-info {
    font-size: 11px;
    color: #888;
    font-style: italic;
}

/* ── Wise Instructions Box ───────────────────────────────── */
.kuwera-wise-box {
    margin: 20px 0;
    border: 2px solid #2d7a5f;
    border-radius: 10px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-shadow: 0 2px 12px rgba(45, 122, 95, 0.12);
}

.kuwera-wise-header {
    background: linear-gradient(135deg, #2d7a5f, #1a5c44);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kuwera-wise-header h3 {
    color: white !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    padding: 0 !important;
}

.kuwera-wise-logo {
    font-size: 22px;
}

.kuwera-wise-amount-highlight {
    background: #e8f5e9;
    border-bottom: 1px solid #c8e6c9;
    padding: 12px 20px;
    font-size: 15px;
    color: #1b5e20;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.kuwera-wise-amount-highlight strong {
    font-size: 20px;
    color: #1b5e20;
}

.kuwera-wise-currency-badge {
    background: #2d7a5f;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
}

.kuwera-wise-steps {
    padding: 16px 20px;
    background: white;
}

.kuwera-wise-steps > p {
    margin: 0 0 12px 0;
    color: #555;
    font-size: 14px;
}

/* Table */
.kuwera-wise-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 16px 0;
    font-size: 14px;
}

.kuwera-wise-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.kuwera-wise-table tr:last-child {
    border-bottom: none;
}

.kuwera-wise-table td {
    padding: 9px 12px;
    vertical-align: middle;
}

.kuwera-wise-table td:first-child {
    font-weight: 600;
    color: #555;
    width: 38%;
    background: #fafafa;
}

.kuwera-wise-table td:last-child {
    color: #333;
}

/* IBAN code */
.kuwera-iban {
    font-family: 'Courier New', monospace;
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    letter-spacing: 1px;
}

/* Copy button */
.kuwera-copy-btn {
    background: none;
    border: 1px solid #2d7a5f;
    color: #2d7a5f;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 8px;
    transition: all 0.2s;
}

.kuwera-copy-btn:hover {
    background: #2d7a5f;
    color: white;
}

.kuwera-copy-btn.copied {
    background: #4caf50;
    border-color: #4caf50;
    color: white;
}

/* Payment link */
.kuwera-wise-link-section {
    margin: 12px 0;
    padding: 12px;
    background: #f0f7f4;
    border-radius: 6px;
}

.kuwera-wise-link-section p {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #555;
}

.kuwera-wise-paylink {
    display: inline-block;
    background: #2d7a5f;
    color: white !important;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.kuwera-wise-paylink:hover {
    background: #1a5c44 !important;
}

/* Note box */
.kuwera-wise-note {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* Thank you page wrapper */
.kuwera-wise-thankyou-wrap {
    max-width: 680px;
    margin: 24px auto;
}

/* ── Loading state ───────────────────────────────────────── */
.kuwera-price-loading {
    opacity: 0.5;
    transition: opacity 0.3s;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
    .kuwera-wise-table td:first-child {
        width: 45%;
    }
    .kuwera-iban {
        font-size: 11px;
        letter-spacing: 0;
    }
    .kuwera-wise-amount-highlight {
        font-size: 14px;
    }
}
