/* =========================================================
   COLMED Araucanía — merged registration form stylesheet
   Existing layout and behavior styles are preserved below.
   Theme colors and typography are adapted from the invitation.
   ========================================================= */

   @import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;500;600;700&display=swap');

   :root {
       --colmed-navy: #052f50;
       --colmed-deep: #031d32;
       --colmed-cyan: #22c4cf;
       --colmed-gold: #f4bd16;
       --colmed-white: #f7f8fa;
       --colmed-muted: #bdc8d2;
       --colmed-border: rgba(255, 255, 255, .18);
   }
   
   /* ---------- Existing project styles (preserved) ---------- */
   
   body{
       background-color: #fcf4fc;
   }
   .conteiner{
       max-width: 750px;
       margin: auto;
       background-color: #fff;
       padding: 30px 50px;
   }
   footer{
       max-width: 750px;
       margin: auto;
   }
   .banner{
       
   }
   .form-container {
       max-width: 650px;
       margin: 20px auto;
       padding: 20px;
       font-family: Arial, sans-serif;
       background-color: #f8f8ff;
       border: #eaeaff solid;
       border-radius: 5px;
   }
   
   .form-step {
       display: none;
   }
   
   .form-step.active {
       display: block;
   }
   
   .form-container input,
   .form-container select,
   .form-container textarea {
       width: 100%;
       padding: 12px;
       margin: 8px 0 20px;
       border: 1px solid #ccc;
       border-radius: 5px;
       box-sizing: border-box;
   }
   
   .form-container label {
       display: block;
       font-weight: bold;
   }
   
   .form-buttons {
       display: flex;
       justify-content: space-between;
       gap: 10px;
   }
   
   .form-buttons button {
       padding: 12px 25px;
       border: none;
       border-radius: 5px;
       cursor: pointer;
       background: #222;
       color: white;
   }
   
   .form-buttons button:disabled {
       opacity: .4;
       cursor: not-allowed;
   }
   
   .progress {
       display: flex;
       gap: 10px;
       margin-bottom: 30px;
   }
   
   .progress span {
       height: 5px;
       flex: 1;
       background: #ddd;
       border-radius: 5px;
   }
   
   .progress span.active {
       background: #222;
   }
   .additional-person-fields {
       display: none;
       margin-top: 20px;
       padding: 20px;
       background: #f5f5f5;
       border-radius: 5px;
   }
   
   .additional-person-fields.visible {
       display: block;
   }
   
   .checkbox-group {
       display: flex;
       align-items: center;
       gap: 10px;
       margin: 20px 0;
   }
   
   .checkbox-group input {
       width: auto;
       margin: 0;
   }
   
   /**
   Add validation icm
   */
   .icm-error {
       display: none;
       color: #d93025;
       font-size: 14px;
       margin-top: -12px;
       margin-bottom: 20px;
   }
   
   .icm-error.visible {
       display: block;
   }
   
   #nextBtn:disabled {
       opacity: 0.5;
       cursor: wait;
   }
   
   /** TABLA */
   #table_confirmation {
       width: 100%;
       border-collapse: collapse;
       margin: 25px 0;
       font-family: inherit;
       font-size: 15px;
       color: #333;
       background: #fff;
       border: 1px solid #e5e5e5;
       border-radius: 8px;
       overflow: hidden;
   }
   
   /* Section headers */
   #table_confirmation th {
       background: #f2f4f7;
       color: #222;
       text-align: left;
       font-size: 16px;
       font-weight: 600;
       padding: 14px 16px;
       border-bottom: 1px solid #e5e5e5;
   }
   
   /* Table cells */
   #table_confirmation td {
       padding: 12px 16px;
       border-bottom: 1px solid #eee;
       vertical-align: middle;
   }
   
   /* First column: field labels */
   #table_confirmation td:first-child {
       width: 40%;
       font-weight: 600;
       color: #555;
   }
   
   /* Second column: field values */
   #table_confirmation td:last-child {
       color: #333;
       overflow-wrap: anywhere;
   }
   
   /* Remove border from the last row */
   #table_confirmation tr:last-child td {
       border-bottom: none;
   }
   
   /* Hover effect */
   #table_confirmation tbody tr:hover:not(:has(th)) {
       background: #fafafa;
   }
   /* Select style */
   #multiStepForm select {
       width: 100%;
       padding: 12px 15px;
       border: 1px solid #ddd;
       border-radius: 5px;
       background-color: #fff;
       font-size: 15px;
       color: #333;
       box-sizing: border-box;
       margin-bottom: 15px;
   }
   
   #multiStepForm select:focus {
       outline: none;
       border-color: #4d03b0;
   }
   
   /* Mobile layout */
   @media (max-width: 600px) {
       #table_confirmation {
           font-size: 14px;
       }
   
       #table_confirmation td,
       #table_confirmation th {
           padding: 10px 12px;
       }
   
       #table_confirmation td:first-child {
           width: 42%;
       }
   }
   
   /* ---------- COLMED theme overrides ---------- */
   
   body {
       background-color: var(--colmed-deep);
       color: var(--colmed-white);
       font-family: "Roboto Condensed", Arial, sans-serif;
   }
   
   .conteiner {
       background-color: var(--colmed-navy);
       color: var(--colmed-white);
       border: 1px solid var(--colmed-border);
       border-radius: 10px;
       box-sizing: border-box;
       /* Same top spacing as the thank-you page */
       margin-top: 40px;
   }
   
   footer {
       color: var(--colmed-muted);
   }
   
   .form-container {
       color: var(--colmed-white);
       font-family: "Roboto Condensed", Arial, sans-serif;
       background: linear-gradient(145deg, #07304f, #03192b);
       border: 1px solid var(--colmed-border);
       border-radius: 10px;
       box-shadow: 0 14px 35px rgba(0, 0, 0, .22);
   }
   
   .form-container h1,
   .form-container h2,
   .form-container h3 {
       color: var(--colmed-cyan);
       letter-spacing: .02em;
   }
   
   .form-container label {
       color: var(--colmed-white);
   }
   
   .form-container input,
   .form-container select,
   .form-container textarea,
   #multiStepForm input:not([type="checkbox"]),
   #multiStepForm select,
   #multiStepForm textarea {
       color: #172b3a;
       background-color: #f8fafc;
       border: 1px solid #c5d0d9;
       font-family: inherit;
   }
   
   .form-container input:focus,
   .form-container select:focus,
   .form-container textarea:focus,
   #multiStepForm input:focus,
   #multiStepForm select:focus,
   #multiStepForm textarea:focus {
       outline: 3px solid rgba(34, 196, 207, .22);
       border-color: var(--colmed-cyan);
   }
   
   .form-buttons button,
   #multiStepForm button,
   #multiStepForm input[type="submit"] {
       color: var(--colmed-deep);
       background: var(--colmed-gold);
       border: 0;
       font-family: inherit;
       font-weight: 700;
       transition: filter .2s ease, transform .2s ease;
   }
   
   .form-buttons button:hover:not(:disabled),
   #multiStepForm button:hover:not(:disabled),
   #multiStepForm input[type="submit"]:hover {
       filter: brightness(1.08);
       transform: translateY(-1px);
   }
   
   .form-buttons button:disabled,
   #multiStepForm button:disabled {
       opacity: .4;
       cursor: not-allowed;
       transform: none;
   }
   
   .progress span {
       background: rgba(255, 255, 255, .2);
   }
   
   .progress span.active {
       background: var(--colmed-cyan);
   }
   
   .additional-person-fields {
       background: rgba(255, 255, 255, .08);
       border: 1px solid var(--colmed-border);
   }
   
   .checkbox-group label {
       color: var(--colmed-white);
   }
   
   .icm-error {
       color: #ff8d87;
   }
   
   /* Confirmation table — works with the existing #table_confirmation ID */
   #table_confirmation {
       color: var(--colmed-white);
       background: rgba(255, 255, 255, .05);
       border: 1px solid var(--colmed-border);
       border-radius: 8px;
   }
   
   #table_confirmation th {
       color: var(--colmed-deep);
       background: var(--colmed-cyan);
       border-bottom: 1px solid rgba(0, 0, 0, .08);
   }
   
   #table_confirmation td {
       color: var(--colmed-white);
       border-bottom: 1px solid var(--colmed-border);
   }
   
   #table_confirmation td:first-child {
       color: var(--colmed-muted);
   }
   
   #table_confirmation td:last-child {
       color: var(--colmed-white);
   }
   
   #table_confirmation tbody tr:hover:not(:has(th)) {
       background: rgba(255, 255, 255, .06);
   }
   
   /* Mobile adjustments */
   @media (max-width: 600px) {
       .conteiner {
           padding: 20px 16px;
           margin-top: 20px;
       }

       /* Keep the footer text off the screen edge */
       footer {
           padding: 0 16px 20px;
       }
   
       .form-container {
           padding: 18px 14px;
       }
   }
   