
/* Simple styling */
.cmp-form, .cmp-popup-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: sans-serif;
}
.cmp-form input, .cmp-form select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}
.cmp-submit-btn {
    align-self: flex-end;
    padding: 10px 20px;
    background: #fdb936;
    border: none;
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
}
.cmp-popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.cmp-popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    width: 300px;
}
.cmp-login-btn {
    padding: 8px 16px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
}
.cmp-close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}
.cmp-login-submit {
    width: 100%;
    padding: 10px;
    background: #0073aa;
    border: none;
    color: white;
    border-radius: 30px;
}



.cmp-inline-field {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}
.cmp-inline-field label {
    margin-bottom: 0 !important;
}



.cmp-steps {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 500;
}
.cmp-step {
    padding: 10px 15px;
    border-bottom: 2px solid #ccc;
}
.cmp-step.active {
    border-bottom: 3px solid #fdb936;
    color: #fdb936;
}



/* Modern login popup style */
.cmp-popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    width: 360px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    font-family: sans-serif;
    position: relative;
}
.cmp-popup-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: #444;
}
.cmp-popup-content input[type="text"],
.cmp-popup-content input[type="password"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #f8f8f8;
    font-size: 14px;
    color: #333;
}
.cmp-remember {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}
.cmp-remember input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}
.cmp-login-submit {
    width: 100%;
    padding: 12px;
    background-color: #fdb936;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
}
.cmp-login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
}
.cmp-login-footer a {
    color: #00bcd4;
    text-decoration: none;
}
.cmp-close-popup {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 20px;
    color: #aaa;
    cursor: pointer;
}



.cmp-radio {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-weight: 500;
    color: #777;
    gap: 6px;
}
.cmp-radio input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}
.cmp-radio input[type="radio"]:checked {
    border-color: #fdb936;
    background-color: #fdb936;
}
.cmp-radio input[type="radio"]::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    margin: 4px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: 0;
    left: 0;
}
.cmp-radio input[type="radio"]:checked::before {
    background: white;
}



.cmp-soft-field {
    background: #f8f8f8;
    border: 1px solid #ccc;
}



/* Consistent input height */
.cmp-form input[type="text"],
.cmp-form input[type="email"],
.cmp-form input[type="password"],
.cmp-form input[type="date"],
.cmp-form select {
    height: 50px;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 8px;
}

/* Enhanced radio buttons */
.cmp-radio {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-weight: 500;
    color: #777;
    gap: 6px;
}
.cmp-radio input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #fdb936;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    background: white;
}
.cmp-radio input[type="radio"]:checked {
    background-color: #fdb936;
}
.cmp-radio input[type="radio"]::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 3px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: 0;
    left: 0;
}
.cmp-radio input[type="radio"]:checked::before {
    background: white;
}



/* Clean and balanced radio button styling */
.cmp-radio input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #fdb936;
    border-radius: 50%;
    background-color: #fff;
    display: inline-block;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
}
.cmp-radio input[type="radio"]:checked {
    background-color: #fdb936;
}
.cmp-radio input[type="radio"]::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    display: none;
}
.cmp-radio input[type="radio"]:checked::after {
    display: block;
}
.cmp-radio span {
    margin-left: 8px;
    font-size: 14px;
    color: #666;
}



/* Revert field layout - handled in HTML file already */

/* Fix radio to show proper filled center, consistent size */
.cmp-radio input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #fdb936;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    position: relative;
}
.cmp-radio input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fdb936;
}
.cmp-radio span {
    font-size: 14px;
    margin-left: 8px;
    color: #444;
}



/* Radio buttons matching golden circle style */
.cmp-radio input[type="radio"] {
    appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #fdb936;
    border-radius: 50%;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    margin-right: 6px;
}
.cmp-radio input[type="radio"]:checked::before {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    top: 4px;
    left: 4px;
    background: #fdb936;
    border-radius: 50%;
}
.cmp-radio span {
    font-size: 15px;
    font-weight: 500;
    color: #444;
}


