/* Variáveis para fácil personalização */
:root {
    --oawp-primary: #0f172a;       /* Azul Escuro Profundo */
    --oawp-accent: #3b82f6;        /* Azul Brilhante */
    --oawp-whatsapp: #25D366;      /* Verde WhatsApp */
    --oawp-bg-input: #f8fafc;      /* Cinza muito claro */
    --oawp-border: #e2e8f0;        /* Borda suave */
    --oawp-text: #334155;          /* Texto principal */
    --oawp-radius: 8px;            /* Arredondamento */
}

#oawp-wrapper {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--oawp-text);
    line-height: 1.6;
}

#oawp-container {
    max-width: 650px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--oawp-border);
    overflow: hidden;
}

/* --- CABEÇALHO DO FORMULÁRIO --- */
.oawp-header {
    background: var(--oawp-primary);
    padding: 30px;
    text-align: center;
}

.oawp-header h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff !important; /* Branco Forçado */
}

.oawp-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    color: #ffffff !important; /* Branco Forçado */
}
/* ------------------------------- */

#oawp-form, #oawp-result {
    padding: 30px;
}

.oawp-section-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #94a3b8;
    margin: 25px 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.oawp-section-title span {
    background: var(--oawp-accent);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.oawp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .oawp-row { grid-template-columns: 1fr; }
}

.oawp-group {
    margin-bottom: 20px;
}

.oawp-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--oawp-primary);
}

.oawp-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-top: -5px;
    margin-bottom: 12px;
}

.oawp-group input[type="text"],
.oawp-group input[type="email"],
.oawp-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--oawp-border);
    background: var(--oawp-bg-input);
    border-radius: var(--oawp-radius);
    font-size: 15px;
    color: var(--oawp-text);
    transition: all 0.3s ease;
    box-sizing: border-box;
    outline: none;
}

.oawp-group input:focus,
.oawp-group select:focus {
    border-color: var(--oawp-accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Checkbox and Radio Cards */
.oawp-grid-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 500px) {
    .oawp-grid-options { grid-template-columns: 1fr; }
}

.oawp-checkbox-card {
    display: flex;
    cursor: pointer;
    position: relative;
}

.oawp-checkbox-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.oawp-card-content {
    display: block;
    width: 100%;
    padding: 15px;
    border: 2px solid var(--oawp-border);
    border-radius: var(--oawp-radius);
    background: #fff;
    transition: all 0.2s ease;
}

.oawp-card-content:hover {
    border-color: #cbd5e1;
}

.card-title {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: var(--oawp-primary);
    margin-bottom: 4px;
}

.card-desc {
    display: block;
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
}

.oawp-checkbox-card input:checked + .oawp-card-content {
    border-color: var(--oawp-accent);
    background-color: #eff6ff;
}

.oawp-checkbox-card input:checked + .oawp-card-content .card-title {
    color: var(--oawp-accent);
}

.oawp-footer {
    margin-top: 30px;
    text-align: center;
}

#oawp-submit-btn {
    background: var(--oawp-primary);
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.2);
}

#oawp-submit-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

#oawp-result {
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

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

.oawp-success-icon {
    margin-bottom: 20px;
}

#oawp-result h3 {
    color: var(--oawp-primary);
    font-size: 24px;
    margin-bottom: 20px;
}

.oawp-price-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    display: inline-block;
    padding: 15px 40px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.oawp-price-box .currency {
    font-size: 20px;
    color: #64748b;
    vertical-align: top;
    margin-right: 5px;
    font-weight: 600;
}

.oawp-price-box #oawp-total-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--oawp-primary);
    line-height: 1;
}

.oawp-note {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.5;
}

.button-whatsapp {
    background: var(--oawp-whatsapp) !important;
    color: #fff !important;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.button-whatsapp:hover {
    background: #1ebc57 !important;
    transform: translateY(-2px);
}