/* Booking Details Modal */
.event-modal {
  max-width: 700px !important;
}

.modal-header-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-icon {
  width: 48px;
  height: 48px;
  background-color: #e3f2fd;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-icon i {
  width: 24px;
  height: 24px;
  color: #3498db;
}

.modal-subtitle {
  font-size: 13px;
  color: #6c757d;
  margin: 4px 0 0 0;
  font-weight: 400;
}

.booking-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.detail-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
}

.detail-section.full-width {
  grid-column: 1 / -1;
}

.detail-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
}

.booking-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.booking-detail-row label {
  font-weight: 600;
  color: #6c757d;
  font-size: 13px;
  min-width: 80px;
}

.booking-detail-row span {
  flex: 1;
  text-align: right;
  color: #2c3e50;
  font-size: 15px;
  font-weight: 500;
}

.price-tag {
  color: #27ae60 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
}

.notes-display {
  background-color: white;
  padding: 16px;
  border-radius: 6px;
  color: #495057;
  font-size: 14px;
  line-height: 1.6;
  min-height: 60px;
  border: 1px solid #e9ecef;
}

.booking-detail-actions {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 2px solid #e9ecef;
}

.booking-detail-actions .btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
}

.booking-detail-actions .btn i {
  width: 16px;
  height: 16px;
}

.clickable-event {
  cursor: pointer;
  transition: all 0.3s;
}

.clickable-event:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.notification-actions {
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.booking-notification .notification-actions {
  align-items: stretch;
}

.booking-notification .notification-action {
  width: 100%;
}

/* My Notifications Page Styles */
.notifications-container {
  max-width: 900px;
  margin: 0 auto;
}

.notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notification-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background-color: #e3f2fd;
  border-radius: 8px;
}

.stat-badge .stat-number {
  font-size: 28px;
  font-weight: bold;
  color: #1976d2;
}

.stat-badge .stat-label {
  font-size: 13px;
  color: #1976d2;
  font-weight: 500;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.notification-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.notification-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e3f2fd;
  border-radius: 50%;
}

.notification-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notification-title {
  font-size: 12px;
  font-weight: 600;
  color: #3498db;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.notification-question {
  font-size: 15px;
  color: #2c3e50;
  font-weight: 500;
  line-height: 1.4;
}

.notification-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #7f8c8d;
}

.notification-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.notification-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 20px;
  font-size: 14px;
}

.conflict-notification {
  border-left: 4px solid #e74c3c !important;
  background-color: #fff5f5 !important;
}

.conflict-details {
  margin-top: 12px;
  padding: 12px;
  background-color: white;
  border-radius: 6px;
  border: 1px solid #fee;
}

.conflict-booking {
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.6;
}

.conflict-booking.first-booking {
  color: #27ae60;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.conflict-booking.second-booking {
  color: #e74c3c;
}

.booking-notification.has-conflict {
  border-left: 4px solid #e74c3c !important;
}

.conflict-warning-banner {
  background: linear-gradient(135deg, #fff5f5 0%, #fee 100%);
  border: 2px solid #e74c3c;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.15);
}

.banner-icon {
  width: 40px;
  height: 40px;
  background-color: #e74c3c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.banner-content {
  flex: 1;
}

.banner-content strong {
  display: block;
  color: #c0392b;
  font-size: 16px;
  margin-bottom: 4px;
}

.banner-content p {
  margin: 0;
  color: #e74c3c;
  font-size: 14px;
}

.banner-close {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.banner-close:hover {
  background-color: rgba(231, 76, 60, 0.1);
}

.no-notifications {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: white;
  border-radius: 8px;
  text-align: center;
}

.no-notifications h3 {
  font-size: 20px;
  color: #2c3e50;
  margin: 0 0 8px 0;
}

.no-notifications p {
  font-size: 14px;
  color: #7f8c8d;
  margin: 0;
}

.loading-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: white;
  border-radius: 8px;
  color: #7f8c8d;
  font-size: 14px;
  gap: 12px;
}

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

/* Recently Rejected Section */
.recently-rejected-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid #e9ecef;
}

