/* ============================================
   OWNERSHIP PAGE - UNIFIED & OPTIMIZED STYLES
   Modern, Mobile-First Design with Timeline Stepper
   ============================================ */

:root {
  --primary: #00b8c0;
  --primary-hover: #008f96;
  --secondary: #00334e;
  --accent: #fc9817;
  --accent-hover: #e3890f;
  --border-color: #e6e6e6;
  --info-bg: #eef7f7;
  --info-border: #d1e8e9;
  --info-text: #00334e;
  --warning-bg: #fff8e1;
  --warning-border: #ffecb3;
  --warning-text: #6d5b0d;
  --success-bg: #198754;
  --text-muted: #6b6b6b;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.claim-wrapper {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.claim-wrapper h1,
.claim-wrapper h2 {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.claim-wrapper .legal-text,
.claim-wrapper .footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   MODERN TIMELINE STEPPER - FIXED VERSION
   ============================================ */

.stepper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 2.5rem 0;
  padding: 0;
  position: relative;
  counter-reset: step-counter;
}

/* Progress line background */
.stepper::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--border-color);
  z-index: 0;
}

/* Active progress line */
.stepper::after {
  content: '';
  position: absolute;
  top: 21px;
  left: 10%;
  height: 3px;
  background: var(--primary);
  z-index: 1;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Progress states */
.stepper[data-progress='1']::after {
  width: 0;
}
.stepper[data-progress='2']::after {
  width: calc(40% - 21px);
}
.stepper[data-progress='3']::after {
  width: calc(80% - 42px);
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  counter-increment: step-counter;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Step circle - FIXED SIZE */
.step::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  margin: 0 0 0.75rem 0;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--border-color);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

/* Step text */
.step {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
  padding: 0 0.5rem;
}

/* Active step styles - NO SCALE */
.step.active::before {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px rgba(0, 184, 192, 0.2);
}

.step.active {
  color: var(--primary);
  font-weight: 600;
}

/* Completed step styles */
.step.completed::before {
  background: var(--success-bg);
  border-color: var(--success-bg);
  color: white;
  content: '✓';
  font-size: 1.1rem;
}

.step.completed {
  color: var(--success-bg);
  cursor: pointer;
}

.step.completed:hover::before {
  box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.2);
}

