/* ============================================
   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;
  }

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