/*
Theme Name: Rehub Child CPA Final
Template: rehub-theme
*/
@import url("../rehub-theme/style.css");

:root{
  --ink:#0f172a;
  --muted:#475569;
  --brand:#16a34a;
  --brand2:#22c55e;
  --card:#ffffff;
  --border:#e5e7eb;
}
body{color:var(--ink); background:#f6f7fb;}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}

/* Tarjetas de resultados */
.de24-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;max-width:1100px;margin:30px auto;padding:0 15px}
.de24-card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:16px;box-shadow:0 6px 18px rgba(2,6,23,.06)}
.de24-card h3{margin-top:0;color:var(--ink)}
.de24-meta{color:var(--muted);font-size:14px;margin:6px 0 12px}
.de24-cta{display:inline-block;background:linear-gradient(180deg,var(--brand2),var(--brand));color:#fff;padding:10px 14px;border-radius:10px;text-decoration:none;font-weight:800}
.de24-cta:hover{filter:brightness(1.05)}
.de24-badge{display:inline-block;font-size:12px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:4px 8px;color:var(--ink);margin-right:8px}

/* Formulario paso 2 */
.de24-form{max-width:900px;margin:24px auto;background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px;box-shadow:0 10px 24px rgba(2,6,23,.06)}
.de24-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.de24-field{display:flex;flex-direction:column}
.de24-field label{color:var(--muted);margin-bottom:6px}
.de24-field input[type='number'], .de24-field select{padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#fff}
.de24-actions{display:flex;justify-content:flex-end;margin-top:12px}
.de24-btn{background:linear-gradient(180deg,var(--brand2),var(--brand));color:#fff;border:none;border-radius:12px;padding:12px 18px;font-weight:800;cursor:pointer}
.de24-btn:hover{filter:brightness(1.05)}

/* Loader */
.de24-loader{max-width:900px;margin:80px auto;background:#fff;border:1px solid var(--border);border-radius:16px;padding:28px;box-shadow:0 10px 24px rgba(2,6,23,.08);text-align:center}
.de24-dots{display:inline-block;margin-left:6px}
.de24-dots span{display:inline-block;width:8px;height:8px;background:#22c55e;border-radius:50%;margin:0 4px;opacity:.4;animation:de24blink 1s infinite}
.de24-dots span:nth-child(2){animation-delay:.2s}
.de24-dots span:nth-child(3){animation-delay:.4s}
@keyframes de24blink{0%,100%{opacity:.2}50%{opacity:1}}
/* ==== Estilo Fintok/Crezu Optimista ==== */
body {
    background-color: #ffffff;
    color: #333;
}
.result-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.05);
}
.result-card img {
    max-width: 150px;
}
.result-card h3 {
    color: #2d6a4f;
}
.result-card .cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: #2d6a4f;
    color: #fff !important;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}
.result-card .cta-button:hover {
    background: #40916c;
}