/* Base Variables */
:root {
  --tutor-primary: #1e90ff;
  --student-primary: #10b981;
  --bg: #f4f5f7;
  --text: #1f2937;
  --radius: 6px;
  --transition: 0.3s;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 2.2rem 2.2rem 1.5rem 2.2rem;
  border-radius: 18px;
  width: 95%;
  max-width: 420px;
  box-shadow: 0 8px 32px rgba(30,144,255,0.13), 0 2px 10px rgba(0,0,0,0.08);
  max-height: 85vh;
  overflow-y: auto;
  border: 1.5px solid #e3eaf7;
  position: relative;
  animation: modalPop 0.22s cubic-bezier(.4,1.6,.6,1) 1;
}

@keyframes modalPop {
  0% { transform: scale(0.95) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

#booking-modal-content h2 {
  color: var(--primary);
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 0.7em;
  text-align: center;
}

#booking-modal-content button[type="submit"] {
  background: linear-gradient(90deg, var(--primary), #4fb3d9);
  color: white;
  font-size: 1.1em;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.7em 2em;
  box-shadow: 0 2px 8px rgba(30,144,255,0.15);
  cursor: pointer;
  margin: 1.2em auto 0 auto;
  display: block;
  transition: all 0.2s;
}

#booking-modal-content button[type="submit"]:hover {
  background: linear-gradient(90deg, #1c7ed6, var(--primary));
  box-shadow: 0 4px 16px rgba(30,144,255,0.18);
  transform: translateY(-2px) scale(1.03);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
}

#profile-setup-form button {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  margin-top: 1rem;
}

.form-group input[type="date"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* Tab buttons */
.tab-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e1e5e9;
  background: white;
  color: #666;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* View-specific overrides */
body.tutor-view {
  --primary: var(--tutor-primary);
}
body.student-view {
  --primary: var(--student-primary);
}
body.events-view {
  --primary: #667eea; /* Purple theme for events */
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main content should grow to push footer down */
.content {
  flex: 1;
}

/* Top navigation bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary);
  padding: 0.75rem 1rem;
  color: #fff;
}

.top-bar .center-group {
  display: flex;
  align-items: center;
}

.top-bar .left-group select,
.top-bar .right-group button,
.top-bar .center-group button {
  padding: 0.4rem 0.6rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
}

.top-bar .left-group select {
  background: #fff;
  color: var(--text);
}

.top-bar .right-group button,
.top-bar .center-group button {
  background: #ffffff55;
  margin-right: 1rem;
}

.top-bar .right-group button:hover,
.top-bar .center-group button:hover,
.top-bar .left-group select:hover {
  background: #ffffff80;
}

/* My Slots button specific styling */
#my-slots-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  background: #ffffff22;
  border: 2px solid #ffffff44;
  color: white;
  transition: all 0.3s ease;
}

#my-slots-btn:hover {
  background: #ffffff33;
  border-color: #ffffff66;
  transform: translateY(-1px);
}

.my-slots-icon {
  font-size: 1.1em;
}

/* My Stats button specific styling */
#my-stats-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  background: #ffffff22;
  border: 2px solid #ffffff44;
  color: white;
  transition: all 0.3s ease;
}

#my-stats-btn:hover {
  background: #ffffff33;
  border-color: #ffffff66;
  transform: translateY(-1px);
}

.my-stats-icon {
  font-size: 1.1em;
}

.top-bar #current-role {
  margin-right: 0.75rem;
  font-weight: bold;
}

.top-bar #profile-pic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

/* Main content outline */
.content {
  max-width: 100%;
  margin: 0;
  padding: 0.25rem;
  min-height: calc(100vh - 80px); /* Account for top bar */
}

.hero {
  text-align: center;
  padding: 3rem 2rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
}

.hero h1 {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 700;
}