.rejected-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: #fff5f5;
  border: 1px solid #fee;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: #dc3545;
  font-size: 14px;
  transition: all 0.3s;
  user-select: none;
}

.rejected-header:hover {
  background-color: #fee;
}

.rejected-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 600px;
  overflow-y: auto;
  transition: all 0.3s;
}

.rejected-list.collapsed {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
}

.rejected-notification {
  border-left: 4px solid #dc3545 !important;
  background-color: #fff5f5 !important;
}

.rejected-notification .notification-icon {
  background-color: #fee;
}

/* Event Type Selection Modal */
.event-type-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background-color: #f8f9fa;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 15px;
  font-weight: 500;
  color: #2c3e50;
  text-align: left;
}

.event-type-option:hover {
  background-color: #e3f2fd;
  border-color: #3498db;
  transform: translateX(4px);
  color: #3498db;
}

.event-type-option i {
  color: #3498db;
}

/* Private Event, Client Booking, Edit Private Event, Edit Group Programme, and Group Programme Forms */
#privateEventForm .form-group,
#clientBookingForm .form-group,
#editPrivateEventForm .form-group,
#editGroupProgrammeForm .form-group,
#groupProgrammeForm .form-group {
  margin-bottom: 16px;
}

#privateEventForm input,
#privateEventForm textarea,
#clientBookingForm input,
#clientBookingForm textarea,
#editPrivateEventForm input,
#editPrivateEventForm textarea,
#editGroupProgrammeForm input,
#editGroupProgrammeForm textarea,
#editGroupProgrammeForm select,
#groupProgrammeForm input,
#groupProgrammeForm textarea,
#groupProgrammeForm select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#privateEventForm input:focus,
#privateEventForm textarea:focus,
#clientBookingForm input:focus,
#clientBookingForm textarea:focus,
#editPrivateEventForm input:focus,
#editPrivateEventForm textarea:focus,
#editGroupProgrammeForm input:focus,
#editGroupProgrammeForm textarea:focus,
#editGroupProgrammeForm select:focus,
#groupProgrammeForm input:focus,
#groupProgrammeForm textarea:focus,
#groupProgrammeForm select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

#privateEventForm textarea,
#clientBookingForm textarea,
#editPrivateEventForm textarea,
#editGroupProgrammeForm textarea,
#groupProgrammeForm textarea {
  resize: vertical;
}

/* Group Programme and Edit Group Programme specific styles */
#groupProgrammeForm .symbol-picker,
#editGroupProgrammeForm .symbol-picker {
  display: flex;
  align-items: center;
  gap: 16px;
}

#groupProgrammeForm .current-symbol,
#editGroupProgrammeForm .current-symbol {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e1e8ed;
  background-color: #f8f9fa;
  transition: all 0.3s;
}

#groupProgrammeForm .current-symbol:hover,
#editGroupProgrammeForm .current-symbol:hover {
  border-color: #3498db;
  transform: scale(1.05);
}

#groupProgrammeForm input[type="checkbox"],
#groupProgrammeForm input[type="radio"],
#editGroupProgrammeForm input[type="checkbox"],
#editGroupProgrammeForm input[type="radio"] {
  width: auto;
  margin: 0;
}

#groupProgrammeForm label,
#editGroupProgrammeForm label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

/* Responsive Design for Notifications */
@media (max-width: 768px) {
  .notifications-header {
    flex-direction: column;
    gap: 16px;
  }

  .notification-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .notification-action {
    width: 100%;
    justify-content: center;
  }

  .notification-actions {
    width: 100%;
    flex-direction: column !important;
  }

  .notification-actions .btn {
    width: 100%;
  }

  .booking-details-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .booking-detail-actions {
    flex-direction: column;
  }

  .modal-header-content {
    flex-direction: row;
    gap: 12px;
  }

  .modal-icon {
    width: 40px;
    height: 40px;
  }

  .modal-icon i {
    width: 20px;
    height: 20px;
  }
}

/* Booking Details Modal Styles */
.booking-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f1f3f4;
}

.booking-detail-row:last-child {
  border-bottom: none;
}

.booking-detail-row label {
  font-weight: 600;
  color: #6c757d;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 120px;
}

