/* ===============================
   Club Emprendo – Global Styles
   =============================== */

/* Color palette */
:root {
  --ce-pink: #ffd1d1;
  --ce-soft-pink: #f6dad9;
  --ce-deep-green: #163108;
  --ce-muted-green: #889480;
  --ce-purple: #673ab7;
  --ce-bg: #fcfbfa;
  --ce-white: #ffffff;

  --ce-radius-lg: 18px;
  --ce-radius-md: 12px;
  --ce-radius-sm: 8px;

  --ce-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--ce-bg);
  color: #222;
  line-height: 1.5;
}

/* Headings */
h1,
h2,
h3,
h4,
.ce-heading {
  font-family: "Aileron", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

/* Layout */
.ce-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ce-main {
  flex: 1;
}

/* ===============================
   Header
   =============================== */
.ce-header {
  padding: 1.25rem 2rem 1rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  background: var(--ce-white);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.ce-header-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Branding */
.ce-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ce-logo {
  display: flex;
  align-items: center;
}

.ce-logo img {
  width: 140px;
  height: auto;
  display: block;
}

.ce-brand-text {
  display: flex;
  flex-direction: column;
}

.ce-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ce-deep-green);
  letter-spacing: 0.03em;
}

.ce-brand-tagline {
  font-size: 0.75rem;
  color: var(--ce-muted-green);
}

/* ===============================
   ❌ REMOVE ROLE CHIPS (FIX)
   =============================== */

/* These were the pink “Mentoras / Emprendedoras” pills */
.ce-role-chips,
.ce-chip {
  display: none !important;
}

/* ===============================
   Main content
   =============================== */
.ce-container {
  width: 100%;
  max-width: 960px;
  margin: 2.25rem auto 2.75rem;
  padding: 0 1.25rem;
}

/* Card */
.ce-card {
  background: var(--ce-white);
  border-radius: 24px;
  box-shadow: var(--ce-shadow-soft);
  padding: 2.25rem 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
  .ce-card {
    padding: 1.5rem 1.25rem;
  }
}

/* Form header */
.ce-form-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
}

/* (Keeping this pill unless you explicitly want it gone) */
.ce-form-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--ce-soft-pink);
  color: var(--ce-deep-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ce-form-title {
  font-size: 1.5rem;
  margin: 0;
}

.ce-form-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* ===============================
   Form fields
   =============================== */
form {
  margin: 0;
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ce-deep-green);
  margin-bottom: 0.35rem;
}

.form-help {
  display: block;
  font-size: 0.78rem;
  color: #777;
  margin-bottom: 0.4rem;
}

.ce-help-text p {
  margin: 0 0 0.7rem;
}

.ce-help-text p:last-child {
  margin-bottom: 0;
}

.ce-help-text a {
  color: var(--ce-purple);
  overflow-wrap: anywhere;
  text-decoration: underline;
}

.ce-grid-question__scroll {
  overflow-x: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--ce-radius-md);
}

.ce-grid-question__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.ce-grid-question__table th,
.ce-grid-question__table td {
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.ce-grid-question__table thead th {
  color: var(--ce-deep-green);
  background: rgba(103, 58, 183, 0.06);
  font-weight: 600;
}

.ce-grid-question__table tbody th {
  min-width: 180px;
  text-align: left;
  font-weight: 500;
}

.ce-grid-question__table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.018);
}

.ce-grid-question__table input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-grid !important;
  place-content: center;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid #5f6368;
  border-radius: 50%;
  background: #fff;
  opacity: 1;
  cursor: pointer;
  vertical-align: middle;
}

.ce-grid-question__table input[type="radio"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ce-purple);
  transform: scale(0);
  transition: transform 0.1s ease-in-out;
}

.ce-grid-question__table input[type="radio"]:checked {
  border-color: var(--ce-purple);
}

.ce-grid-question__table input[type="radio"]:checked::before {
  transform: scale(1);
}

.ce-grid-question__table input[type="radio"]:focus-visible {
  outline: 3px solid rgba(103, 58, 183, 0.22);
  outline-offset: 2px;
}

.ce-intro-panel {
  padding: 1.25rem 1.1rem;
  border: 1px solid rgba(34, 52, 19, 0.1);
  border-radius: var(--ce-radius-md);
  background: #fff;
}

.ce-intro-panel .ce-section-intro {
  font-size: 0.95rem;
  line-height: 1.65;
}

.ce-intro-panel .ce-section-intro p:last-child {
  margin-bottom: 0;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
textarea,
select {
  width: 100%;
  border-radius: var(--ce-radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  background-color: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--ce-deep-green);
  box-shadow: 0 0 0 2px rgba(22, 49, 8, 0.12);
}

/* Radios & checkboxes */
.form-row ul {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
}

.form-row ul li {
  margin-bottom: 0.2rem;
}

.form-row input[type="radio"],
.form-row input[type="checkbox"] {
  margin-right: 0.4rem;
}

/* Required */
label.required::after {
  content: " *";
  color: #d14b4b;
}

/* Application progress */
.ce-form-progress {
  margin: 0 0 1.35rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(34, 52, 19, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.ce-form-progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  color: var(--ce-deep-green);
  font-size: 0.78rem;
  font-weight: 700;
}

.ce-form-progress__track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(34, 52, 19, 0.12);
}

.ce-form-progress__fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ce-deep-green), #6f8e59);
  transition: width 220ms ease;
}

/* ===============================
   Buttons
   =============================== */
.ce-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.ce-button-primary {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--ce-deep-green);
  color: var(--ce-pink);
  box-shadow: 0 8px 20px rgba(22, 49, 8, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background-color 0.12s ease;
}

.ce-button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(22, 49, 8, 0.28);
}

.ce-button-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(22, 49, 8, 0.22);
}

/* Alert */
.ce-alert {
  border-radius: var(--ce-radius-md);
  background: var(--ce-soft-pink);
  color: var(--ce-deep-green);
  padding: 0.75rem 0.9rem;
  font-size: 0.82rem;
  margin-bottom: 1.2rem;
}

/* Thanks page */
.ce-thanks {
  text-align: center;
}

.ce-thanks h1 {
  margin-bottom: 0.75rem;
}

.ce-thanks p {
  max-width: 420px;
  margin: 0.25rem auto 0;
  color: #555;
}

/* Footer */
.ce-footer {
  padding: 1rem 1.5rem 1.4rem;
  font-size: 0.78rem;
  color: #999;
  text-align: center;
}
/* Schedule grid (weekday x time) */
.ce-schedule-grid-wrap {
  overflow-x: auto;
  margin-top: 0.5rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: #fff;
}

.ce-schedule-grid {
  border-collapse: collapse;
  width: 100%;
  min-width: 760px;
}

.ce-schedule-grid th,
.ce-schedule-grid td {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  border-right: 1px solid rgba(0,0,0,0.06);
  padding: 10px;
  text-align: center;
  font-size: 0.85rem;
}

.ce-schedule-grid th:first-child {
  text-align: left;
  white-space: nowrap;
}

.ce-schedule-grid th {
  background: rgba(0,0,0,0.02);
  font-weight: 700;
  color: var(--ce-deep-green);
}

.ce-grid-check input {
  transform: scale(1.15);
}
