/* Card Selection Styles */
.card-select {
  cursor: pointer;
  transition: var(--transition-default);
  border: 2px solid transparent;
  height: 100%;
}

.card-select:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-select.selected {
  border-color: #1877f2;
  background-color: #e7f3ff;
}

.card-select .card-body {
  padding: 0.75rem;
}


.card-select img {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

/* Gender Selection */
.gender-card {
  min-height: 160px;
}

.gender-card img {
  width: 80px;
  height: 80px;
}

/* State Selection */
.state-card {
  min-height: 200px;
}

.state-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

/* Blood Group & Diet Type */
.blood-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 4px;
}

.tiny-card .card-input {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.tiny-card .card-body {
  padding: 0.25rem 0.5rem;
}

.tiny-card .card-body h6 {
  font-size: 13px;
  font-weight: 500;
  margin: 0;
}


/* Date of Birth */
.dob-select {
  width: 32%;
  display: inline-block;
}

/* Fieldset legend styling to match form labels */
fieldset legend.form-label {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0;
}

/* Form Steps */
.form-step {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
  display: block;
}

:root {
  --transition-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-large: 0 8px 15px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step Indicator */
.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.step-indicator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #e9ecef;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #6c757d;
  transition: var(--transition-default);
}

.step.active {
  background: #e7f3ff;
  color: #1877f2;
  font-weight: 600;
}

/* Selection Card Styles */
.selection-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-default);
  background: #f7f7f7;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.card-input-element {
  display: none;
}

.card-input {
  display: block;
  cursor: pointer;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  background: #fff;
  transition: var(--transition-default);
}

.card-input:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-input-element:checked+.card-input {
  border-color: #1877f2;
  background: #e7f3ff;
}

.card-input i {
  display: inline-block;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  transition: var(--transition-default);
  background: #fff;
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-input:hover i {
  transform: scale(1.1) rotate(5deg);
}

.card-input-element:checked+.card-input i {
  box-shadow: var(--shadow-medium);
}

.card-input h5 {
  margin-bottom: 5px;
  font-weight: 600;
  color: #495057;
}


/* Form Controls */
.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 2px solid #e9ecef;
  transition: var(--transition-default);
}

.form-control:focus,
.form-select:focus {
  border-color: #1877f2;
  box-shadow: 0 0 0 0.2rem rgba(24, 119, 242, 0.1);
}

.input-group-text {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-right: none;
}

/* Social Media Input Styles */
.input-group-text {
  border: none;
  padding: 0.75rem;
}