.booking-detail-row span {
  flex: 1;
  text-align: right;
  color: #2c3e50;
  font-size: 15px;
}

/* Booking Configuration Page Styles */
.booking-config-container {
  max-width: 1200px;
  margin: 0 auto;
}

.booking-config-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e9ecef;
}

.booking-config-header h2 {
  font-size: 24px;
  color: #2c3e50;
  margin: 0;
}

.booking-sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.booking-session-card {
  background-color: white;
  border: 2px solid #e1e8ed;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s;
}

.booking-session-card:hover {
  border-color: #3498db;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
  transform: translateY(-2px);
}

.session-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.session-title-input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: border-color 0.3s;
}

.session-title-input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.session-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.session-detail-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: #f8f9fa;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
  text-align: left;
}

.session-detail-btn:hover {
  background-color: #e3f2fd;
  border-color: #3498db;
  color: #3498db;
}

.session-detail-btn span {
  flex: 1;
}

.add-session-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background-color: #f8f9fa;
  border: 2px dashed #adb5bd;
  border-radius: 12px;
  transition: all 0.3s;
}

.add-session-card:hover {
  background-color: #e3f2fd;
  border-color: #3498db;
}

.add-session-card .btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive Design for Booking Config */
@media (max-width: 768px) {
  .booking-sessions-grid {
    grid-template-columns: 1fr;
  }

  .booking-config-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Login Page Styles */
.login-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url('/attached_assets/20220121_182207-2-2_1761746238463.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.login-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.login-container {
  position: relative;
  z-index: 2;
}

.login-container {
  width: 100%;
  max-width: 450px;
  padding: 20px;
}

.login-card {
  background-color: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
}

.login-header h1 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 8px;
}

.login-header p {
  color: #6c757d;
  font-size: 14px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-form label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

.login-form input {
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.login-form input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.login-btn {
  margin-top: 8px;
  padding: 14px 24px;
  font-size: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}

.login-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #5568d3 0%, #6a4190 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.login-footer {
  text-align: center;
  margin-top: 16px;
}

.login-footer a {
  color: #667eea;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.login-footer a:hover {
  text-decoration: underline;
}

.login-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.login-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.login-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.logout-link {
  color: #dc3545 !important;
}

.logout-link:hover {
  background-color: #fff5f5 !important;
}

/* Responsive Login Page */
@media (max-width: 768px) {
  .login-card {
    padding: 30px 24px;
  }

  .login-header h1 {
    font-size: 20px;
  }

  .login-logo {
    height: 50px;
  }
}

body {
  font-family: 'Nunito', 'Quicksand', 'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

header {
  background-color: #f8f9fa;
  color: #2c3e50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid #e9ecef;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo h1 {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
}

.main-nav li {
  flex: 1;
}

.main-nav a {
  display: block;
  color: #495057;
  text-decoration: none;
  padding: 18px 24px;
  text-align: center;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
  font-weight: 500;
}

.main-nav a:hover {
  background-color: #e9ecef;
  color: #2c3e50;
}

.main-nav a.active {
  background-color: #e9ecef;
  border-bottom-color: #3498db;
  color: #2c3e50;
}

.sub-nav-container {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid #e9ecef;
}

.sub-nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.sub-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
}

.sub-nav li {
  margin: 0;
}

.sub-nav a {
  display: block;
  color: #6c757d;
  text-decoration: none;
  padding: 14px 20px;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 500;
}

.sub-nav a:hover {
  background-color: #f8f9fa;
  color: #495057;
}

.sub-nav a.active {
  background-color: #f8f9fa;
  border-bottom-color: #3498db;
  color: #2c3e50;
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-content {
  background-color: white;
  border-radius: 8px;
  padding: 40px;
  min-height: 500px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.page-title {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #ecf0f1;
}

.hidden {
  display: none;
}

/* Contact Form Styles */
.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.hours-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.hours-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
}

.hours-row label {
  font-weight: 500;
  color: #34495e;
  font-size: 14px;
  text-align: left;
}

.hours-row input {
  padding: 10px 12px;
  border: 2px solid #e1e8ed;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

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

.form-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ecf0f1;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: #3498db;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background-color: #2980b9;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.btn-primary:disabled {
  background-color: #bdc3c7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn.loading {
  position: relative;
}

.loading-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn-secondary {
  background-color: #95a5a6;
  color: white;
}

.btn-secondary:hover {
  background-color: #7f8c8d;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(149, 165, 166, 0.3);
}

.status-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s;
}

.status-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.status-message.info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* Services Page Styles */
.services-container {
  display: flex;
  gap: 24px;
  height: calc(100vh - 200px);
  min-height: 600px;
}

.services-sidebar {
  width: 300px;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  overflow-y: auto;
}

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

.services-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background-color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

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

.service-item.active {
  border-color: #3498db;
  background-color: #e3f2fd;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon i {
  width: 20px;
  height: 20px;
  color: white;
}

.service-info {
  flex: 1;
  min-width: 0;
}

.service-title {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}

.service-type {
  font-size: 12px;
  color: #7f8c8d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.no-services {
  text-align: center;
  color: #7f8c8d;
  font-style: italic;
  padding: 40px 20px;
}

.services-main {
  flex: 1;
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  overflow-y: auto;
}

.service-editor {
  height: 100%;
}

.editor-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #7f8c8d;
  font-style: italic;
}