.hero p {
  color: #666;
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* ...existing code... */

.tutor-section {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: none;
  margin: 0;
  width: 100%;
}

/* Override hero styling when combined with tutor-section */
.hero.tutor-section {
  max-width: none;
  width: 100%;
  margin: 0;
}


/* Centered and modern slot form */
.centered-slot-form {
  max-width: 740px;
  min-width: 350px;
  margin: 2.5rem auto 1.5rem auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(30,144,255,0.10), 0 1.5px 8px rgba(0,0,0,0.07);
  padding: 2.2rem 2.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
.centered-slot-form form {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

#specific-subject-container {
  display: none;
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 10;
}

#specific-subject {
  width: 100%;
  min-width: 300px;
  max-width: 600px;
  box-sizing: border-box;
  font-size: 1.05em;
  padding: 0.55rem 0.7rem;
  border: 1.5px solid #e3eaf7;
  border-radius: 7px;
  background: #f8fafc;
  transition: border 0.2s;
}

#specific-subject:focus {
  border-color: var(--primary);
  outline: none;
}
@media (max-width: 900px) {
  .centered-slot-form {
    max-width: 98vw;
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
  .centered-slot-form form {
    max-width: 98vw;
  }
  #specific-subject-container, #specific-subject {
    max-width: 98vw;
    min-width: 0;
  }
}
}

.centered-slot-form form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.centered-slot-form .form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.centered-slot-form label {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.centered-slot-form select,
.centered-slot-form input[type="text"],
.centered-slot-form input[type="date"],
.centered-slot-form input[type="file"],
.centered-slot-form input[type="number"] {
  padding: 0.55rem 0.7rem;
  border: 1.5px solid #e3eaf7;
  border-radius: 7px;
  font-size: 1rem;
  background: #f8fafc;
  transition: border 0.2s;
}

.centered-slot-form select:focus,
.centered-slot-form input:focus {
  border-color: var(--primary);
  outline: none;
}

.centered-slot-form .add-slot-btn {
  background: linear-gradient(90deg, var(--primary), #4fb3d9);
  color: white;
  font-size: 1.1em;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.7em 2em;
  box-shadow: 0 2px 8px rgba(30,144,255,0.15);
  cursor: pointer;
  margin: 1.2em auto 0 auto;
  display: block;
  transition: all 0.2s;
}

.centered-slot-form .add-slot-btn:hover {
  background: linear-gradient(90deg, #1c7ed6, var(--primary));
  box-shadow: 0 4px 16px rgba(30,144,255,0.18);
  transform: translateY(-2px) scale(1.03);
}

.centered-slot-form .date-warning {
  color: #ff4444;
  display: none;
  font-size: 0.95em;
  margin-top: 0.3em;
}

/* Custom calendar styles */
#custom-calendar-container {
  width: 100%;
  margin: 0.2rem 0 0.5rem 0;
  display: flex;
  justify-content: center;
}

.custom-calendar {
  background: #f8fafc;
  border: 1.5px solid #e3eaf7;
  border-radius: 10px;
  padding: 0.7rem 0.7rem 0.5rem 0.7rem;
  box-shadow: 0 2px 8px rgba(30,144,255,0.07);
  font-size: 1rem;
  min-width: 250px;
  max-width: 100%;
}
.custom-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.custom-calendar-header button {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.2em;
  cursor: pointer;
  padding: 0 0.5em;
  transition: color 0.2s;
}
.custom-calendar-header button:hover {
  color: #1c7ed6;
}
.custom-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2em;
  margin-bottom: 0.2em;
}
.custom-calendar-day,
.custom-calendar-date {
  text-align: center;
  padding: 0.3em 0;
  border-radius: 5px;
  font-size: 0.98em;
}
.custom-calendar-day {
  font-weight: 600;
  color: #888;
}
.custom-calendar-date {
  cursor: pointer;
  background: none;
  transition: background 0.15s, color 0.15s;
}
.custom-calendar-date:hover {
  background: var(--primary);
  color: #fff;
}
.custom-calendar-date.selected {
  background: #1e90ff;
  color: #fff;
  font-weight: 600;
}
.custom-calendar-date.disabled {
  color: #bbb;
  background: #f0f0f0;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .centered-slot-form {
    max-width: 98vw;
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
  .custom-calendar {
    min-width: 180px;
    font-size: 0.95rem;
  }
}

#building-input {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  width: 100%;
}

#building-select-container {
  margin: 10px 0;
}

#building-select,
#room-select {
  margin: 5px 0;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

.subject-levels {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  background: white;
}

.subject-levels label {
  display: block;
  padding: 5px 0;
  cursor: pointer;
}

.subject-levels label:hover {
  background: var(--bg);
}