/* === CMP Success hero (thankyou) === */
.cmp-success-hero{
  display:flex; align-items:center; gap:16px;
  border:2px solid #22c55e; background:#ecfdf5;
  padding:18px 20px; border-radius:14px; box-shadow:0 2px 10px rgba(0,0,0,.04);
  margin:18px 0 26px;
}
.cmp-success-icon{
  flex:0 0 44px; width:44px; height:44px; border-radius:9999px;
  display:flex; align-items:center; justify-content:center;
  background:#22c55e; color:#fff; font-weight:700; font-size:22px;
}
.cmp-success-body h2{ margin:0 0 6px; font-size:22px; color:#15803d; }
.cmp-success-body p{ margin:0 0 10px; color:#14532d; }
.cmp-success-btn{
  display:inline-block; padding:10px 14px; border-radius:10px; text-decoration:none;
  background:#16a34a; color:#fff; font-weight:600;
}
.cmp-success-btn:hover{ background:#15803d; }


/* Brief order info inside hero */
.cmp-order-brief{ list-style:none; padding:6px 0 10px; margin:6px 0 12px; }
.cmp-order-brief li{ margin:4px 0; }
.cmp-order-brief li strong{ margin-right:6px; }


/* ===== CMP: Registration UI polish ===== */

/* Steps */
.cmp-steps{ display:flex; gap:48px; align-items:center; margin:12px 0 20px; }
.cmp-step{ position:relative; padding:6px 0 10px; color:#6b7280; font-weight:700; }
.cmp-step::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:#e5e7eb; border-radius:3px; }
.cmp-step.active{ color:#f59e0b; }
.cmp-step.active::after{ background:#f59e0b; height:4px; }

/* Field base */
.cmp-soft-field,
.cmp-confirm-table input[type="text"],
.cmp-confirm-table input[type="email"],
.cmp-confirm-table input[type="date"],
.cmp-confirm-table select,
#cmp-registration-form input[type="text"],
#cmp-registration-form input[type="email"],
#cmp-registration-form input[type="date"],
#cmp-registration-form select,
#cmp-registration-form textarea{
  width:100%;
  border:1.5px solid #e5e7eb;
  border-radius:12px;
  padding:12px 14px;
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
  background:#fff;
}

#cmp-registration-form input::placeholder,
#cmp-registration-form textarea::placeholder{ color:#9ca3af; }

#cmp-registration-form input:focus,
#cmp-registration-form select:focus,
#cmp-registration-form textarea:focus{
  border-color:#f59e0b;
  box-shadow:0 0 0 4px rgba(245,158,11,.15);
}

/* Inline field rows */
.cmp-inline-field{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin:10px 0; }
.cmp-inline-field label{ font-weight:600; color:#374151; }

/* Custom radios & checkboxes */
.cmp-radio input[type="radio"],
.cmp-radio input[type="checkbox"]{ 
  appearance:none; -webkit-appearance:none; 
  width:20px; height:20px; border:2px solid #cbd5e1; border-radius:6px; 
  display:inline-block; margin-right:8px; position:relative; vertical-align:middle; background:#fff;
  transition:all .12s ease;
}
.cmp-radio input[type="radio"]{ border-radius:9999px; }
.cmp-radio input[type="radio"]:checked,
.cmp-radio input[type="checkbox"]:checked{ border-color:#22c55e; background:#22c55e; }
.cmp-radio input[type="radio"]:checked::after{
  content:""; position:absolute; width:8px; height:8px; background:#fff; border-radius:9999px; top:50%; left:50%; transform:translate(-50%,-50%);
}
.cmp-radio span{ font-weight:600; color:#374151; }

/* Sections */
#cmp-registration-form h3{
  font-size:22px; margin:26px 0 12px; color:#374151; letter-spacing:.2px;
}
#cmp-registration-form label{ font-weight:600; color:#374151; margin:6px 0; display:block; }
#cmp-registration-form .help-text{ color:#6b7280; font-size:13px; }

/* Submit button */
.cmp-submit-btn{
  display:inline-block; background:#2563eb; color:#fff; border:none;
  padding:12px 18px; border-radius:12px; font-weight:700; cursor:pointer; transition:transform .06s ease, box-shadow .12s ease;
  box-shadow:0 4px 14px rgba(37,99,235,.18);
}
.cmp-submit-btn:hover{ transform:translateY(-1px); }
.cmp-submit-btn:active{ transform:translateY(0); }

/* Membership chooser row */
.cmp-membership-row{ 
  display:grid; grid-template-columns: auto 1fr; gap:14px 18px; align-items:center; 
  margin:8px 0 6px;
}
.cmp-membership-row .cmp-options{ display:flex; gap:24px; align-items:center; }

/* Price & duration pill */
.cmp-pill{ display:inline-flex; align-items:center; gap:8px; background:#f3f4f6; color:#374151; border-radius:9999px; padding:6px 10px; font-weight:600; }
.cmp-pill .price{ color:#111827; }
.cmp-pill .muted{ color:#6b7280; font-weight:600; }

/* Small clean card for order summary if shown */
.cmp-card{ border:1px solid #e5e7eb; border-radius:16px; background:#fff; padding:16px; }

@media (max-width:640px){
  .cmp-steps{ gap:24px; }
  .cmp-membership-row{ grid-template-columns: 1fr; }
  .cmp-success-hero{ flex-direction:column; align-items:flex-start; }
}


/* === CMP Segmented Steps (full-width pill tabs) === */
.cmp-steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:6px;
  width:100%;
  background:#f3f4f6;
  border-radius:18px;
  padding:4px;
  margin:10px 0 18px;
}
.cmp-steps .cmp-step{
  text-align:center;
  padding:12px 16px;
  border-radius:14px;
  font-weight:700;
  color:#374151;
}
.cmp-steps .cmp-step.active{
  background:#ffffff;
  color:#111827;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
}

/* remove previous underline variant */
.cmp-steps .cmp-step::after{ display:none !important; }


/* === CMP: Step2 Confirmation Card === */
.cmp-confirm-card{
  border:1px solid #e5e7eb;
  background:#ffffff;
  border-radius:16px;
  padding:14px 16px;
  box-shadow:0 2px 10px rgba(0,0,0,.04);
  max-width:980px;
}
.cmp-confirm-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:16px;
}
.cmp-confirm-table th,
.cmp-confirm-table td{ padding:12px 14px; vertical-align:middle; }
.cmp-confirm-table th{
  width:32%;
  color:#64748b; /* slate-500 */
  background:#f8fafc; /* slate-50 */
  font-weight:700;
  border-right:1px solid #eef2f7;
}
.cmp-confirm-table td{ color:#111827; }
.cmp-confirm-table tr + tr th,
.cmp-confirm-table tr + tr td{ border-top:1px solid #eef2f7; }

/* Buttons row */
.cmp-actions{ display:flex; gap:12px; justify-content:space-between; max-width:980px; margin-top:18px; }
.cmp-btn-ghost{
  background:#fff; color:#111827; border:1.5px solid #e5e7eb; border-radius:12px; padding:10px 14px; font-weight:700;
}
.cmp-btn-primary{
  background:#2563eb; color:#fff; border:none; border-radius:12px; padding:12px 18px; font-weight:700;
  box-shadow:0 4px 14px rgba(37,99,235,.18);
}

@media (max-width:640px){
  .cmp-confirm-card{ padding:12px; border-radius:12px; }
  .cmp-confirm-table th{ width:38%; }
  .cmp-actions{ flex-direction:column; align-items:stretch; }
}