.service-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.symbol-picker {
  display: flex;
  align-items: center;
  gap: 16px;
}

.current-symbol {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e1e8ed;
  background-color: #f8f9fa;
  transition: all 0.3s;
}

.current-symbol:hover {
  border-color: #3498db;
  transform: scale(1.05);
}

.symbol-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.symbol-option {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
  background-color: #f8f9fa;
}

.symbol-option:hover {
  background-color: #e3f2fd;
  border-color: #3498db;
  transform: scale(1.1);
}

.icon-selector {
  display: flex;
  align-items: center;
  gap: 16px;
}

.current-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e1e8ed;
  transition: all 0.3s;
}

.current-icon i {
  width: 24px;
  height: 24px;
  color: white;
}

.current-icon:hover {
  border-color: #3498db;
  transform: scale(1.05);
}

.color-picker {
  margin-top: 8px;
}

.color-options {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  max-width: 400px;
}

.color-option {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s;
  position: relative;
}

.color-option:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.color-option.selected {
  border-color: #2c3e50;
  transform: scale(1.1);
}

.color-option.selected::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.service-form select {
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  background-color: white;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.service-form select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.service-form textarea {
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.service-form textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.contact-form input[type="url"] {
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input[type="url"]:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.btn-danger {
  background-color: #e74c3c;
  color: white;
}

.btn-danger:hover {
  background-color: #c0392b;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e1e8ed;
  background-color: #f8f9fa;
}

.modal-header h3 {
  margin: 0;
  color: #2c3e50;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #7f8c8d;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.close-btn:hover {
  background-color: #e1e8ed;
  color: #2c3e50;
}

.modal-body {
  padding: 24px;
  max-height: 60vh;
  overflow-y: auto;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.modal-actions .btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 15px;
}

.icon-search-container {
  position: relative;
  margin-bottom: 20px;
}

.icon-search-input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-color: white;
}

.icon-search-input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #6c757d;
  pointer-events: none;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.icon-option {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
  background-color: #f8f9fa;
}

.icon-option i {
  width: 24px;
  height: 24px;
  color: #2c3e50;
}

.icon-option:hover {
  background-color: #e3f2fd;
  border-color: #3498db;
  transform: scale(1.1);
}

.no-icons {
  grid-column: 1 / -1;
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 40px 20px;
  font-size: 16px;
}

/* Package and Testimonial Cards */
.package-card,
.testimonial-card {
  background-color: #f8f9fa;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
}

.package-header,
.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e1e8ed;
}

.package-header h4,
.testimonial-header h4 {
  margin: 0;
  color: #2c3e50;
  font-size: 16px;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  background-color: #f8d7da;
}

.btn-icon i {
  width: 18px;
  height: 18px;
  color: #e74c3c;
}

.package-input,
.testimonial-input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.package-input:focus,
.testimonial-input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.pricing-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.pricing-item {
  background-color: white;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #e1e8ed;
}

.pricing-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
}