.subject-levels input[type="checkbox"] {
  margin-right: 8px;
}
.time-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.time-input {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.time-input label {
  font-size: 0.9rem;
  color: var(--text);
}

.time-input input[type="time"] {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  width: 100%;
}

Users\adity\Downloads\peertutoring\style.css
.student-filters {
  margin: 2rem 0;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Search Container */
.search-container {
  position: relative;
  width: 100%;
  max-width: 500px;
}

#tutor-search-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#tutor-search-input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
}

#tutor-search-input::placeholder {
  color: #999;
  font-style: italic;
}

/* Search Suggestions Dropdown */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #e1e5e9;
  border-top: none;
  border-radius: 0 0 12px 12px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.search-suggestions.show {
  display: block;
}

.suggestion-item {
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.suggestion-item:hover,
.suggestion-item.highlighted {
  background-color: #f8f9fa;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-category {
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.suggestion-text {
  flex: 1;
}

.suggestion-match {
  font-weight: 600;
  color: var(--primary);
}

/* Legacy select styles for backwards compatibility */
.student-filters select {
  padding: 0.75rem 1rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  min-width: 180px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.student-filters select:focus,
.student-filters select:hover {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

/* Mobile responsive search */
@media (max-width: 600px) {
  .search-container {
    max-width: 100%;
  }
  
  #tutor-search-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }
  
  .suggestion-item {
    padding: 0.625rem 1rem;
    font-size: 0.9rem;
  }
  
  .suggestion-category {
    font-size: 0.75rem;
  }
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.available-slot-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.available-slot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: var(--primary);
}

.available-slot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #4fb3d9);
}

/* Add these styles at the end of your CSS file */
.loading, .error, .no-slots {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 500px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
}

.loading {
  color: var(--primary);
  font-size: 1.1rem;
}

.error {
  color: #dc3545;
  background: #fff5f5;
  border-color: #fed7d7;
}

.no-slots {
  color: #666;
  font-style: italic;
  font-size: 1.05rem;
}

/* Disable form elements during submission */
form:disabled {
  opacity: 0.7;
  pointer-events: none;
}

.available-slot-card p {
  margin: 0.4rem 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.4;
}

.available-slot-card .tutor-info {
  margin-bottom: 1rem;
}

.available-slot-card .tutor-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.3rem;
}

.available-slot-card .subject {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
}

.available-slot-card .slot-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.available-slot-card .detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

.available-slot-card .detail-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.available-slot-card button {
  background: linear-gradient(135deg, var(--primary), #4fb3d9);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
  align-self: stretch;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
}

.available-slot-card button:hover {
  background: linear-gradient(135deg, #1c7ed6, var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.4);
}
.info-icon {
  font-size: 14px;
  color: #666;
  cursor: help;
  font-style: normal;
  margin-left: 4px;
}

.info-icon:hover {
  color: var(--primary);
}

.math-instruction {
  margin-bottom: 12px;
  color: #666;
  font-size: 0.9rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}
@media (min-width: 480px) {
  #building-input {
    grid-column: span 1;
  }
}

.add-slot-form select,
.add-slot-form input,
.add-slot-form button {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
}

.add-slot-form button {
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
}

#slots-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slot-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
}

.slot-card button {
  background: #ff4444;
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  cursor: pointer;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .content {
    padding: 0.5rem;
  }
  
  .tutor-section {
    padding: 1rem;
    margin: 0.5rem;
  }
  
  .slots-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
  }
  
  .available-slot-card {
    min-height: 160px;
    padding: 1.25rem;
  }
  
  .student-filters {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
  }
  
  .student-filters select {
    min-width: 100%;
    max-width: 300px;
  }
  
  .top-bar {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }
  
  .top-bar .right-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .available-slot-card {
    padding: 1rem;
    min-height: 140px;
  }
  
  .available-slot-card .tutor-name {
    font-size: 1.1rem;
  }
}

/* New styles for profile setup and settings */

.subject-checkboxes {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  padding: 0.5rem;
  background: #f9f9f9;
}

/* Stylish subject checkboxes */
.stylish-checkboxes .subject-category-section {
  margin-bottom: 1.2rem;
}
.stylish-checkboxes .subject-category-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--primary);
  border-bottom: 1px solid #eee;
  padding-bottom: 0.3rem;
  font-size: 1.08em;
  letter-spacing: 0.01em;
}
.stylish-checkboxes .subject-item {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.25em 0.5em 0.25em 0;
  border-radius: 5px;
  transition: background 0.2s;
  font-size: 1em;
  cursor: pointer;
}
.stylish-checkboxes .subject-item:hover {
  background: #e6f0fa;
}
.stylish-checkboxes .subject-item input[type="checkbox"] {
  accent-color: var(--primary);
  width: 1.1em;
  height: 1.1em;
  margin: 0;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(30,144,255,0.08);
}
.stylish-checkboxes .subject-item label {
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}

