/* Styles for Calendar Standalone Application */

/* Container styles */
.calendar-widget {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 800px;
  margin-left: 0;  /* align left */
  margin-right: auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header styles */
.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eaeaea;
}

.title-container {
  position: relative;
  padding-right: 40px; /* Make space for the language toggle */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.widget-header h2 {
  margin: 0;
  color: #333;
  flex: 1;
}

/* Doctor name styling */
#doctor-name {
  font-weight: 600;
  color: #0056b3;
}

/* Doctor quick select styling */
.doctor-quick-select {
  margin-top: 8px;
  margin-bottom: 8px;
}

.change-doctor-button {
  background-color: transparent;
  color: #0056b3;
  border: 1px solid #0056b3;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.change-doctor-button:hover {
  background-color: #e6f0ff;
}



/* Specialization Filter Styling */
.specialization-filter-container {
  margin: 16px 0;
  padding: 16px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.specialization-filter-container label {
  display: block;
  font-weight: 500;
  color: #495057;
  margin-bottom: 8px;
  font-size: 14px;
}

#specialization-filter {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 14px;
  background-color: white;
  color: #495057;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#specialization-filter:focus {
  outline: 0;
  border-color: #0056b3;
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

#specialization-filter:hover {
  border-color: #adb5bd;
}

@media (max-width: 768px) {
  .specialization-filter-container {
    margin: 12px 0;
    padding: 12px;
  }
  
  .specialization-filter-container label {
    font-size: 13px;
  }
  
  #specialization-filter {
    font-size: 13px;
    padding: 8px 10px;
  }
}

/* Doctor Cards Styling */
.doctor-cards-container {
  margin: 20px 0;
}

.doctor-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  padding: 0;
}

.doctor-card {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 280px;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.doctor-card:hover {
  border-color: #0056b3;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.15);
  transform: translateY(-2px);
}

.doctor-card.selected {
  border-color: #0056b3;
  background-color: #f8f9ff;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

.doctor-card.selected::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  background-color: #0056b3;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.doctor-portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid #e9ecef;
  transition: border-color 0.3s ease;
}

.doctor-card:hover .doctor-portrait,
.doctor-card.selected .doctor-portrait {
  border-color: #0056b3;
}

.doctor-portrait-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
  color: #6c757d;
  border: 3px solid #e9ecef;
  transition: all 0.3s ease;
}

.doctor-card:hover .doctor-portrait-placeholder,
.doctor-card.selected .doctor-portrait-placeholder {
  border-color: #0056b3;
  background-color: #f8f9ff;
  color: #0056b3;
}

.doctor-name {
  font-size: 18px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 8px;
  line-height: 1.3;
}

.doctor-specialization {
  font-size: 14px;
  color: #0056b3;
  font-weight: 500;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.doctor-bio {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.4;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .doctor-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .doctor-card {
    min-height: 240px;
    padding: 16px;
  }
  
  .doctor-portrait,
  .doctor-portrait-placeholder {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
  }
  
  .doctor-name {
    font-size: 16px;
  }
  
  .doctor-specialization {
    font-size: 13px;
  }
  
  .doctor-bio {
    font-size: 13px;
  }
}

/* Minimal language toggle */
.language-container {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
}

.language-toggle-minimal {
  font-size: 12px;
  padding: 4px 8px;
  border: none;
  background-color: #f0f0f0;
  color: #666;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.language-toggle-minimal:hover {
  opacity: 1;
}

/* Loading indicator */
.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 100px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #4a90e2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

.loading-indicator p {
  color: #555;
  text-align: center;
  font-size: 16px;
  margin: 0;
}

/* Hide debug and timezone elements by default */
.debug-toggle, 
.timezone-toggle {
  display: none;
}

/* Calendar container */
.calendar-container {
  position: relative;
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* Calendar header */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #4a90e2;
  color: white;
  min-height: 60px;
}

.calendar-header h3 {
  margin: 0;
  font-size: 18px;
}

.calendar-header button {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 8px 15px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.calendar-header button:hover:not([disabled]) {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.calendar-header button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Make the next month button more prominent */
#next-month {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

#next-month:hover:not([disabled]) {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Make navigation symbols more prominent */
.calendar-header button {
  position: relative;
}

.calendar-header button::before,
.calendar-header button::after {
  font-size: 1.2em;
  font-weight: bold;
}

/* Specific styling for the symbols in navigation buttons */
#prev-month::before {
  content: '';
}

#next-month::after {
  content: '';
}

/* Style the actual symbols within the buttons */
.calendar-header button {
  font-size: 16px;
}

.calendar-header button .nav-symbol {
  font-size: 1.4em;
  font-weight: bold;
  line-height: 0; /* remove extra glyph ascent/descender space */
  display: inline-flex; /* allow centering of the glyph box */
  align-items: center; /* center the chevron in its box */
}

/* Fine-tune vertical alignment of chevrons (adjust px if needed) */
#prev-month .nav-symbol { transform: translateY(2px); }
#next-month .nav-symbol { transform: translateY(-2px); }

.calendar-header button .button-text {
  font-size: 1em;
}

/* Ensure both buttons have the same text styling */
#prev-month .button-text,
#next-month .button-text {
  font-size: 1em;
  font-weight: 500;
}