.pricing-input {
  padding: 8px 12px;
  border: 1px solid #e1e8ed;
  border-radius: 4px;
  font-size: 13px;
  transition: border-color 0.3s;
}

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

.service-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
}

/* Social Media Page Styles */
.contact-form input[type="url"] {
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input[type="url"]:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
    height: auto;
  }

  .services-sidebar {
    width: 100%;
    order: 2;
  }

  .services-main {
    order: 1;
  }

  .hours-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hours-row label {
    text-align: left;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .color-options {
    grid-template-columns: repeat(4, 1fr);
  }

  .icon-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .pricing-fields {
    grid-template-columns: 1fr;
  }

  .pricing-fields .btn-icon {
    width: 100%;
    justify-content: center;
  }
}

/* Blog Page Styles */
.blog-container {
  display: flex;
  gap: 24px;
  height: calc(100vh - 200px);
  min-height: 600px;
}

.blog-sidebar {
  width: 300px;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  overflow-y: auto;
}

.blog-main {
  flex: 1;
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  overflow-y: auto;
}

.blog-editor {
  height: 100%;
}

.blog-form-container {
  max-width: none;
}

.blog-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.blog-form-left,
.blog-form-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-form select {
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 16px;
  background-color: white;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.blog-form select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.blog-form input[type="text"],
.blog-form input[type="file"],
.blog-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.blog-form input[type="text"]:focus,
.blog-form input[type="file"]:focus,
.blog-form textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.blog-form textarea {
  resize: vertical;
  min-height: 100px;
}

.rich-text-editor {
  min-height: 400px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  background-color: white;
}

.rich-text-editor .ql-toolbar {
  border-top: 1px solid #e1e8ed;
  border-left: 1px solid #e1e8ed;
  border-right: 1px solid #e1e8ed;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
}

.rich-text-editor .ql-container {
  border-bottom: 1px solid #e1e8ed;
  border-left: 1px solid #e1e8ed;
  border-right: 1px solid #e1e8ed;
  border-top: none;
  border-radius: 0 0 6px 6px;
  font-size: 16px;
}

.rich-text-editor .ql-editor {
  min-height: 350px;
  padding: 16px;
}

.rich-text-editor .ql-editor.ql-blank::before {
  color: #7f8c8d;
  font-style: italic;
  left: 16px;
  right: 16px;
}

/* Responsive Design for Blog */
@media (max-width: 1024px) {
  .blog-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-form-left,
  .blog-form-right {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .blog-container {
    flex-direction: column;
    height: auto;
  }

  .blog-sidebar {
    width: 100%;
    order: 2;
  }

  .blog-main {
    order: 1;
  }

  .rich-text-editor {
    min-height: 300px;
  }

  .rich-text-editor .ql-editor {
    min-height: 250px;
  }
}

/* QnA Forum Page Styles */
.qna-container {
  display: flex;
  gap: 24px;
  height: calc(100vh - 200px);
  min-height: 600px;
}

.qna-sidebar {
  width: 320px;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qna-main {
  flex: 1;
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  overflow-y: auto;
}

.qna-editor {
  height: 100%;
}

.qna-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: #7f8c8d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qna-form-container {
  max-width: none;
}

.qna-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qna-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.qna-form-left,
.qna-form-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qna-form textarea[readonly],
.qna-form input[readonly] {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  border-color: #e9ecef;
}

.qna-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
}

.status-badge {
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.unanswered {
  background-color: #f8d7da;
  color: #721c24;
}

.status-badge.answered {
  background-color: #d4edda;
  color: #155724;
}

.helpful-count {
  color: #6c757d;
  font-size: 11px;
}

.qna-datetime {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}

.qna-date {
  font-size: 11px;
  color: #6c757d;
  font-weight: 500;
}

.qna-time {
  font-size: 10px;
  color: #adb5bd;
}

.qna-category {
  font-size: 11px;
  color: #3498db;
  font-weight: 500;
  margin-top: 2px;
}

.qna-answered-section {
  margin-top: 16px;
  border-top: 1px solid #e9ecef;
  padding-top: 16px;
}

.answered-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background-color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  color: #2c3e50;
  font-size: 13px;
  transition: all 0.3s;
  user-select: none;
}

.answered-header:hover {
  background-color: #e9ecef;
}

.answered-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
  transition: all 0.3s;
}