/* Subtext for never checkboxes */
.never-checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-top: 0.2em;
}
.never-subtext {
  color: #888;
  font-size: 0.93em;
  margin-left: 0.2em;
}
.subtext {
  color: #888;
  font-size: 0.93em;
  font-weight: 400;
  margin-left: 0.2em;
}

.subject-category-section {
  margin-bottom: 1rem;
}

.subject-category-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--primary);
  border-bottom: 1px solid #eee;
  padding-bottom: 0.3rem;
}

.subject-item {
  display: block;
  padding: 0.3rem 0;
  cursor: pointer;
}

.subject-item:hover {
  background: #e9e9e9;
  border-radius: 3px;
}

.subject-item input[type="checkbox"] {
  margin-right: 0.5rem;
}

.settings-tabs {
  display: flex;
  margin-bottom: 1rem;
  border-bottom: 2px solid #eee;
}

.tab-button {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.tab-button.active {
  border-bottom-color: var(--primary);
  color: var(--primary);
  font-weight: bold;
}

.tab-button:hover {
  background: #f5f5f5;
}

.settings-tab-content button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  margin-top: 1rem;
}

/* My Slots Panel Styling */
.slots-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  pointer-events: none;
}

.slots-panel.open {
  display: flex;
  pointer-events: all;
}

.slots-panel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slots-panel.open .slots-panel-overlay {
  opacity: 1;
}

.slots-panel-content {
  position: relative;
  background: white;
  width: 450px;
  height: 100%;
  margin-left: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.slots-panel.open .slots-panel-content {
  transform: translateX(0);
}

.slots-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e5e7eb;
  background: var(--primary);
  color: white;
}

.slots-panel-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.close-panel-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.close-panel-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.slots-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
}

.slots-section {
  margin-bottom: 2.5rem;
}

.slots-section:last-child {
  margin-bottom: 0;
}

.slots-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid #f3f4f6;
  padding-bottom: 0.5rem;
}

.section-icon {
  font-size: 1.5rem;
}

.slots-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slots-loading {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
  font-style: italic;
}

.slot-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.slot-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.slot-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.slot-subject {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.slot-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.slot-status.upcoming {
  background: #dbeafe;
  color: #1e40af;
}

.slot-status.completed {
  background: #dcfce7;
  color: #166534;
}

.slot-status.cancelled {
  background: #fee2e2;
  color: #dc2626;
}

.slot-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.slot-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.slot-detail-icon {
  font-size: 0.9rem;
  width: 16px;
}

.slot-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.slot-action-btn {
  padding: 0.4rem 0.8rem;
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.slot-action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.slot-action-btn.primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.slot-action-btn.primary:hover {
  background: #1c7ed6;
}

.slot-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: #6b7280;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-state h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.empty-state p {
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.empty-action-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.empty-action-btn:hover {
  background: #1c7ed6;
  transform: translateY(-1px);
}

.tutor-section {
  max-width: 600px;
  margin: auto;
  padding: 1em;
}
.subject-filters select {
  width: 100%;
  margin-bottom: 0.5em;
}
@media (max-width: 600px) {
  .tutor-section {
    padding: 0.5em;
  }
  h2 {
    font-size: 1.2em;
    padding: 0.5em;
  }
}
/* Mobile responsive design */
@media (max-width: 768px) {
  .top-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .top-bar .center-group {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
  
  #my-slots-btn {
    width: 100%;
    justify-content: center;
  }
  
  .slots-panel-content {
    width: 100%;
    height: 100%;
  }
  
  .slots-panel-body {
    padding: 1rem;
  }
  
  .slot-item {
    padding: 1rem;
  }
  
  .slot-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .slots-panel-header {
    padding: 1rem;
  }
  
  .slots-panel-header h2 {
    font-size: 1.3rem;
  }
  
  .slot-item-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .slot-actions {
    flex-direction: column;
  }
  
  .slot-action-btn {
    text-align: center;
  }
}

/* ===== ADMIN PANEL STYLES ===== */
.admin-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
  max-width: 1400px;
  margin: 0 auto;
}

.admin-header {
  text-align: center;
  margin-bottom: 2rem;
  color: white;
}

.admin-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.admin-subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
  font-weight: 400;
}

