/* ========================================
   CONSULTATION BOOKING MODAL & INSTRUCTIONS
   Added: October 22, 2025 - Claude Sonnet 4.5
   Purpose: Guide users to provide detailed consultation descriptions
   ======================================== */

/* Modal overlay */
.consultation-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.consultation-modal-overlay.active {
  display: flex;
}

/* Modal container */
.consultation-modal {
  background: #ffffff;
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  overflow: hidden;
}

/* Modal header */
.consultation-modal-header {
  background: #D82027;
  color: #ffffff;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.consultation-modal-header i {
  font-size: 24px;
}

.consultation-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

/* Modal body */
.consultation-modal-body {
  padding: 25px;
}

.consultation-modal-body p {
  margin: 0 0 15px 0;
  line-height: 1.6;
  color: #333;
}

.consultation-modal-body p:last-of-type {
  margin-bottom: 0;
}

.consultation-modal-body strong {
  color: #D82027;
  font-weight: 700;
}

.consultation-modal-body ul {
  margin: 15px 0;
  padding-left: 25px;
}

.consultation-modal-body ul li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Modal footer */
.consultation-modal-footer {
  padding: 20px 25px;
  background: #f8f9fa;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.consultation-modal-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
}

.consultation-modal-btn-primary {
  background: #D82027;
  color: #ffffff;
}

.consultation-modal-btn-primary:hover {
  background: #a31217;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(216, 32, 39, 0.3);
}

.consultation-modal-btn-secondary {
  background: #ffffff;
  color: #333;
  border: 2px solid #dee2e6;
}

.consultation-modal-btn-secondary:hover {
  background: #f8f9fa;
  border-color: #adb5bd;
}

/* Instructions alert box above calendar */
.consultation-instructions-alert {
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
  align-items: start;
}

.consultation-instructions-alert .alert-icon {
  font-size: 28px;
  color: #ff6b00;
  flex-shrink: 0;
  margin-top: 3px;
}

.consultation-instructions-alert .alert-content h4 {
  margin: 0 0 10px 0;
  color: #856404;
  font-size: 18px;
  font-weight: 700;
}

.consultation-instructions-alert .alert-content p {
  margin: 0;
  color: #856404;
  line-height: 1.6;
  font-size: 15px;
}

.consultation-instructions-alert .alert-content strong {
  font-weight: 700;
  text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Mobile responsive */
@media (max-width: 576px) {
  .consultation-modal {
    max-width: 100%;
    margin: 0 10px;
  }
  
  .consultation-modal-header {
    padding: 15px 20px;
  }
  
  .consultation-modal-header h3 {
    font-size: 18px;
  }
  
  .consultation-modal-body {
    padding: 20px;
  }
  
  .consultation-modal-footer {
    flex-direction: column;
  }
  
  .consultation-modal-btn {
    width: 100%;
  }
  
  .consultation-instructions-alert {
    padding: 15px;
  }
  
  .consultation-instructions-alert .alert-icon {
    font-size: 24px;
  }
  
  .consultation-instructions-alert .alert-content h4 {
    font-size: 16px;
  }
}