/* remesas.css */
.wc-remesas-calculator {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.remesas-step {
    display: none;
}

.remesas-step.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wc-remesas-calculator h3 {
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0073aa;
}

.remesas-form-group {
    margin-bottom: 20px;
}

.remesas-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.remesas-currency-inline {
    font-weight: 500;
    color: #0073aa;
    font-size: 14px;
    margin-left: 5px;
}

.remesas-min-amount-notice {
    display: block;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    font-size: 13px;
    color: #856404;
    font-weight: 500;
}

/* Inputs modernos para Step 2 */
.remesas-input-modern {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    transition: all 0.3s;
    outline: none;
}

.remesas-input-modern:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}

.remesas-input-modern::placeholder {
    color: #bdc3c7;
    font-weight: 400;
}

.remesas-input-modern[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Select moderno */
select.remesas-input-modern {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c3e50' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Input con selector de moneda integrado */
.remesas-input-with-currency {
    display: flex;
    align-items: stretch;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    background: white;
}

.remesas-input-with-currency:focus-within {
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}

.remesas-amount-input {
    flex: 1;
    border: none !important;
    padding: 16px;
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    outline: none;
    background: transparent;
}

.remesas-amount-input::placeholder {
    color: #bdc3c7;
    font-weight: 400;
}

.remesas-currency-selector {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-left: 2px solid #e9ecef;
    padding: 0 12px;
    min-width: 120px;
}

.remesas-country-select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    outline: none;
    padding: 8px;
}

.remesas-country-select option {
    font-size: 16px;
    padding: 8px;
}

/* Información de tasa de cambio */
.remesas-exchange-info {
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    text-align: center;
}

.exchange-rate-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
}

.exchange-icon {
    font-size: 20px;
}

.exchange-label {
    font-size: 14px;
    font-weight: 500;
}

.exchange-value {
    font-size: 18px;
    font-weight: 700;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 4px;
}

.remesas-form-group input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.remesas-currency-display {
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

.remesas-currency-display span {
    font-weight: 600;
    color: #0073aa;
}

.remesas-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.remesas-btn-primary {
    background-color: #0073aa;
    color: #fff;
}

.remesas-btn-primary:hover {
    background-color: #005a87;
}

.remesas-btn-secondary {
    background-color: #f0f0f0;
    color: #333;
}

.remesas-btn-success {
    background-color: #28a745;
    color: #fff;
}

.remesas-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.remesas-btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.remesas-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 600;
    color: #555;
}

.summary-value {
    color: #0073aa;
    font-weight: 600;
}

.remesas-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.remesas-message.show {
    display: block;
}

.remesas-message.success {
    background-color: #d4edda;
    color: #155724;
}

.remesas-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

@media (max-width: 768px) {
    .wc-remesas-calculator {
        padding: 20px;
    }
    .remesas-btn-group {
        flex-direction: column;
    }
    .remesas-btn {
        width: 100%;
    }
    .remesas-amount-input {
        font-size: 20px;
        padding: 12px;
    }
    .remesas-currency-selector {
        min-width: 100px;
        padding: 0 8px;
    }
    .remesas-country-select {
        font-size: 14px;
    }
    .exchange-rate-display {
        flex-direction: column;
        gap: 5px;
    }
    .exchange-value {
        font-size: 16px;
    }
}