/* General Styling */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #5c4033; /* Rich brown */
  color: #5c4033; /* Rich brown */
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.logo-container {
  width: 100%;
  max-width: 1200px;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 120px;
  width: auto;
  margin: 0;
}

.logo h1 {
  color: #d4a373;
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 1px;
}

.dashboard-container {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  position: relative; /* Added for absolute positioning of bottom-right-buttons */
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.dashboard-header h1 {
  color: #d4a373; /* Warm terracotta */
  font-family: 'Playfair Display', serif;
}

.top-nav-buttons {
  display: flex;
  gap: 0.5rem; /* Consistent spacing between all buttons */
  align-items: center;
}

.logout-button {
  padding: 0.6rem 1.2rem;
  background-color: #d4a373; /* Warm terracotta */
  color: #ffffff;
  border: none;
  border-radius: 25px; /* Bubbled buttons */
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.logout-button:hover {
  background-color: #b22222; /* Vibrant red */
}

.setup-profile-btn, .manage-profile-btn {
  padding: 0.6rem 1.2rem;
  background-color: #d4a373; /* Changed from green to match logout button */
  color: #ffffff;
  border: none;
  border-radius: 25px; /* Bubbled buttons */
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.setup-profile-btn:hover {
  background-color: #45a049; /* Darker green on hover */
}

.manage-profile-btn {
  background-color: #2196F3; /* Blue color */
}

.manage-profile-btn:hover {
  background-color: #0b7dda; /* Darker blue on hover */
}

.dashboard-content {
  display: flex;
  flex: 1;
}

.sidebar {
  width: 250px;
  background-color: #5c4033;
  padding: 1rem;
  border-radius: 10px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: 1rem;
}

.sidebar a {
  color: #f5f5dc;
  text-decoration: none;
  font-size: 1.1rem;
}

.sidebar a:hover {
  text-decoration: underline;
}

.main-content {
  flex: 1;
  padding-left: 2rem;
}

.card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

h2 {
  color: #d4a373; /* Warm terracotta */
  margin-bottom: 1rem;
}

button {
  padding: 0.75rem 1.5rem;
  background-color: #d4a373; /* Warm terracotta */
  color: #ffffff;
  border: none;
  border-radius: 25px; /* Bubbled buttons */
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #b22222; /* Vibrant red */
}

/* Form Fields */
input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
  border-color: #d4a373; /* Warm terracotta */
  outline: none;
}

ul {
  padding-left: 1.5rem;
}

ul li {
  margin-bottom: 1rem;
}

textarea {
  height: 100px;
}

.fas {
  margin-right: 0.5rem;
}

/* Style for the action buttons container */
.appointment-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.confirm-btn, .deny-btn, .approve-btn, .complete-btn, .noshow-btn, .reschedule-btn, .cancel-btn {
  padding: 0.6rem 1.2rem;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  min-width: 100px;
  white-space: nowrap;
}

/* Keep specific colors for each button */
.confirm-btn, .approve-btn {
  background-color: #d4a373; /* Match logout button color */
}

.deny-btn {
  background-color: #d4a373; /* Match logout button color */
}

.cancel-btn {
  background-color: #d4a373; /* Warm terracotta to match logout button */
}

.reschedule-btn {
  background-color: #b22222; /* Red */
}

.complete-btn {
  background-color: #4CAF50; /* Green */
}

.noshow-btn {
  background-color: #8B0000; /* Dark red */
}

/* Hover effects */
.confirm-btn:hover, .approve-btn:hover, .complete-btn:hover, .reschedule-btn:hover,
.deny-btn:hover, .cancel-btn:hover, .noshow-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.confirm-btn:active, .approve-btn:active, .complete-btn:active, .reschedule-btn:active, 
.deny-btn:active, .cancel-btn:active, .noshow-btn:active {
  transform: scale(0.98);
}

.settings-group {
  margin-bottom: 2rem;
}

.settings-group h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.setting-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.setting-item label {
  display: flex;
  align-items: center;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.setting-item input[type="checkbox"] {
  margin-left: 1rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.setting-description {
  color: #666;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.save-settings-btn {
  background-color: #4CAF50;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.save-settings-btn:hover {
  background-color: #45a049;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .setting-item {
    background-color: #2a2a2a;
  }
  
  .setting-item label {
    color: #e0e0e0;
  }
  
  .setting-description {
    color: #b0b0b0;
  }
  
  .settings-group h3 {
    color: #e0e0e0;
  }
}

.calendar-container {
  height: 600px;
  width: 100%;
  margin-bottom: 2rem;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#calendar {
  height: 100%;
  width: 100%;
}

/* FullCalendar Specific Overrides */
.fc {
  height: 100% !important;
  width: 100% !important;
}

.fc .fc-view-harness {
  height: 500px !important; /* Fixed height for the calendar view */
}

.fc .fc-toolbar {
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fc .fc-toolbar-title {
  font-size: 1.2rem !important;
}

/* Ensure buttons are visible and properly sized */
.fc .fc-button {
  padding: 0.5rem 0.8rem !important;
  font-size: 0.9rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .calendar-container {
    height: 500px;
  }
  
  .fc .fc-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .fc .fc-toolbar-title {
    font-size: 1rem !important;
    margin: 0.5rem 0;
  }
}

.add-time-btn {
  margin-top: 1rem;
  width: 100%;
}

/* Logo Styling */
.logo-container {
  width: 100%;
  max-width: 1200px;
  padding: 1rem 2rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  display: flex;
  justify-content: center;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 120px;
  width: auto;
  margin: 0;
}

.logo h1 {
  color: #d4a373;
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Appointment card styling improvements */
.appointment-actions {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.appointment-card {
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background-color: #fff;
  border-left: 3px solid #d4a373;
}

/* Add these styles for the reschedule pending tag */
.status-tag.pending,
.status-tag.reschedule-pending {
  background-color: #ff9800;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 8px;
  display: inline-block;
  font-weight: bold;
  border: 1px solid #e65100;
}

/* Add specific styles for new and old appointment tags */
.status-tag.reschedule-pending:contains("New") {
  background-color: #4CAF50; /* Green for new */
  border-color: #2E7D32;
}

.status-tag.reschedule-pending:contains("Old") {
  background-color: #F44336; /* Red for old */
  border-color: #C62828;
}

/* Alternate approach using class-based styling */
.status-tag.new {
  background-color: #4CAF50; /* Green for new */
  border-color: #2E7D32;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 8px;
  display: inline-block;
  font-weight: bold;
  border-width: 1px;
  border-style: solid;
}

.status-tag.old {
  background-color: #F44336; /* Red for old */
  border-color: #C62828;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 8px;
  display: inline-block;
  font-weight: bold;
  border-width: 1px;
  border-style: solid;
}

/* Style for time-changed status tag */
.status-tag.time-changed {
  background-color: #2196F3; /* Blue color */
  border-color: #0D47A1;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 8px;
  display: inline-block;
  font-weight: bold;
  border-width: 1px;
  border-style: solid;
}

/* Style for remainder-failed status tag */
.status-tag.remainder-failed {
  background-color: #f44336; /* Red color */
  border-color: #c62828;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 8px;
  display: inline-block;
  font-weight: bold;
  border-width: 1px;
  border-style: solid;
}

/* Payment warning styling */
.payment-warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

.status-time-changed {
  background-color: rgba(33, 150, 243, 0.1);
  border: 1px solid #2196F3;
}

.status-remainder-failed {
  background-color: rgba(244, 67, 54, 0.1);
  border: 1px solid #f44336;
}

.proposed-time {
  color: #ff9800;
  font-weight: bold;
}

/* Make the reschedule pending tag stand out */
.status-tags {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* Add styling for reschedule actions */
.reschedule-actions {
  border: 1px solid #ff9800;
  background-color: #fff8e1;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

.reschedule-header {
  font-weight: 600;
  color: #e65100;
  margin-bottom: 10px;
  text-align: center;
  font-size: 1.1rem;
}

.reschedule-info {
  font-size: 0.9rem;
  color: #666;
  margin-top: 10px;
  text-align: center;
  font-style: italic;
}

/* Appointment connection */
.appointment-connection {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  background-color: #fff3e0;
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid #ff9800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.appointment-connection:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.connection-icon {
  margin-right: 10px;
  color: #ff9800;
  font-size: 1.2rem;
}

.connection-info {
  flex: 1;
}

.connection-info p {
  margin: 5px 0;
}

.connection-action {
  color: #ff5722;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

.connection-id {
  font-size: 0.8rem;
  color: #666;
}

/* Update appointment header to be more flexible */
.appointment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.appointment-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #4a4a4a;
  flex: 1;
  min-width: 200px;
}

/* Disabled button styling */
.complete-btn:disabled, .noshow-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Remove bullet points from appointment lists */
.appointment-list {
  list-style-type: none;
  padding-left: 0;
}

/* Style for appointment option */
.appointment-option {
  margin-top: 5px;
  margin-left: 0;
  font-size: 1em;
  color: inherit;
}

.appointment-option strong {
  font-weight: bold;
  font-style: normal;
  margin-right: 5px;
}

/* Style for appointment notes */
.appointment-notes {
  margin-top: 10px;
  margin-bottom: 10px;
  font-style: italic;
  color: #5c4033; /* Match the main text color used in the braider dashboard */
}

.appointment-notes strong {
  font-weight: bold;
  font-style: normal;
  margin-right: 5px;
  color: #5c4033; /* Match the main text color */
}

/* Style for inspiration photo section */
.inspiration-photo {
  margin-top: 15px;
  margin-bottom: 10px;
}

.inspiration-photo strong {
  display: block;
  margin-bottom: 5px;
  color: #5c4033; /* Match the main text color */
}

.photo-thumbnail {
  display: inline-block;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.photo-thumbnail:hover {
  transform: scale(1.05);
}

.photo-thumbnail img {
  border-radius: 5px;
  border: 1px solid #ddd;
  object-fit: cover;
  width: 80px;
  height: 80px;
}

.photo-thumbnail span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.6);
  color: white;
  font-size: 0.8em;
  padding: 3px 0;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.photo-thumbnail:hover span {
  opacity: 1;
}

/* Inspiration thumbnail in cards */
.inspiration-thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #d4a373;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.inspiration-thumbnail:hover {
  transform: scale(1.05);
}

/* Photo viewer modal */
.photo-viewer-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.photo-viewer-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.full-photo {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 5px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
  object-fit: contain;
}

.close-viewer {
  position: absolute;
  top: -40px;
  right: -40px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 30px;
  font-weight: bold;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
  border: none;
}

.close-viewer:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Modal for Decline Reasons */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1.3rem;
}

#decline-reasons-form {
  margin-bottom: 1.5rem;
}

.reason-option {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.reason-option:hover {
  background-color: #f9f9f9;
}

.reason-option input[type="radio"] {
  margin-right: 10px;
  cursor: pointer;
}

.reason-option label {
  cursor: pointer;
  font-weight: 500;
}

#other-reason-text {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  margin-left: 1.8rem;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  min-height: 80px;
  resize: vertical;
}

.button-group {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.cancel-modal-btn, .decline-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cancel-modal-btn {
  background-color: #f1f1f1;
  color: #333;
}

.decline-btn {
  background-color: #d4a373;
  color: white;
}

.cancel-modal-btn:hover, .decline-btn:hover {
  transform: scale(1.05);
}

/* Add styles for appointment summaries in the dashboard overview */
.appointment-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px 15px;
  background-color: #f9f9f9;
  border-left: 4px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.appointment-summary:hover {
  background-color: #f0f0f0;
  transform: translateX(2px);
}

.appointment-summary.confirmed {
  border-left-color: #4CAF50;
}

.appointment-summary.pending {
  border-left-color: #FFC107;
}

.appointment-summary.reschedule-pending {
  border-left-color: #FF5722;
}

.appointment-summary.remainder-failed {
  border-left: 4px solid #f44336;
  background-color: rgba(244, 67, 54, 0.1);
}

.appointment-summary .summary-date {
  font-weight: bold;
  min-width: 80px;
}

.appointment-summary .summary-time {
  color: #666;
  min-width: 70px;
}

.appointment-summary .summary-with {
  font-weight: 500;
  flex: 1;
  padding: 0 10px;
}

.appointment-summary .summary-style {
  color: #666;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.no-appointments {
  color: #666;
  font-style: italic;
  padding: 10px 0;
}



/* Stripe Card Styles */
.info-card, .warning-card, .success-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.info-card {
  border-left: 4px solid #4e459a;
}

.warning-card {
  border-left: 4px solid #f7b955;
  background-color: #fff9ed;
}

.success-card {
  border-left: 4px solid #52c41a;
  background-color: #f6ffed;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.benefit-icon {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.fee-info {
  background-color: #f6f6f6;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}

.fee-note {
  font-size: 0.9rem;
  color: #777;
  margin-top: 0.5rem;
}

.primary-btn, .secondary-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.primary-btn {
  background-color: #4e459a;
  color: white;
}

.primary-btn:hover {
  background-color: #3c3576;
}

.secondary-btn {
  background-color: #f7b955;
  color: #333;
}

.secondary-btn:hover {
  background-color: #f5a726;
}

.text-link {
  color: #4e459a;
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

.checkmark {
  color: #52c41a;
  margin-right: 0.5rem;
}

.payout-info, .fee-summary {
  margin-top: 1.5rem;
}

.payout-info h4, .fee-summary h4 {
  margin-bottom: 0.5rem;
  color: #333;
}

/* Warning banner for stripe account setup */
.warning-banner {
  background-color: #fff9e6;
  border: 1px solid #ffd799;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.warning-icon {
  font-size: 24px;
  margin-right: 15px;
  flex-shrink: 0;
}

.warning-content {
  flex-grow: 1;
}

.warning-content h4 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #e67e22;
  font-weight: 600;
}

.warning-content p {
  margin-bottom: 8px;
  line-height: 1.4;
  color: #555;
}

.warning-content a {
  color: #e67e22;
  text-decoration: underline;
  font-weight: 500;
}

.warning-content a:hover {
  color: #d35400;
}

/* Held funds section within warning banner */
.held-funds-section {
  margin-left: 20px;
  padding-left: 20px;
  border-left: 2px solid #ffd799;
  min-width: 150px;
  text-align: right;
}

.held-funds-info h5 {
  margin: 0 0 8px 0;
  color: #e67e22;
  font-size: 14px;
  font-weight: 600;
}

.held-amount {
  font-size: 24px;
  font-weight: 700;
  color: #27ae60;
  margin-bottom: 4px;
}

.held-funds-note {
  font-size: 12px;
  color: #777;
  margin: 0;
  font-style: italic;
}

/* Availability instructions styling */
.availability-instructions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eaeaea;
}

.availability-instructions h3 {
  color: #d4a373;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.instruction-card {
  background-color: #faf8f6;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.instruction-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.instruction-item:last-child {
  margin-bottom: 0;
}

.instruction-icon {
  font-size: 1.8rem;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #f0e6d9;
  border-radius: 50%;
  flex-shrink: 0;
}

.instruction-content {
  flex: 1;
}

.instruction-content h4 {
  color: #5c4033;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.instruction-content ol, 
.instruction-content ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.instruction-content li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.availability-tips {
  background-color: #f0f8ff;
  border-left: 4px solid #2196F3;
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
}

.availability-tips h4 {
  color: #2196F3;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.availability-tips ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.availability-tips li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.availability-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 15px; /* Add spacing between buttons */
}

.availability-actions button {
  padding: 10px 20px;
  font-size: 14px;
}

/* Add styles for instruction header and toggle button */
.instruction-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.toggle-btn {
  padding: 0.6rem 1.2rem;
  background-color: #d4a373;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.toggle-btn:hover {
  background-color: #b22222;
}

.toggle-btn.active {
  background-color: #b22222;
}