.input-group-text i {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.input-group .form-control {
  border-left: none;
  padding-left: 0.75rem;
}

.input-group .form-control:focus {
  border-color: #ced4da;
  box-shadow: none;
}

/* Skip Button Styles */
.skip-section {
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  color: #6c757d;
  transition: var(--transition-default);
}

.skip-section:hover {
  color: #1877f2;
  background-color: rgba(24, 119, 242, 0.1);
  border-radius: 4px;
}

.skip-section i {
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

/* Responsive Skip Button */
@media (max-width: 576px) {
  .skip-section {
    font-size: 0.8rem;
  }
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition-default);
}

.btn-primary {
  background: #1877f2;
  border-color: #1877f2;
}

.btn-primary:hover {
  background: #1666d1;
  border-color: #1666d1;
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: #1877f2;
  border-color: #1877f2;
}

.btn-outline-primary:hover {
  background: #1877f2;
  color: white;
  transform: translateY(-2px);
}

.btn-success {
  background: #28a745;
  border-color: #28a745;
}

.btn-success:hover {
  background: #218838;
  border-color: #218838;
  transform: translateY(-2px);
}

/* Color Classes for Icons */
.text-primary {
  color: #1877f2 !important;
}

.text-success {
  color: #28a745 !important;
}

.text-danger {
  color: #dc3545 !important;
}

.text-warning {
  color: #ffc107 !important;
}

.text-info {
  color: #17a2b8 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .step {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .card-input i {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    line-height: 50px;
  }

  .card-select {
    margin-bottom: 1rem;
  }

  .dob-select {
    width: 100%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .step-indicator {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .step {
    width: 100%;
    text-align: center;
  }

  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .d-flex.justify-content-between {
    flex-direction: column;
  }
}

.caste-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.caste-icon img {
  width: 100px;
  height: 100px;
}


.caste-icon img:hover {
  transform: scale(1.05);
}

/* 3D State Icons Styles */
.state-icon-3d {
  perspective: 1000px;
}

/* Marital Status Card Styles - Simple and Clean */
.selection-card h6 {
  font-size: 14px;
  font-weight: 500;
  color: #495057;
}

/* Responsive adjustments for marital status cards */
@media (max-width: 576px) {
  .selection-card .card-body {
    padding: 12px 8px;
  }

  .selection-card h6 {
    font-size: 13px;
  }
}

.state-icon-3d {
  transition: transform 0.5s ease;
  margin: 0 auto;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.state-card:hover .state-icon-3d {
  transform: translateY(-5px) var(--rotate-x);
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.1));
}

.state-card .card-input:active .state-icon-3d {
  transform: scale(0.95);
}

.state-card input[type="radio"]:checked+.card-input .state-icon-3d {
  transform: translateY(-5px) scale(1.05);
  filter: drop-shadow(0 10px 8px rgba(13, 110, 253, 0.25));
}

.state-card input[type="radio"]:checked+.card-input {
  border: 2px solid #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.state-icon-3d img {
  transition: var(--transition-default);
  border-radius: 8px;
  max-height: 120px;
  width: auto;
}

/* 3D Diet Icons Styles */
.diet-icon-3d {
  perspective: 1000px;
  transition: transform 0.5s ease;
  margin: 0 auto;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.diet-card .card-input {
  border: 1px solid #e9ecef;
  height: 100%;
}

.selection-card:hover .diet-icon-3d {
  transform: translateY(-5px) var(--rotate-x);
  filter: drop-shadow(0 8px 6px rgba(0, 0, 0, 0.1));
}

.selection-card .card-input:active .diet-icon-3d {
  transform: scale(0.95);
}

.selection-card input[type="radio"]:checked+.card-input .diet-icon-3d {
  transform: translateY(-5px) scale(1.05);
  filter: drop-shadow(0 8px 6px rgba(13, 110, 253, 0.25));
}

.diet-icon-3d img {
  transition: var(--transition-default);
  border-radius: 12px;
  max-height: 110px;
  max-width: 110px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Gender Icons Styles */
.gender-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: var(--transition-default);
}

.selection-card:hover .gender-icon img {
  transform: translateY(-5px);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.selection-card input[type="radio"]:checked+.card-input .gender-icon img {
  transform: scale(1.05);
  filter: drop-shadow(0 5px 15px rgba(13, 110, 253, 0.3));
}

.spectacles-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: var(--transition-default);
}

.selection-card:hover .spectacles-icon img {
  transform: translateY(-5px);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.selection-card input[type="radio"]:checked+.card-input .spectacles-icon ṇṁṁṁṁṁ img {
  transform: scale(1.05);
  filter: drop-shadow(0 5px 15px rgba(13, 110, 253, 0.3));
}


/* Step Indicator Modern Style */
.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  padding: 0 15px;
}

.step-indicator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #e0e0e0, #e0e0e0);
  transform: translateY(-50%);
  z-index: -1;
  transition: background 0.5s ease;
  border-radius: 4px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 18%;
  text-align: center;
  font-size: 14px;
  color: #757575;
  transition: var(--transition-slow);
  cursor: default;
  padding: 8px 0;
}

.step::before {
  content: "";
  width: 40px;
  height: 40px;
  background: white;
  border: 4px solid #e0e0e0;
  border-radius: 50%;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: var(--transition-slow);
  box-shadow: var(--shadow-small);
}

.step:hover::before {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step[data-step="1"]::before {
  content: "1";
}

.step[data-step="2"]::before {
  content: "2";
}

.step[data-step="3"]::before {
  content: "3";
}

.step[data-step="4"]::before {
  content: "4";
}

.step[data-step="5"]::before {
  content: "5";
}

.step[data-step="6"]::before {
  content: "6";
}

.step.active {
  color: #2196f3;
  font-weight: 600;
  transform: translateY(-5px);
}

.step.active::before {
  background: #2196f3;
  border-color: #2196f3;
  color: white;
  box-shadow: 0 0 0 5px var(--primary-transparent),
    0 5px 15px rgba(33, 150, 243, 0.3);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.7),
      0 5px 15px rgba(33, 150, 243, 0.3);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(33, 150, 243, 0),
      0 5px 15px rgba(33, 150, 243, 0.3);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(33, 150, 243, 0),
      0 5px 15px rgba(33, 150, 243, 0.3);
  }
}

