/* Heredamos la base visual de Algoria Labs */
body { font-family: 'Montserrat', sans-serif; background-color: #f8fbfc; color: #2c3e50; margin: 0; padding: 0; }
.top-bar { background-color: #005F73; padding: 15px; text-align: center; }
.logo-top { max-height: 40px; }
.container { max-width: 800px; margin: 40px auto; padding: 0 20px; }

.header-title { text-align: center; margin-bottom: 40px; }
.header-title h1 { color: #005F73; font-size: 2.2rem; margin-bottom: 10px; }
.header-title p { color: #7f8c8d; font-size: 1.1rem; }

.card { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 8px 20px rgba(0,0,0,0.05); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: #455A64; }
.form-control { width: 100%; padding: 12px; border: 1px solid #dcdde1; border-radius: 8px; font-family: inherit; font-size: 1rem; box-sizing: border-box; background-color: #fff;}
.form-control:focus { outline: none; border-color: #005F73; box-shadow: 0 0 0 3px rgba(0,95,115,0.1); }

/* Input con ícono de peso */
.input-icon-wrapper { position: relative; }
.input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #7f8c8d; }
.with-icon { padding-left: 35px !important; font-weight: 600; font-size: 1.1rem; }

.btn-generate { background-color: #27ae60; color: white; border: none; padding: 15px 20px; width: 100%; border-radius: 8px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: background 0.3s; }
.btn-generate:hover { background-color: #219a52; }

/* Panel de Resultados Financieros */
.result-box { display: none; margin-top: 30px; border-top: 2px dashed #dcdde1; padding-top: 30px; }
.result-grid { display: flex; flex-direction: column; gap: 15px; }
.result-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; background: #f8fbfc; border-radius: 8px; }
.highlight-item { background: #e8f5e9; border: 1px solid #c8e6c9; padding: 20px 15px; }

.result-label { font-weight: 600; color: #455A64; }
.result-value { font-size: 1.2rem; font-weight: 700; }
.highlight-item .result-label { font-size: 1.1rem; color: #27ae60; }
.highlight-item .result-value { font-size: 1.5rem; }

.text-primary { color: #005F73; }
.text-danger { color: #e74c3c; }
.text-success { color: #27ae60; }

.lead-banner { margin-top: 40px; background: #005F73; color: white; padding: 20px; border-radius: 12px; text-align: center; }
.lead-banner a { color: #f1c40f; font-weight: bold; text-decoration: none; }
.lead-banner a:hover { text-decoration: underline; }

.ads-container { text-align: center; margin-top: 40px; margin-bottom: 20px; }
.ads-label { font-size: 0.7rem; color: #b0bec5; }