.answered-list.collapsed {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
}

.qna-display {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qna-question-display {
  padding: 16px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #3498db;
  font-size: 16px;
  color: #2c3e50;
  line-height: 1.6;
}

.qna-answer-display {
  padding: 16px;
  background-color: #e8f5e9;
  border-radius: 8px;
  border-left: 4px solid #27ae60;
  font-size: 15px;
  color: #2c3e50;
  line-height: 1.6;
  white-space: pre-wrap;
}

.qna-meta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.qna-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qna-meta-item label {
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qna-meta-item span {
  font-size: 14px;
  color: #2c3e50;
}

.status-badge.asked {
  background-color: #e3f2fd;
  color: #1976d2;
}

/* Categories Page Styles */
.categories-page-container {
  margin-bottom: 24px;
}

.categories-sub-nav {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 8px;
  border: 1px solid #e9ecef;
}

.categories-sub-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.categories-sub-nav li {
  margin: 0;
}

.categories-sub-nav-link {
  display: block;
  color: #6c757d;
  text-decoration: none;
  padding: 10px 20px;
  transition: all 0.3s;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.categories-sub-nav-link:hover {
  background-color: #e9ecef;
  color: #495057;
}

.categories-sub-nav-link.active {
  background-color: #3498db;
  color: white;
}

.categories-content {
  margin-top: 24px;
}

/* Responsive Design for QnA */
@media (max-width: 1024px) {
  .qna-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .qna-form-left,
  .qna-form-right {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .qna-container {
    flex-direction: column;
    height: auto;
  }

  .qna-sidebar {
    width: 100%;
    order: 2;
  }

  .qna-main {
    order: 1;
  }

  .qna-stats {
    flex-direction: row;
    justify-content: space-around;
  }

  .stat-item {
    flex: 1;
  }
}

/* My Availability Page Styles */
.availability-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.availability-container {
  display: flex;
  gap: 24px;
  min-height: 600px;
}

/* Status Sidebar */
.availability-sidebar {
  width: 280px;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.status-card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.status-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.status-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d4edda;
}

.status-icon.open {
  background-color: #d4edda;
}

.status-icon.closed {
  background-color: #f8d7da;
}

.status-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 4px 0;
}

.status-info p {
  font-size: 12px;
  color: #6c757d;
  margin: 0;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.open {
  background-color: #d4edda;
  color: #155724;
}

.status-badge.closed {
  background-color: #f8d7da;
  color: #721c24;
}

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-action-btn {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #e1e8ed;
  border-radius: 6px;
  background-color: white;
  color: #495057;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 13px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-action-btn:hover {
  background-color: #f8f9fa;
  border-color: #3498db;
  color: #3498db;
  transform: translateX(4px);
}

.quick-action-btn.danger {
  color: #dc3545;
}

.quick-action-btn.danger:hover {
  background-color: #fff5f5;
  border-color: #dc3545;
}

.quick-action-btn.warning {
  color: #ffc107;
}

.quick-action-btn.warning:hover {
  background-color: #fffbf0;
  border-color: #ffc107;
}

.save-notice {
  padding: 12px;
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
  font-size: 12px;
  color: #856404;
  text-align: center;
}

/* Main Content Area */
.availability-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.availability-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.availability-section {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section-header {
  background-color: #f8f9fa;
  padding: 16px 20px;
  border-bottom: 2px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.section-subtitle {
  font-size: 12px;
  color: #6c757d;
  margin-top: 2px;
}

.table-container {
  overflow-x: auto;
}

.availability-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.availability-table th {
  background-color: #fafbfc;
  color: #495057;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.availability-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f3f4;
  vertical-align: middle;
}

.availability-table tbody tr {
  transition: background-color 0.2s;
}

.availability-table tbody tr:hover {
  background-color: #f8f9fa;
}

.availability-table tbody tr:last-child td {
  border-bottom: none;
}

/* Closed/Disabled States */
.closed-day,
.closed {
  background-color: #f8f9fa;
}

.closed-day td,
.closed td {
  color: #adb5bd;
}

/* Form Controls */
.day-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #3498db;
}

.time-input {
  padding: 8px 12px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s;
  width: 100%;
  max-width: 110px;
  font-family: inherit;
}

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

.time-input:disabled {
  background-color: #f8f9fa;
  color: #adb5bd;
  cursor: not-allowed;
  border-color: #e9ecef;
}

/* Action Buttons */
.action-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background-color: white;
  color: #495057;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
}

.action-btn:hover:not(:disabled) {
  background-color: #f8f9fa;
  border-color: #adb5bd;
  transform: translateY(-1px);
}

.action-btn:disabled {
  background-color: #f8f9fa;
  color: #adb5bd;
  cursor: not-allowed;
  border-color: #e9ecef;
}

.add-btn {
  color: #28a745;
  border-color: #28a745;
}

.add-btn:hover:not(:disabled) {
  background-color: #d4edda;
  border-color: #28a745;
}

.remove-btn {
  color: #dc3545;
  border-color: #dc3545;
}

.remove-btn:hover:not(:disabled) {
  background-color: #f8d7da;
  border-color: #dc3545;
}

/* Custom Date Section */
.add-custom-date {
  padding: 16px 20px;
  border-top: 1px solid #e9ecef;
  background-color: #fafbfc;
  text-align: center;
}

.add-date-btn {
  background: none;
  border: 2px dashed #adb5bd;
  color: #6c757d;
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 13px;
}

.add-date-btn:hover {
  border-color: #3498db;
  color: #3498db;
  background-color: #e3f2fd;
}

.day-name-cell {
  font-weight: 600;
  color: #2c3e50;
}

.date-cell {
  font-weight: 500;
  color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .availability-container {
    flex-direction: column;
  }

  .availability-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .status-card,
  .quick-actions,
  .save-notice {
    flex: 1;
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .availability-sidebar {
    flex-direction: column;
  }

  .availability-actions {
    flex-direction: column;
  }

  .availability-table {
    font-size: 12px;
  }

  .availability-table th,
  .availability-table td {
    padding: 8px 12px;
  }

  .time-input {
    max-width: 90px;
    font-size: 13px;
    padding: 6px 10px;
  }

  .action-btn {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* My Calendar Page Styles */
.calendar-container {
  max-width: 100%;
  margin: 0 auto;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  flex-wrap: wrap;
  gap: 16px;
}

.calendar-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calendar-controls .btn {
  padding: 8px 12px;
  min-width: 40px;
}

.current-period {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  min-width: 200px;
  text-align: center;
}

.calendar-views {
  display: flex;
  gap: 8px;
  background-color: white;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.view-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: none;
  background: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
}

.view-btn:hover {
  background-color: #f8f9fa;
  color: #2c3e50;
}

.view-btn.active {
  background-color: #3498db;
  color: white;
}

.view-btn i {
  width: 16px;
  height: 16px;
}

.calendar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.calendar-actions .btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-content {
  background-color: white;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  min-height: 600px;
  overflow: hidden;
}

/* Day View Styles */
.day-view {
  height: 100%;
}

.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e9ecef;
  background-color: #f8f9fa;
}

.day-date {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
}

.day-events-count {
  font-size: 14px;
  color: #6c757d;
}

.day-timeline {
  height: calc(100% - 80px);
  overflow-y: auto;
}

.timeline-hour {
  display: flex;
  border-bottom: 1px solid #f1f3f4;
  min-height: 60px;
}

.hour-label {
  width: 80px;
  padding: 8px 12px;
  font-size: 12px;
  color: #6c757d;
  background-color: #f8f9fa;
  border-right: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.hour-events {
  flex: 1;
  padding: 4px 8px;
  position: relative;
}

.event-item {
  padding: 4px 8px;
  margin: 2px 0;
  border-radius: 4px;
  color: white;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.event-item:hover {
  transform: translateX(4px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.event-time {
  font-weight: 600;
  margin-bottom: 2px;
}

.event-title {
  font-weight: 500;
}

/* Week View Styles */
.week-view {
  height: 100%;
}

.week-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.week-day-header {
  padding: 16px 8px;
  text-align: center;
  border-right: 1px solid #e9ecef;
}

.week-day-header.today {
  background-color: #e3f2fd;
  color: #1976d2;
}

.day-name {
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.day-number {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  height: calc(100% - 80px);
}

.week-day {
  border-right: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  padding: 8px;
  overflow-y: auto;
}

.day-events {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.week-day .event-time {
  color: white;
  font-weight: 600;
  font-size: 11px;
}

.week-day .event-title {
  color: white;
  font-size: 12px;
}

.day-timeline .event-time {
  color: white;
  font-weight: 600;
  font-size: 12px;
}

.day-timeline .event-title {
  color: white;
  font-size: 13px;
}

/* Month View Styles */
.month-view {
  height: 100%;
}

.month-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.month-day-header {
  padding: 16px 8px;
  text-align: center;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  font-size: 12px;
  border-right: 1px solid #e9ecef;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  height: calc(100% - 60px);
}

.month-day {
  border-right: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  padding: 8px;
  min-height: 120px;
  position: relative;
  background-color: white;
}

.month-day.empty {
  background-color: #f8f9fa;
}

.month-day.today {
  background-color: #e3f2fd;
}

.month-day.today .day-number {
  background-color: #3498db;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.day-number {
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 8px;
}

.month-day .day-events {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.month-day .event-item {
  font-size: 11px;
  padding: 2px 6px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.more-events {
  font-size: 10px;
  color: #6c757d;
  font-style: italic;
  margin-top: 2px;
}

/* Agenda View Styles */
.agenda-view {
  height: 100%;
  overflow-y: auto;
}

.agenda-list {
  padding: 20px;
}

.agenda-date-group {
  margin-bottom: 24px;
}

.agenda-date {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e9ecef;
}

.agenda-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.agenda-event {
  display: flex;
  gap: 16px;
  padding: 12px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #3498db;
  transition: all 0.3s;
}

.agenda-event:hover {
  background-color: #e9ecef;
  transform: translateX(4px);
}

.event-time {
  font-size: 14px;
  font-weight: 600;
  color: #3498db;
  min-width: 80px;
}

.event-details {
  flex: 1;
}

.event-details .event-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 4px;
}

.event-details .event-description {
  font-size: 14px;
  color: #6c757d;
}

.no-events {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 40px 20px;
  font-size: 16px;
}

/* Calendar Loader */
.calendar-loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  flex-direction: column;
  gap: 16px;
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
}

.loader::before,
.loader::after {    
  content:"";
  grid-area: 1/1;
  --c:no-repeat radial-gradient(farthest-side,#333333 92%,#0000);
  background: 
    var(--c) 50%  0, 
    var(--c) 50%  100%, 
    var(--c) 100% 50%, 
    var(--c) 0    50%;
  background-size: 12px 12px;
  animation: l12 1s infinite;
}

.loader::before {
  margin: 4px;
  filter: hue-rotate(45deg);
  background-size: 8px 8px;
  animation-timing-function: linear
}

@keyframes l12 { 
  100%{transform: rotate(.5turn)}
}

.loader-text {
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
}

/* Responsive Design for Calendar */
@media (max-width: 1024px) {
  .calendar-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .calendar-controls {
    justify-content: center;
  }

  .calendar-views {
    justify-content: center;
  }

  .calendar-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .calendar-header {
    padding: 16px;
  }

  .current-period {
    font-size: 18px;
    min-width: auto;
  }

  .calendar-views {
    flex-wrap: wrap;
    justify-content: center;
  }

  .view-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .view-btn i {
    width: 14px;
    height: 14px;
  }

  .week-header,
  .week-grid,
  .month-header,
  .month-grid {
    font-size: 12px;
  }

  .month-day {
    min-height: 80px;
    padding: 4px;
  }

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

  .month-day .event-item {
    font-size: 10px;
    padding: 1px 4px;
  }

  .agenda-event {
    flex-direction: column;
    gap: 8px;
  }

  .event-time {
    min-width: auto;
    font-size: 12px;
  }
}