/* Registration Modal Styles */
.registration-card {
  transition: all 0.3s ease;
  border-width: 2px !important;
}

.registration-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.registration-type-selection {
  padding: 1rem 0;
}

.registration-form {
  max-height: 70vh;
  overflow-y: auto;
}

.form-section-title {
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Password field with eye icon */
.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #6c757d;
  z-index: 10;
}

.password-toggle:hover {
  color: #495057;
}

/* Image preview */
.image-preview {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #e9ecef;
}

/* Services checkbox grid */
.services-grid {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  padding: 1rem;
}

.services-grid .form-check {
  margin-bottom: 0.5rem;
}

/* Modal size adjustments */
.modal-lg {
  max-width: 900px;
}

.modal-body {
  max-height: 80vh;
  overflow-y: auto;
}

/* Form validation styles */
.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

/* Loading states */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-lg {
    max-width: 95%;
    margin: 1rem auto;
  }
  
  .registration-type-selection .col-md-4 {
    margin-bottom: 1rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
}

/* Animation for form sections */
.form-section {
  animation: fadeInUp 0.3s ease-out;
}

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

/* Button styles */
.btn-register {
  min-width: 120px;
}

.btn-back {
  min-width: 80px;
}

/* Alert styles */
.alert-info {
  border-left: 4px solid #0dcaf0;
  background-color: #f8f9fa;
}

/* Custom scrollbar for modal */
.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