.admin-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 1.2rem 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.view-selector {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem;
  border-radius: 12px;
}

.view-btn {
  padding: 0.7rem 1.5rem;
  border: none;
  background: transparent;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.view-btn.active {
  background: white;
  color: #667eea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.nav-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.period-display {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  min-width: 200px;
  text-align: center;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

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

.stat-icon {
  font-size: 3rem;
  line-height: 1;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #667eea;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.chart-container {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.chart-container h3 {
  color: #667eea;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #667eea;
  padding-bottom: 0.5rem;
}

.chart {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chart-bar-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chart-label {
  min-width: 120px;
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

.chart-bar-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chart-bar {
  height: 30px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 6px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.chart-bar:hover {
  transform: scaleY(1.1);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.chart-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.chart-value {
  font-weight: 700;
  color: #667eea;
  min-width: 40px;
  text-align: right;
}

.admin-tables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 1.5rem;
}

.table-container {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.table-container h3 {
  color: #667eea;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #667eea;
  padding-bottom: 0.5rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table thead {
  background: linear-gradient(90deg, #667eea, #764ba2);
  color: white;
}

.admin-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}

.admin-table tbody tr {
  transition: all 0.2s ease;
}

.admin-table tbody tr:hover {
  background: #f8f9ff;
  transform: scale(1.01);
}

.subject-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.timeline-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 250px;
  padding: 1rem 0;
  border-bottom: 2px solid #e0e0e0;
}

.timeline-bar {
  flex: 1;
  background: linear-gradient(180deg, #667eea, #764ba2);
  border-radius: 8px 8px 0 0;
  min-height: 5px;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.timeline-bar:hover {
  background: linear-gradient(180deg, #5568d3, #653a91);
  transform: scaleY(1.05);
}

.timeline-label {
  display: flex;
  justify-content: space-around;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
  font-weight: 600;
}

.empty-data {
  text-align: center;
  padding: 3rem;
  color: #999;
  font-style: italic;
}

.empty-data-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Responsive Admin Panel */
@media (max-width: 768px) {
  .admin-section {
    padding: 1rem;
  }
  
  .admin-header h1 {
    font-size: 2rem;
  }
  
  .admin-controls {
    flex-direction: column;
    gap: 1rem;
  }
  
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-charts {
    grid-template-columns: 1fr;
  }
  
  .admin-tables {
    grid-template-columns: 1fr;
  }
  
  .period-display {
    font-size: 1.1rem;
    min-width: 150px;
  }
}

@media (max-width: 480px) {
  .stat-card {
    padding: 1.5rem 1rem;
  }
  
  .stat-icon {
    font-size: 2.5rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .view-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .chart-label {
    min-width: 80px;
    font-size: 0.8rem;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 0.7rem 0.5rem;
    font-size: 0.85rem;
  }
}
/* ===== STATS PANEL STYLES ===== */
.stats-section {
  margin-bottom: 2rem;
}

.stats-section:last-child {
  margin-bottom: 0;
}

.stats-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-mini-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f0fe 100%);
  border: 1.5px solid #e3eaf7;
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.12);
  border-color: var(--primary);
}

.stat-mini-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-mini-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.stat-mini-label {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

.subject-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.subject-stat-item {
  background: white;
  border: 1.5px solid #e3eaf7;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.subject-stat-item:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(30, 144, 255, 0.08);
}

.subject-stat-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.subject-stat-hours {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.subject-stat-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.subject-stat-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.subject-stat-label {
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stats-loading {
  text-align: center;
  padding: 2rem;
  color: #888;
  font-style: italic;
}

.stats-empty {
  text-align: center;
  padding: 2rem;
  color: #999;
}

.stats-empty-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

@media (max-width: 600px) {
  .stats-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .subject-stat-hours {
    gap: 1rem;
  }
  
  .subject-stat-number {
    font-size: 1.1rem;
  }
}

/* ===== EVENTS SECTION STYLES ===== */
.events-section {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 1400px;
  margin: 0 auto;
}

.events-header {
  text-align: center;
  margin-bottom: 2rem;
}

.events-header h1 {
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.events-subtitle {
  color: #666;
  font-size: 1.1rem;
}

/* Event Coordinator Panel */
.coordinator-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.coordinator-icon {
  font-size: 1.5em;
}

.create-event-form-container {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f0fe 100%);
  border: 1.5px solid #e3eaf7;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.create-event-form-container h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

#create-event-form .form-group {
  margin-bottom: 1rem;
}

#create-event-form label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

#create-event-form input,
#create-event-form select,
#create-event-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1.5px solid #e3eaf7;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  transition: border 0.2s;
}

#create-event-form input:focus,
#create-event-form select:focus,
#create-event-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

#create-event-form textarea {
  resize: vertical;
  font-family: inherit;
}

.create-event-btn {
  background: linear-gradient(90deg, var(--primary), #4fb3d9);
  color: white;
  font-size: 1.1em;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.9em 2.5em;
  box-shadow: 0 4px 12px rgba(30,144,255,0.2);
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s;
}

.create-event-btn:hover {
  background: linear-gradient(90deg, #1c7ed6, var(--primary));
  box-shadow: 0 6px 20px rgba(30,144,255,0.25);
  transform: translateY(-2px);
}

/* Events Filters */
.events-filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.events-filters select {
  padding: 0.75rem 1rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  min-width: 180px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.events-filters select:focus,
.events-filters select:hover {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.coordinator-events-list {
  margin-top: 2.5rem;
}

.coordinator-events-list h3 {
  color: var(--text);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

#coordinator-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

/* Event Card */
.event-card {
  background: white;
  border: 1.5px solid #e3eaf7;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #4fb3d9);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.event-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.15);
  transform: translateY(-3px);
}

.event-card:hover::before {
  transform: scaleX(1);
}

.event-category-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.category-study-group {
  background: #e3f2fd;
  color: #1976d2;
}

.category-workshop {
  background: #f3e5f5;
  color: #7b1fa2;
}

.category-social {
  background: #fff3e0;
  color: #e65100;
}

.category-competition {
  background: #ffebee;
  color: #c62828;
}

.category-other {
  background: #f1f8e9;
  color: #558b2f;
}

.event-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.event-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.event-detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

.event-detail-icon {
  font-size: 1.1em;
  min-width: 20px;
}

.event-attendee-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.attendee-count {
  font-weight: 600;
  color: var(--primary);
}

.event-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.event-btn {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rsvp-btn {
  background: linear-gradient(90deg, var(--primary), #4fb3d9);
  color: white;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.2);
}

.rsvp-btn:hover {
  background: linear-gradient(90deg, #1c7ed6, var(--primary));
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.25);
  transform: translateY(-2px);
}

.rsvp-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.cancel-rsvp-btn {
  background: #fff;
  color: #d32f2f;
  border: 2px solid #d32f2f;
}

.cancel-rsvp-btn:hover {
  background: #d32f2f;
  color: white;
}

.delete-event-btn {
  background: #fff;
  color: #c62828;
  border: 2px solid #c62828;
}

.delete-event-btn:hover {
  background: #c62828;
  color: white;
}

.edit-event-btn {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.edit-event-btn:hover {
  background: var(--primary);
  color: white;
}

.event-full-badge {
  background: #ffebee;
  color: #c62828;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.event-registered-badge {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.no-events-message {
  text-align: center;
  padding: 4rem 2rem;
  color: #999;
}

.no-events-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-events-message h3 {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .events-section {
    padding: 1rem;
  }
  
  .events-header h1 {
    font-size: 2rem;
  }
  
  .events-grid,
  #coordinator-events-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .event-actions {
    flex-direction: column;
  }
  
  .event-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .events-header h1 {
    font-size: 1.75rem;
  }
  
  .coordinator-banner {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
  
  .create-event-form-container {
    padding: 1.5rem;
  }
  
  .events-filters {
    flex-direction: column;
  }
  
  .events-filters select {
    width: 100%;
  }
}

/* ===== FOOTER STYLES ===== */
.bottom-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 2rem;
  margin-top: 2rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: #555;
  flex-wrap: wrap;
}

.footer-divider {
  color: #ccc;
}

.footer-content a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .bottom-bar {
    padding: 1rem;
  }
  
  .footer-content {
    font-size: 0.8rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-divider {
    display: none;
  }
}