/* Mobile responsive stepper */
@media (max-width: 768px) {
  .stepper {
    margin: 2rem 0;
  }

  .stepper::before {
    left: 15%;
    right: 15%;
  }

  .stepper::after {
    left: 15%;
  }

  .stepper[data-progress='2']::after {
    width: calc(35% - 18px);
  }
  .stepper[data-progress='3']::after {
    width: calc(70% - 36px);
  }

  .step {
    font-size: 0.75rem;
    padding: 0 0.25rem;
  }

  .step::before {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .stepper::before,
  .stepper::after {
    top: 18px;
  }
}

@media (max-width: 576px) {
  .step {
    font-size: 0;
    padding: 0;
  }

  .step::before {
    margin-bottom: 0;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 0.8rem;
  }

  .stepper::before {
    left: 20%;
    right: 20%;
  }

  .stepper::after {
    left: 20%;
  }

  .stepper[data-progress='2']::after {
    width: calc(30% - 16px);
  }
  .stepper[data-progress='3']::after {
    width: calc(60% - 32px);
  }

  .stepper::before,
  .stepper::after {
    top: 16px;
  }
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.content {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   CLAIM OPTIONS (Radio Cards)
   ============================================ */

.claim-option {
  border: 2px solid var(--border-color);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background-color: #fff;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.claim-option:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.claim-option.selected,
.claim-option:has(input:checked) {
  border-color: var(--primary);
  background-color: rgba(0, 184, 192, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 184, 192, 0.15);
}

.claim-option .form-check {
  display: flex;
  align-items: center;
  margin: 0;
}

.claim-option .form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 0;
  cursor: pointer;
  border: 2px solid var(--border-color);
}

.claim-option .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.claim-option .form-check-label {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--secondary);
  cursor: pointer;
  margin: 0;
}

/* Checkmark icon for selected state */
.claim-option::after {
  content: '✓';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.claim-option.selected::after,
.claim-option:has(input:checked)::after {
  display: flex;
}

/* ============================================
   STATUS CARDS
   ============================================ */

.status-card {
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.status-card h1 {
  margin-bottom: 1rem;
}

.status-card.info {
  background-color: var(--info-bg);
  border: 2px solid var(--info-border);
  color: var(--info-text);
}

.status-card.warning {
  background-color: var(--warning-bg);
  border: 2px solid var(--warning-border);
  color: var(--warning-text);
}

/* ============================================
   BUSINESS DETAILS
   ============================================ */

.business-details {
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  margin-top: 1.5rem;
  background: white;
  box-shadow: var(--shadow-sm);
}

.business-details h5 {
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

/* ============================================
   BUTTONS
   ============================================ */
/*
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-secondary:hover:not(:disabled) {
    background-color: #002a3d;
    border-color: #002a3d;
}

.btn-custom-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-custom-secondary:hover {
    background-color: #002a3d;
    border-color: #002a3d;
    color: white;
}
*/
/* ============================================
   FORM ELEMENTS
   ============================================ */

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 184, 192, 0.15);
  outline: none;
}

#verification-code {
  font-size: 1.5rem;
  text-align: center;
  letter-spacing: 0.5rem;
  font-weight: 600;
}

/* ============================================
   ILLUSTRATION COLUMN
   ============================================ */

.illustration-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.illustration-col img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

/* ============================================
   UTILITIES
   ============================================ */

.cursor-pointer {
  cursor: pointer;
}

.text-yakala {
  color: var(--primary);
  font-weight: 600;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 991px) {
  .illustration-col {
    display: none !important;
  }

  .claim-wrapper {
    margin: 1.5rem auto;
  }
}

@media (max-width: 768px) {
  .claim-option {
    padding: 1rem 1.25rem;
  }

  .claim-option .form-check-label {
    font-size: 0.95rem;
  }

  .status-card {
    padding: 2rem 1.5rem;
  }

  .business-details {
    padding: 1.5rem;
  }
}

/*
@media (max-width: 576px) {
    .claim-wrapper {
    margin: 1rem auto;
    padding: 0 0.75rem;
}

.btn-primary,
.btn-secondary,
.btn-custom-secondary {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
}
*/

body, html { height: 100%; overflow-x: hidden; background-color: var(--bs-light); }
.wrapper { min-height: 100vh; padding-top: 2rem; padding-bottom: 2rem; }

/*
#verification-code {
    font-size: 1.2rem;
    letter-spacing: 0.3rem;
}
 */

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 2rem auto;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0;
    cursor: pointer;
    z-index: 1;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    border-top: 2px dashed var(--bs-secondary);
    opacity: 0.3;
    z-index: -1;
}

.step-number {
    width: 40px; height: 40px;
    border: 2px solid var(--bs-secondary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 1.1rem;
    margin-right: 0; margin-bottom: 8px;
    background-color: var(--bs-body-bg); color: var(--bs-secondary);
    z-index: 1; transition: all 0.3s ease;
}

.step-item.completed .step-number { background-color: var(--yakalamac-primary) !important; border-color: var(--yakalamac-primary); color: #ffffff !important; }
.step-item.active .step-number { background-color: var(--yakalamac-orange) !important; border-color: var(--yakalamac-orange); color: #ffffff !important; box-shadow: 0 0 10px rgba(var(--yakalamac-orange-rgb), 0.5); }
.step-item.active .step-text h6 { opacity: 1; color: var(--yakalamac-secondary); }

.step-text h6 { margin: 0; font-size: 0.95rem; font-weight: 700; opacity: 0.9; color: var(--bs-secondary); }
.step-text p { margin: 0; font-size: 0.8rem; opacity: 0.6; display: none; }

.main-content { display: flex; justify-content: center; align-items: flex-start; }
.form-card-wrapper {
    background-color: #ffffff;
    width: 100%; max-width: 700px;
    padding: 40px; border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--bs-border-color);
    position: relative;
}

.form-control { padding: 12px 15px; border-radius: 6px; border: 1px solid var(--bs-border-color); background-color: #fcfcfc; }
.form-control:focus { box-shadow: 0 0 0 3px rgba(var(--yakalamac-primary-rgb), 0.15); border-color: var(--yakalamac-primary); }
.form-label { font-weight: 600; color: #333; font-size: 0.9rem; margin-bottom: 8px; }
.asterisk { color: var(--bs-danger); }

.form-step { display: none; animation: fadeIn 0.5s; }
.form-step.active-form { display: block; }

.content[data-step] { display: none; }
.content[data-step].active { display: block !important; animation: fadeIn 0.4s ease-in-out; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.nav-custom-pills { background-color: var(--bs-light) !important; border-radius: 50px !important; padding: 6px !important; margin-bottom: 30px !important; display: flex !important; border: 1px solid var(--bs-border-color) !important; }
.nav-custom-pills .nav-item { width: 50% !important; text-align: center !important; }
.nav-custom-pills .nav-link { width: 100% !important; border-radius: 40px !important; color: var(--bs-secondary) !important; font-weight: 600 !important; padding: 12px 20px !important; transition: all 0.3s ease !important; background-color: transparent !important; border: none !important; }
.nav-custom-pills .nav-link.active { background-color: var(--yakalamac-primary) !important; color: #ffffff !important; box-shadow: 0 4px 10px rgba(var(--yakalamac-primary-rgb), 0.3) !important; }

@media (min-width: 768px) {
    .step-text p { display: block; }
}

@media (max-width: 575px) {
    .step-number { width: 32px; height: 32px; font-size: 0.9rem; margin-bottom: 4px; }
    .step-item:not(:last-child)::after { top: 16px; }
    .step-text { display: none; }
    .form-card-wrapper { padding: 25px 20px; }

    .input-group {
        flex-direction: column;
    }
    .input-group > .form-control {
        width: 100% !important;
        border-radius: 6px !important;
        margin-bottom: 8px;
    }
    .input-group > .btn {
        width: 100%;
        border-radius: 6px !important;
        margin-left: 0 !important;
    }
}
.content[data-step] { display: none; } .content[data-step].active { display: block !important; animation: fadeIn 0.4s ease-in-out; }