/* Ensure both buttons have consistent dimensions */
#prev-month,
#next-month {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Weekday headers */
.weekday-header {
  text-align: center;
  font-weight: 500;
  padding: 10px;
  background-color: #e9e9e9;
  color: #555;
}

/* Calendar grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  position: relative;
}

/* Calendar days */
.calendar-day {
  position: relative;
  height: 60px;
  border: 1px solid #eaeaea;
  padding: 6px;
  background-color: white;
}

.calendar-day.other-month {
  background-color: #f5f5f5;
  color: #aaa;
}

.calendar-day.selected {
  background-color: #e3f2fd;
  border: 2px solid #4a90e2;
}

.calendar-day.clickable {
  cursor: pointer;
}

.calendar-day.clickable:hover {
  background-color: #f0f8ff;
}

.day-number {
  font-size: 12px;
  font-weight: 500;
}

/* Availability indicators */
.availability-indicator {
  position: absolute;
  bottom: 6px;
  right: 6px;
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: white;
}

/* Loading overlay */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

/* No doctor message */
.no-doctor-message {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  color: #666;
}

.no-doctor-message p {
  font-size: 18px;
  margin: 0;
}

/* Time slots section */
.time-slots-container {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
}

.time-slots-container h4 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.slot-button {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-size: 16px;
}

.slot-button:hover {
  background-color: #4a90e2;
  color: white;
  border-color: #4a90e2;
}

.no-slots-message {
  text-align: center;
  color: #666;
  font-style: italic;
}

/* Loading spinner */
.loading-spinner {
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: #4a90e2;
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 10px;
}

.loading-slots {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Debug styles */
.debug-toggle {
  padding: 4px 8px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
}

.timezone-toggle {
  padding: 4px 8px;
  background-color: #e6f7ff;
  border: 1px solid #91d5ff;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  margin-right: 8px;
}

.timezone-toggle:hover {
  background-color: #bae7ff;
}

.timezone-info {
  font-size: 14px;
  color: #666;
  margin-top: 0;
  margin-bottom: 15px;
  font-style: italic;
}

.debug-info {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 12px;
  white-space: pre-wrap;
  overflow: auto;
  max-height: 300px;
}

.debug-info h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.debug-info pre {
  background-color: #eee;
  padding: 8px;
  border-radius: 4px;
  overflow: auto;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .widget-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    overflow: visible;
    padding-right: 0;
  }
  
  .doctor-selector {
    width: 100%;
  }
  
  .doctor-selector select {
    width: 100%;
  }
  
  .calendar-day {
    height: 45px;
    padding: 3px;
  }
  
  .day-number {
    font-size: 12px;
  }
  
  .availability-indicator {
    width: 12px;
    height: 12px;
    bottom: 4px;
    right: 4px;
  }
  
  .slots-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }
  
  .title-container {
    width: 100%;
    margin-bottom: 10px;
    padding-right: 0;
    position: relative;
  }
  
  .language-container {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    margin-right: 0;
  }
  
  .language-toggle-minimal {
    font-size: 11px;
    padding: 3px 6px;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    position: relative;
    right: 20px;
  }
  
  .calendar-widget {
    position: relative;
  }
  
  /* Mobile responsive navigation buttons */
  .calendar-header button {
    font-size: 12px;
    padding: 6px 8px;
  }
  
  #next-month {
    font-size: 12px;
  }
  
  .calendar-header button .nav-symbol {
    font-size: 1.6em;
  }
  
  /* Medium mobile screens - use shorter text */
  @media (max-width: 520px) and (min-width: 481px) {
    .calendar-header button {
      font-size: 11px;
      padding: 6px 6px;
    }
    
    .calendar-header h3 {
      font-size: 15px;
    }
    
    /* Hide full text, show short text */
    .button-text-full {
      display: none !important;
    }
    
    .button-text-short {
      display: inline !important;
    }
    
    .calendar-header button .nav-symbol {
      font-size: 1.8em;
    }
  }
  
  /* On very small screens, use short text */
  @media (max-width: 480px) {
    .calendar-header {
      padding: 10px;
    }
    
    .calendar-header h3 {
      font-size: 14px;
      text-align: center;
      flex: 1;
    }
    
    .calendar-header button {
      font-size: 11px;
      padding: 6px 8px;
      min-width: 44px; /* Minimum touch target size */
      justify-content: center;
    }
    
    /* Hide full text, show short text */
    .button-text-full {
      display: none !important;
    }
    
    .button-text-short {
      display: inline !important;
    }
    
    .calendar-header button .nav-symbol {
      font-size: 2em;
    }
  }
  
  /* For extremely small screens, show symbols only */
  @media (max-width: 360px) {
    .calendar-header h3 {
      font-size: 13px;
    }
    
    .calendar-header button {
      font-size: 16px;
      padding: 8px 10px;
    }
    
    /* Hide all text on very small screens */
    .button-text {
      display: none !important;
    }
    
    .calendar-header button .nav-symbol {
      font-size: 2.2em;
    }
  }
}