.step.completed::before {
  background: #4caf50;
  border-color: #4caf50;
  color: white;
  content: "✓";
  box-shadow: 0 0 0 5px rgba(76, 175, 80, 0.2);
}

.step.completed {
  color: #4caf50;
}

/* Set active progress bar */
.step-indicator[data-active-step="1"]::before {
  background: var(--progress-gradient,
      linear-gradient(to right,
        #2196f3 var(--progress-percent),
        #e0e0e0 var(--progress-percent)));
}

.step-indicator[data-active-step="2"]::before {
  background: linear-gradient(to right, #2196f3 40%, #e0e0e0 40%);
}

.step-indicator[data-active-step="3"]::before {
  background: linear-gradient(to right, #2196f3 60%, #e0e0e0 60%);
}

.step-indicator[data-active-step="4"]::before {
  background: linear-gradient(to right, #2196f3 80%, #e0e0e0 80%);
}

.step-indicator[data-active-step="5"]::before {
  background: linear-gradient(to right, #2196f3 100%, #e0e0e0 100%);
}

@keyframes buttonFloat {

  0%,
  100% {
    transform: translateZ(0) rotateX(0);
  }

  50% {
    transform: translateZ(10px) rotateX(5deg);
  }
}

@keyframes buttonPress {
  0% {
    transform: translateZ(0);
  }

  50% {
    transform: translateZ(-5px);
  }

  100% {
    transform: translateZ(0);
  }
}

.btn-3d-container {
  display: flex;
  justify-content: space-between;
  /* This will push buttons to opposite ends */
  align-items: center;
  perspective: 1200px;
  margin: 15px 0;
  width: 100%;
}

.btn-3d {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 35px;
  border: none;
  border-radius: 22px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: all 0.4s ease;
  animation: buttonFloat 3s ease-in-out infinite;
  text-shadow: 1px 1px 2px #999, -1px -1px 1px #fff;
  box-shadow: var(--shadow-large);
}

.btn-3d::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  transform: translateZ(-8px);
  filter: blur(2px);
  z-index: -1;
}

.prev-btn {
  background-color: #f0f0f0;
  color: #222;
  margin-right: auto;
  /* Pushes to far left */
}

.prev-btn::before {
  background: linear-gradient(135deg, #ccc, #fff);
}

.next-btn {
  background-color: #008cff;
  color: white;
  margin-left: auto;
  /* Pushes to far right */
}

.next-btn::before {
  background: linear-gradient(135deg, #007bdb, #00a2ff);
}

.btn-3d:hover {
  animation: none;
  transform: translateZ(15px) rotateX(15deg) rotateY(2deg);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.3);
}

.btn-3d:active {
  animation: buttonPress 0.4s ease-out;
  transform: translateZ(-5px) rotateX(5deg);
}

.arrow-icon {
  margin: 0 8px;
  color: inherit;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.prev-btn:hover .arrow-icon {
  transform: translateX(-6px) scale(1.2);
}

.next-btn:hover .arrow-icon {
  transform: translateX(6px) scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .step {
    font-size: 12px;
  }

  .step::before {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .state-icon-3d {
    width: 100px;
    height: 100px;
  }

  .state-icon-3d img {
    max-height: 80px;
  }

  .diet-icon-3d {
    width: 80px;
    height: 80px;
    padding: 6px;
  }

  .diet-icon-3d img {
    max-height: 70px;
    max-width: 70px;
  }

  .gender-icon img {
    width: 80px;
    height: 80px;
  }
}

/* Mobile-specific styles for caste icons */
.caste-icon-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.caste-icon-text {
  font-size: 12px;
  line-height: 1.2;
  word-break: break-word;
}

/* For larger screens */
@media (min-width: 768px) {
  .caste-icon-img {
    width: 80px;
    height: 80px;
  }

  .caste-icon-text {
    font-size: 14px;
  }
}

/* Reduce padding/gutters on mobile */
@media (max-width: 767px) {
  .row-cols-4>* {
    padding-left: 4px;
    padding-right: 4px;
  }

  .card-body.p-1 {
    padding: 0.5rem !important;
  }
}

@media (max-width: 768px) {

  .caste-icon img {
    width: 65px;
    height: 65px;
  }


  .step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 0 2px;
  }

  .step {
    flex: 1 1 auto;
    max-width: 16%;
    padding: 0;
    font-size: 0;
    /* Hide text labels */
    position: relative;
  }

  .step::before {
    width: 18px;
    height: 18px;
    font-size: 9px;
    margin-bottom: 0;
  }

  /* Optional: Tooltip-style labels (visible on hover on desktop) */
  .step:hover::after {
    content: attr(data-label);
    font-size: 9px;
    position: absolute;
    bottom: -20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1px 5px;
    border-radius: 3px;
    white-space: nowrap;
    z-index: 10;
  }

  .step {
    font-size: 12px;
  }

  .step::before {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .form-control-sm,
  .form-select-sm {
    font-size: 13px;
    height: auto;
    line-height: 1.2;
  }

  .btn-3d {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 16px;
  }

  .arrow-icon {
    font-size: 16px;
  }
}

.circle-container label {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: transform 0.3s ease;
}

.circle-container input[type="radio"]:checked+label {
  transform: scale(1.2);
  font-weight: bold;
  border-color: #1877f2;
  background: #e7f3ff;
}

/* Lock Icon Styles */
.lock-icon {
  font-size: 0.8rem;
  cursor: help;
}

.lock-icon-sm {
  font-size: 0.75rem;
  cursor: help;
}

/* Circle Container Positioning */
.circle-container-position {
  width: 300px;
  height: 250px;
}

/* State Positioning */
.state-position-center {
  transform: translate(-50%, -50%);
}

.state-position-absolute {
  position: absolute;
}

.state-maharashtra {
  position: absolute;
}

.state-other {
  position: absolute;
}

/* Blood Group Images */
.blood-group-img {
  width: 65px;
  height: 65px;
}

/* Spacer Elements */
.spacer-20px {
  width: 20px;
}

/* Error Messages */
.error-message {
  display: none;
}

/* Small Text */
.small-text {
  font-size: 0.75rem;
}

/* Section States */
.section-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.element-hidden {
  display: none;
}

/* Submit Button Text Styles */
.submit-btn-text-verified {
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
}

.submit-btn-text-unverified {
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
}

.submit-btn-icon {
  margin-left: 5px;
}

/* Auto-dismiss Alert Animation */
#marathiPrompt {
  transition: opacity 0.5s ease;
}

#marathiPrompt.fade-out {
  opacity: 0;
}

/* ==========================================================================
   Premium Matrimonial Registration Mobile Redesign Styles (Step 6)
   ========================================================================== */

/* Modern Glow Stepper & Circular Progress Details */
.step.active::before {
  background: linear-gradient(135deg, #3B82F6, #2563EB) !important;
  border-color: #3B82F6 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4), 0 0 0 6px rgba(37, 99, 235, 0.15) !important;
}

.step.completed::before {
  background: linear-gradient(135deg, #4ADE80, #16A34A) !important;
  border-color: #16A34A !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 10px rgba(22, 163, 74, 0.25) !important;
}

/* Glassmorphism Cards */
.premium-verification-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
}

.premium-verification-card.email-card-theme {
  border-top: 4px solid #2563EB;
}

.premium-verification-card.whatsapp-card-theme {
  border-top: 4px solid #22C55E;
}

.premium-verification-card.card-disabled {
  opacity: 0.55;
  pointer-events: none;
  filter: grayscale(40%);
}

.card-header-premium {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.verify-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1.35rem;
  transition: transform 0.3s ease;
}

.email-icon-bg {
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
}

.mobile-icon-bg {
  background: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}

.premium-verification-card:hover .verify-icon-wrapper {
  transform: translateY(-2px) scale(1.05);
}

/* Individual OTP Input Boxes Layout */
.otp-digit-container {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  max-width: 320px;
  margin: 1.25rem auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.otp-box-digit {
  width: 44px;
  height: 48px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1E293B;
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  outline: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 576px) {
  .otp-digit-container {
    gap: 4px;
    padding: 0 8px;
    max-width: 100%;
  }

  .otp-box-digit {
    width: 15%;
    height: 40px;
    font-size: 1.1rem;
  }
}

.otp-box-digit:focus {
  border-color: #3B82F6;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
  transform: scale(1.05);
}

.otp-box-digit.success-border {
  border-color: #16A34A !important;
  background: #F0FDF4 !important;
  color: #16A34A !important;
}

.otp-box-digit.error-border {
  border-color: #EF4444 !important;
  background: #FEF2F2 !important;
  color: #EF4444 !important;
}


/* Premium Buttons */
.premium-btn {
  border: none;
  border-radius: 16px !important;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.premium-btn-primary {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: #FFFFFF !important;
}

.premium-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.premium-btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.premium-btn-mobile {
  background: linear-gradient(135deg, #4ADE80, #22C55E);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.premium-btn-mobile:hover:not(:disabled) {
  background: linear-gradient(135deg, #22C55E, #16A34A);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.25);
}

.premium-btn-success {
  background: linear-gradient(135deg, #4ADE80, #16A34A);
  color: #FFFFFF !important;
}

.premium-btn:disabled {
  opacity: 0.6;
  transform: none !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

/* Success Badges */
.verified-success-badge {
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: #16A34A;
  border-radius: 12px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

/* Passwords mobile styles */
.premium-password-container {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.password-input-wrapper {
  position: relative;
}

.password-input-wrapper .input-group-text {
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  color: #64748B;
}

.password-input-wrapper .form-control {
  border: 2px solid #E2E8F0;
  padding-left: 0.75rem;
}

.password-input-wrapper .form-control:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.password-toggle-premium {
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.password-toggle-premium:hover {
  color: #1E293B;
}

/* ==========================================================================
   Progressive Mobile Wizard Transitions
   ========================================================================== */

/* Fade-in + slide-up animation for each revealed wizard step */
@keyframes wizardFadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-wizard-enter {
  animation: wizardFadeInUp 0.42s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Hide the submit button on mobile until password step is reached */
@media (max-width: 767.98px) {
  #submit-btn.mobile-wizard-submit-hidden {
    display: none !important;
  }
}

/* Wizard progress indicator strip at top of mobile section */
.wizard-progress-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.wizard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E2E8F0;
  transition: all 0.3s ease;
}

.wizard-dot.active {
  width: 24px;
  border-radius: 4px;
  background: linear-gradient(90deg, #3B82F6, #2563EB);
}

.wizard-dot.done {
  background: #16A34A;
}

/* Subtle step label text above each card */
.wizard-step-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 0.75rem;
}

.wizard-step-label span.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  margin-right: 6px;
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: #fff;
}

/* ==========================================================================
   Inline Style Classes - Extracted from register.php
   ========================================================================== */

/* Text color and weight styles */
.text-slate-800 {
  color: #1E293B;
}

.fw-700 {
  font-weight: 700;
}

.text-slate-600 {
  color: #475569;
}

.fs-0-9rem {
  font-size: 0.9rem;
}

/* Input border radius styles */
.input-rounded-lg {
  border-radius: 12px;
}

.input-rounded-right {
  border-radius: 0 12px 12px 0;
  border: 2px solid #E2E8F0;
}

.input-rounded-left {
  border-radius: 12px 0 0 12px;
}

/* Input group text styles */
.input-group-text-custom {
  border: 2px solid #E2E8F0;
  border-right: none;
}

.input-group-text-right {
  border: 2px solid #E2E8F0;
  border-left: none;
  background: #fff;
}

/* Step number gradient background */
.step-num-purple {
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
}

/* Terms section border */
.terms-section-border {
  border: 1px dashed #CBD5E1;
}

/* Label text styles */
.label-text-sm {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #475569;
}

/* Floating Badge for Free Registration */
.floating-badge-free {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1050;
  animation: badgePulse 2s infinite, floatAnimation 3s ease-in-out infinite;
  border: 3px solid white;
  cursor: default;
  pointer-events: none;
}

.floating-badge-free span {
  display: block;
  line-height: 1.2;
}

@keyframes floatAnimation {
  0% { transform: translateY(0px) rotate(-5deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(-5deg); }
}

@keyframes badgePulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 87, 108, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(245, 87, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 87, 108, 0); }
}

@media (max-width: 768px) {
  .floating-badge-free {
    top: 10px;
    right: 10px;
    width: 75px;
    height: 75px;
    font-size: 13px;
    border-width: 2px;
  }
}
