/* Calculadora de Aviso Prévio - estilos */
:root {
  --app-primary: #16a34a;
  --app-primary-dark: #15803d;
  --app-bg: #f8fafc;
  --app-radius: 16px;
  --app-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --app-shadow-hover: 0 8px 28px rgba(15, 23, 42, 0.10);
}

body {
  background-color: var(--app-bg);
  color: #0f172a;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

h1, h2, h3 { color: #0f172a; }

/* Cards */
.card-app {
  background: #fff;
  border: none;
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow);
  transition: box-shadow .2s ease;
}
.card-app:hover { box-shadow: var(--app-shadow-hover); }

/* Form */
.form-control, .form-select, .input-group-text {
  border-radius: 10px;
  padding: .65rem .85rem;
}
.input-group > .form-control,
.input-group > .form-select { border-radius: 0 10px 10px 0; }
.input-group > .input-group-text:first-child { border-radius: 10px 0 0 10px; }
.input-group > .input-group-text:last-child { border-radius: 0 10px 10px 0; }
.input-group > .form-control:not(:last-child) { border-radius: 10px 0 0 10px; }

.form-control:focus, .form-select:focus {
  border-color: var(--app-primary);
  box-shadow: 0 0 0 .2rem rgba(22, 163, 74, .15);
}

/* Buttons */
.btn-primary-app {
  background: var(--app-primary);
  border: 1px solid var(--app-primary);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
}
.btn-primary-app:hover, .btn-primary-app:focus {
  background: var(--app-primary-dark);
  border-color: var(--app-primary-dark);
  color: #fff;
}
.btn-secondary-app {
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
  color: #334155;
  border-radius: 12px;
  font-weight: 600;
}
.btn-secondary-app:hover { background: #cbd5e1; border-color: #cbd5e1; color: #1e293b; }

.btn-outline-primary-app {
  background: transparent;
  border: 1.5px solid var(--app-primary);
  color: var(--app-primary);
  border-radius: 12px;
  font-weight: 600;
}
.btn-outline-primary-app:hover {
  background: var(--app-primary);
  color: #fff;
}

/* Results */
.result-highlight {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  height: 100%;
}
.result-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #166534;
  font-weight: 600;
  margin-bottom: .35rem;
}
.result-big {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--app-primary-dark);
  line-height: 1.1;
}
@media (min-width: 768px) {
  .result-big { font-size: 2rem; }
}

.result-list li {
  display: flex;
  justify-content: space-between;
  padding: .65rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: .95rem;
}
.result-list li:last-child { border-bottom: none; }
.result-list span { color: #64748b; }
.result-list strong { color: #0f172a; }

/* Info list */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  padding: .5rem 0 .5rem 1.75rem;
  position: relative;
  color: #334155;
}
.info-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--app-primary);
  font-weight: 700;
}

/* Accordion */
.accordion-app .accordion-item {
  border: none;
  border-radius: var(--app-radius) !important;
  overflow: hidden;
  margin-bottom: .75rem;
  box-shadow: var(--app-shadow);
}
.accordion-app .accordion-button {
  font-weight: 600;
  padding: 1rem 1.25rem;
  background: #fff;
  color: #0f172a;
}
.accordion-app .accordion-button:not(.collapsed) {
  background: #f0fdf4;
  color: var(--app-primary-dark);
  box-shadow: none;
}
.accordion-app .accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(22, 163, 74, .15);
  border-color: transparent;
}
.accordion-app .accordion-body { color: #475569; line-height: 1.65; }

/* Table */
.table { margin-bottom: 0; }
.table > :not(caption) > * > * { padding: .75rem 1.25rem; }
.table thead th { background: #f1f5f9; color: #334155; font-weight: 600; }
