/* Password Toggle */
.password-toggle {
  position: relative;
}

.password-toggle-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6c757d;
  transition: color 0.3s;
  z-index: 10;
}

.password-toggle-icon:hover {
  color: #198754;
}

.password-toggle input {
  padding-right: 45px;
}

/* Form Card Design */
.form-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  overflow: hidden;
}

.form-card-header {
  background: linear-gradient(135deg, #198754 0%, #146c43 100%);
  padding: 32px;
  color: white;
  border-radius: 16px 16px 0 0;
  margin: -1px -1px 0;
}

.form-card-body {
  padding: 40px;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
  padding: 0 20px;
}

.step-indicator::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: #e9ecef;
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  border: 3px solid #ffffff;
}

.step-item.active .step-circle {
  background: linear-gradient(135deg, #198754 0%, #146c43 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
  transform: scale(1.1);
}

.step-item.completed .step-circle {
  background: #198754;
  color: white;
}

.step-label {
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
}

.step-item.active .step-label {
  color: #198754;
  font-weight: 600;
}

/* Section Header */
.section-header {
  border-bottom: 3px solid #f0f0f0;
  padding-bottom: 20px;
  margin-bottom: 32px;
}

.section-header h4 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
}

.section-header p {
  color: #6c757d;
  margin: 0;
}

/* Category Cards */
.category-card {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #ffffff;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.category-card:hover {
  border-color: #198754;
  background: #f0f7f3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 135, 84, 0.15);
}

.category-card input[type="checkbox"]:checked ~ .category-content {
  color: #198754;
  font-weight: 600;
}

.category-card:has(input[type="checkbox"]:checked) {
  border-color: #198754;
  background: #f0f7f3;
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
}

/* Phone Input */
.phone-input-group {
  display: flex;
  align-items: center;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.phone-input-group:focus-within {
  border-color: #198754;
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.15);
}

.phone-badge {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 12px 16px;
  border-right: 2px solid #e9ecef;
  font-weight: 600;
  color: #495057;
  display: flex;
  align-items: center;
}

.phone-formatter {
  border: none !important;
  box-shadow: none !important;
}

/* Enhanced Checkboxes */
.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border-width: 2px;
  margin-top: 0.125rem;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #198754;
  border-color: #198754;
}

.form-check-label {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* Radio Button Enhancement */
.form-check-inline {
  margin-right: 20px;
}

/* Alert Enhancement */
.alert {
  border-radius: 12px;
  border-width: 0 0 0 4px;
  padding: 16px 20px;
}

.alert-info {
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.05) 0%,
    rgba(13, 110, 253, 0.02) 100%
  );
  border-left-color: #0d6efd;
}

/* Progress Bar Enhancement */
.progress {
  border-radius: 10px;
  height: 24px !important;
  background: #e9ecef;
  overflow: visible;
}

.progress-bar {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(25, 135, 84, 0.3);
  font-weight: 600;
  font-size: 13px;
  position: relative;
  overflow: visible;
}

.progress-bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Info Card */
.info-card {
  background: linear-gradient(135deg, #e7f3ff 0%, #f0f7ff 100%);
  border: 2px solid #b6d4fe;
  border-radius: 12px;
  padding: 10px;
  /* margin-bottom: 24px */
}

/* Hourly Rate Display */
.rate-display {
  background: linear-gradient(135deg, #fff9e6 0%, #fffbeb 100%);
  border: 2px solid #ffc107;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.rate-value {
  font-size: 2rem;
  font-weight: 700;
  color: #ffc107;
  margin: 0;
}

/* Day Selector */
.day-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.day-checkbox {
  flex: 0 0 auto;
}

.day-checkbox .form-check-label {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.day-checkbox .form-check-input:checked ~ .form-check-label {
  background: #198754;
  color: white;
  border-color: #198754;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .form-card-body {
    padding: 24px;
  }

  .section-header h4 {
    font-size: 1.5rem;
  }

  .step-indicator {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .step-label {
    display: none;
  }

  .btn-lg {
    width: 100%;
    margin-top: 8px;
  }
}

/* Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-card {
  animation: slideIn 0.5s ease-out;
}
/* Tooltip Enhancement */
.help-icon {
  cursor: pointer;
  color: #0d6efd;
  transition: all 0.3s ease;
}

.help-icon:hover {
  color: #0a58ca;
  transform: scale(1.1);
}