/* Add styles for the booking form */
.booking-form-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  padding: 20px;
}

.booking-header {
  margin-bottom: 20px;
}

.booking-header h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.booking-details {
  background-color: #f8f9fa;
  border-left: 4px solid #3498db;
  border-radius: 4px;
  padding: 10px 15px;
  margin-bottom: 20px;
}

.booking-details p {
  margin: 5px 0;
  font-size: 0.95rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}

.form-group label {
  font-weight: 500;
  font-size: 1rem;
  color: #555;
}

.form-group input {
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  padding: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Validation styles - disabled HTML5 auto-validation, using JS validation only */
/* .form-group input:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

.form-group input:valid {
  border-color: #2ecc71;
}

.form-group input:focus:invalid {
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
} */

.form-group input:focus:valid {
  box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
}

.validation-error {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

/* Disabled HTML5 auto-validation - JS will control error display */
/* .form-group input:invalid:not(:placeholder-shown) + .validation-error {
  display: block;
} */

/* Show red border when input has error class (set by JS validation) */
.form-group input.error {
  border-color: #e74c3c;
}

.form-group input.error:focus {
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.back-button {
  background-color: #f1f1f1;
  border: none;
  border-radius: 4px;
  color: #555;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 10px 20px;
  transition: background-color 0.2s;
}

.back-button:hover {
  background-color: #e0e0e0;
}

.submit-button {
  background-color: #3498db;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 20px;
  transition: background-color 0.2s;
}

.submit-button:hover {
  background-color: #2980b9;
}

/* Disabled and loading states for submit buttons */
.submit-button:disabled,
.submit-button.loading {
  opacity: 0.8;
  cursor: not-allowed;
}

.submit-button.loading {
  position: relative;
}

.submit-button .button-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid rgba(255,255,255,0.5);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: -3px;
}

.submit-button .btn-label {
  vertical-align: middle;
}

/* Inline Continue button inside doctor card */
.doctor-card-continue {
  width: 100%;
  margin-top: 12px;
}

/* Add responsive styles for the booking form */
@media (max-width: 600px) {
  .booking-form-container {
    padding: 15px;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .back-button, .submit-button {
    width: 100%;
  }
}

/* Confirmation Message Styles */
.confirmation-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.confirmation-content {
  text-align: center;
  padding: 30px 20px;
}

.success-icon {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: #4CAF50;
  color: white;
  font-size: 32px;
  margin-bottom: 20px;
}

#confirmation-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
}

.confirmation-message {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.confirmation-done-button {
  padding: 10px 30px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.confirmation-done-button:hover {
  background-color: #388E3C;
}

@media (max-width: 600px) {
  
  .confirmation-content {
    padding: 20px 10px;
  }
  
  .success-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 28px;
  }
} 

/* Privacy Policy Popover Styles */
.privacy-popover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.privacy-popover-content {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.privacy-popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.privacy-popover-title {
  margin: 0;
  font-size: 1.4rem;
  color: #333;
}

.privacy-popover-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.privacy-popover-close:hover {
  background-color: #f5f5f5;
  color: #333;
}

.privacy-popover-body {
  padding: 15px;
  overflow-y: auto;
  overflow-x: hidden;
  line-height: 1.6;
}

.privacy-popover-body iframe {
  width: 100% !important;
  height: 60vh;
  border: none;
  overflow-x: hidden;
}

.privacy-link {
  color: #4CAF50;
  text-decoration: underline;
  cursor: pointer;
}

.privacy-link:hover {
  color: #388E3C;
}

.privacy-loading {
  text-align: center;
  padding: 30px;
  color: #666;
}

@media (max-width: 600px) {
  .privacy-popover-content {
    width: 95%;
    margin: 0 auto;
  }
  
  .privacy-popover-header {
    padding: 12px 10px;
  }
  
  .privacy-popover-body {
    padding: 10px;
  }
  
  body.privacy-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
} 

/* Update the privacy checkbox styling with more spacing */
.form-group.privacy-group {
  display: flex;
  flex-direction: row !important;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px; /* Increased from 8px */
  margin: 16px 0; /* Add vertical margin around the whole group */
  padding: 8px 0; /* Add some padding for better spacing */
}

.form-group.privacy-group input[type="checkbox"] {
  margin: 4px 8px 0 0; /* Increased right margin from 4px to 8px */
  flex-shrink: 0;
  width: auto;
  height: auto;
  /* Make the checkbox slightly larger for better visibility */
  transform: scale(1.2);
}

.form-group.privacy-group label {
  margin: 0;
  flex: 1;
  text-align: left;
  padding: 2px 0; /* Add some padding to the label */
  line-height: 1.4; /* Better line height for readability */
}

.form-group.privacy-group .validation-error {
  flex-basis: 100%;
  margin-top: 8px; /* Increased from 4px */
}