body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #fff;
  color: #5a3a0a;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  background: linear-gradient(90deg, #FEF08A 0%, #FEFCE8 100%);
  padding: 12px 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
}
header .logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
  color: #5a3a0a;
}
header .logo img {
  height: 32px;
  margin-right: 10px;
}
header .menu {
  display: flex;
  gap: 28px;
}
header .menu a {
  color: #5a3a0a;
  text-decoration: none;
  font-weight: 500;
  font-size: 1em;
}
header .menu a:hover {
  color: #7c5c1c;
}
header .login-btn {
  background: #FDE047;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-weight: bold;
  color: #5a3a0a;
  font-size: 1em;
  text-decoration: none;
  display: inline-block;
}

.hero {
  background: linear-gradient(90deg, #FEF9C3 0%, #FDE047 100%);
  text-align: center;
  padding: 60px 0 40px;
  margin-bottom: 40px;
}
.hero .hero-icon {
  margin-bottom: 16px;
}
.hero .hero-icon img {
  height: 60px;
}
.hero .hero-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #5a3a0a;
  margin: 18px 0 16px;
}
.hero .hero-title b {
  color: #5a3a0a;
}
.hero .hero-desc {
  color: #5a3a0a;
  margin-bottom: 26px;
  font-size: 1.2em;
}
.hero .hero-extra {
  color: #7c5c1c;
  margin-bottom: 26px;
  font-size: 1.05em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero .cta-btn {
  background: #5a3a0a;
  border: none;
  border-radius: 8px;
  padding: 14px 38px;
  font-size: 1.1em;
  font-weight: bold;
  color: white;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.main-content {
  margin-top: 36px;
  margin-bottom: 36px;
}

.about {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
}
.about .about-img {
  width: 260px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid #FDE047;
}
.about .about-info {
  flex: 1;
}
.about .about-info h2 {
  margin: 0 0 8px 0;
  font-size: 1.3em;
  color: #5a3a0a;
}
.about .about-info p {
  margin: 0 0 16px 0;
  color: #7c5c1c;
  font-size: 1em;
  line-height: 1.5;
}
.about .about-info .about-stats {
  display: flex;
  gap: 32px;
}
.about .about-info .about-stats span {
  display: inline-block;
  text-align: center;
  font-size: 1em;
  color: #7c5c1c;
}
.about .about-info .about-stats span b {
  font-size: 1.2em;
  color: #5a3a0a;
}

.club-values {
  margin-bottom: 40px;
}
.club-values h3 {
  font-size: 1.5em;
  margin-bottom: 22px;
}
.club-values .values-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.club-values .values-container .value-item {
  flex: 1;
  min-width: 200px;
  background: #FEFCE8;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}
.club-values .values-container .value-item .value-icon {
  font-size: 2em;
  margin-bottom: 10px;
}
.club-values .values-container .value-item h4 {
  margin: 0 0 10px 0;
  color: #5a3a0a;
}
.club-values .values-container .value-item p {
  margin: 0;
  color: #7c5c1c;
  line-height: 1.4;
}

.tasks {
  margin-bottom: 40px;
}
.tasks h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
}
.tasks .tasks-intro {
  margin-bottom: 20px;
  color: #7c5c1c;
  line-height: 1.5;
}
.tasks .tasks-list {
  display: flex;
  gap: 24px;
}
.tasks .tasks-list .task-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #FEF9C3;
  padding: 20px;
}
.tasks .tasks-list .task-card .task-title {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 8px;
}
.tasks .tasks-list .task-card .task-date {
  font-size: 0.95em;
  color: #7c5c1c;
  margin-bottom: 10px;
}
.tasks .tasks-list .task-card .task-desc {
  margin-bottom: 15px;
  line-height: 1.4;
}
.tasks .tasks-list .task-card .task-details {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}
.tasks .tasks-list .task-card .task-details .task-detail {
  font-size: 0.9em;
  color: #7c5c1c;
}
.tasks .tasks-list .task-card .task-btn {
  background: #FDE047;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-weight: bold;
  color: #5a3a0a;
  font-size: 1em;
}
.tasks .tasks-login-note {
  text-align: right;
  margin-top: 8px;
}

.testimonials {
  margin-bottom: 40px;
}
.testimonials h3 {
  font-size: 1.5em;
  margin-bottom: 22px;
}
.testimonials .testimonials-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.testimonials .testimonials-container .testimonial {
  flex: 1;
  min-width: 250px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #FEF9C3;
  padding: 20px;
}
.testimonials .testimonials-container .testimonial .testimonial-quote {
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #5a3a0a;
}
.testimonials .testimonials-container .testimonial .testimonial-author {
  text-align: right;
  color: #7c5c1c;
}

/* Modern Enhanced Agenda Styling */
.agenda {
  margin-bottom: 60px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.agenda .agenda-header {
  background: linear-gradient(90deg, #FEF08A 0%, #FEFCE8 100%);
  padding: 24px 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.agenda h3 {
  font-size: 2.2rem;
  margin: 0 0 8px 0;
  color: #5a3a0a;
  font-weight: 700;
}

.agenda-subtitle {
  color: #7c5c1c;
  font-size: 1.1rem;
  margin: 0 0 16px 0;
  font-weight: 500;
}

.agenda .agenda-export {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #5a3a0a;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.agenda .agenda-export:before {
  content: "📅";
  font-size: 16px;
}

.agenda .agenda-export:hover {
  background: white;
  border-color: #FDE047;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.agenda .agenda-intro {
  padding: 20px 30px;
  color: #5a3a0a;
  line-height: 1.6;
  font-size: 1.05rem;
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
  background: #FEFCE8;
}

.agenda-inner {
  padding: 24px 30px;
}

.agenda-table-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 24px;
}

.agenda .agenda-filter {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.agenda .agenda-filter .agenda-select {
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  color: #5a3a0a;
  background: #fff;
  font-size: 0.95rem;
  flex: 1;
  min-width: 150px;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a3a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.agenda .agenda-filter .agenda-select:focus {
  outline: none;
  border-color: #FDE047;
  box-shadow: 0 0 0 3px rgba(253, 224, 71, 0.25);
}

.agenda .agenda-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.agenda-controls-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.agenda .agenda-controls #agenda-current-week,
.agenda .agenda-controls #agenda-current-day {
  font-weight: 700;
  color: #5a3a0a;
  font-size: 1.3rem;
  padding: 8px 20px;
  background: rgba(254, 240, 138, 0.3);
  border-radius: 10px;
  border: 2px solid rgba(254, 240, 138, 0.5);
}

.agenda .agenda-controls .agenda-control-btn {
  background: linear-gradient(135deg, #FDE047 0%, #FEF08A 100%);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  color: #5a3a0a;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.agenda .agenda-controls .agenda-control-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.agenda-today-btn {
  background: #FDE047;
  color: #5a3a0a;
  padding: 6px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(253, 224, 71, 0.5);
}

.agenda-today-btn:hover {
  background: #FACC15;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.agenda .agenda-table {
  margin-bottom: 24px;
  overflow-x: auto;
}

.agenda .agenda-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
}

.agenda .agenda-table table th, 
.agenda .agenda-table table td {
  text-align: center;
}

.agenda .agenda-table table th {
  background: linear-gradient(135deg, #FEF08A 0%, #FDE047 100%);
  padding: 16px 10px;
  font-weight: 700;
  color: #5a3a0a;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
}

.agenda .agenda-table table td {
  border: 1px solid #f0f0f0;
  border-right: none;
  border-bottom: none;
}

.agenda .agenda-table table tr td:first-child {
  border-left: none;
}

.agenda .agenda-table table .agenda-cell {
  height: 140px;
  vertical-align: top;
  padding: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease, opacity 0.5s ease, transform 0.5s ease;
  position: relative;
  transform: translateY(10px);
}

.agenda .agenda-table table .agenda-cell:hover {
  background: #f8fafc;
  box-shadow: inset 0 0 0 2px #FDE047;
}

.agenda .agenda-table table .agenda-date {
  font-weight: 600;
  color: #5a3a0a;
  padding: 4px 0 10px;
  text-align: center;
  font-size: 1rem;
  border-bottom: 1px dashed #f0f0f0;
  margin-bottom: 8px;
}

.agenda .agenda-table table .agenda-cell.past-date {
  background: #f8f9fa;
  opacity: 0.7;
  cursor: default;
}

.agenda .agenda-table table .agenda-cell.past-date:hover {
  box-shadow: none;
}

.agenda .agenda-table table .agenda-cell.today {
  background: rgba(254, 240, 138, 0.3);
  border: 2px solid #FDE047;
}

.agenda .agenda-table table .agenda-cell.today .agenda-date {
  color: #5a3a0a;
  font-weight: 700;
  font-size: 1.05rem;
}

.agenda .agenda-table table .agenda-event {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
}

.agenda .agenda-table table .agenda-event:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.agenda .agenda-table table .agenda-event .agenda-volunteers-needed {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: #ef4444;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
}

/* Event Type Colors */
.agenda .agenda-table table .agenda-event.agenda-event-training {
  border-left: 4px solid #10b981;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.agenda .agenda-table table .agenda-event.agenda-event-match {
  border-left: 4px solid #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.agenda .agenda-table table .agenda-event.agenda-event-meeting {
  border-left: 4px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.agenda .agenda-table table .agenda-event.agenda-event-social {
  border-left: 4px solid #ec4899;
  background: linear-gradient(135deg, #fdf2f8 0%, #fbcfe8 100%);
}

.agenda-event-default {
    background-color: #007bff;
}

.agenda-event-special {
    background-color: #28a745;
}

.agenda-event-important {
    background-color: #dc3545;
}

.agenda .agenda-note {
  background: #FEFCE8;
  border-radius: 12px;
  padding: 16px 24px;
  margin-top: 24px;
  border-left: 4px solid #FDE047;
}

.agenda .agenda-note p {
  margin: 0 0 12px 0;
  color: #5a3a0a;
  line-height: 1.6;
}

.agenda .agenda-note p:last-child {
  margin-bottom: 0;
}

.agenda .agenda-login-note {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agenda .agenda-login-note .login-icon {
  font-size: 1.2rem;
}

.agenda .agenda-login-note a {
  color: #5a3a0a;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}

.agenda .agenda-login-note a:hover {
  color: #FDE047;
}

/* Enhanced Admin Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  overflow-y: auto;
  padding: 20px 0;
  backdrop-filter: blur(2px);
}

.modal .modal-content {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  margin: 3% auto;
  padding: 32px;
  border-radius: 16px;
  max-width: 580px;
  min-width: 320px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 8px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  border: 2px solid #FDE047;
  animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalSlideIn {
  0% {
    transform: scale(0.9) translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal .modal-content h2 {
  margin-top: 0;
  color: #5a3a0a;
  margin-bottom: 24px;
  font-size: 1.5em;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding-bottom: 12px;
  border-bottom: 2px solid #FDE047;
}

.modal .modal-content .close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 32px;
  color: #92400E;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(254, 224, 71, 0.3);
}

.modal .modal-content .close:hover {
  color: #7c2d12;
  background: rgba(254, 224, 71, 0.6);
  transform: rotate(90deg);
}

/* Form styling within modals */
.modal .modal-content .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.modal .modal-content .form-grid .full-width {
  grid-column: span 2;
}

.modal .modal-content .form-group {
  margin-bottom: 0;
}

.modal .modal-content .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #7c2d12;
  font-size: 0.95em;
}

.modal .modal-content input,
.modal .modal-content select,
.modal .modal-content textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #FED7AA;
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 1em;
  color: #5a3a0a;
  box-sizing: border-box;
  transition: all 0.2s ease;
  font-family: inherit;
}

.modal .modal-content input:focus,
.modal .modal-content select:focus,
.modal .modal-content textarea:focus {
  outline: none;
  border-color: #F59E0B;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
  background: #FFFEF7;
}

.modal .modal-content textarea {
  resize: vertical;
  min-height: 100px;
}

.modal .modal-content small {
  display: block;
  margin-top: 4px;
  font-size: 0.85em;
  color: #92400E;
  font-style: italic;
}

.modal .modal-content button,
.modal .modal-content .admin-btn {
  width: 100%;
  background: linear-gradient(135deg, #FDE047 0%, #FACC15 100%);
  color: #5a3a0a;
  border: none;
  border-radius: 10px;
  padding: 14px 0;
  font-size: 1.1em;
  font-weight: 700;
  margin-top: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal .modal-content button:hover,
.modal .modal-content .admin-btn:hover {
  background: linear-gradient(135deg, #FACC15 0%, #EAB308 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4);
}

.modal .modal-content button:active,
.modal .modal-content .admin-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(250, 204, 21, 0.3);
}

/* Recurring options styling */
.modal .modal-content .recurring-container {
  background: rgba(255, 255, 255, 0.6);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #FED7AA;
  margin-top: 12px;
}

.modal .modal-content .recurring-section-header {
  font-weight: 600;
  color: #7c2d12;
  margin-bottom: 12px;
  font-size: 1.05em;
  border-bottom: 1px solid #FED7AA;
  padding-bottom: 6px;
}

.modal .modal-content .weekday-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.modal .modal-content .weekday-selector label {
  display: flex;
  align-items: center;
  font-weight: normal;
  font-size: 0.9em;
  margin-bottom: 0;
}

.modal .modal-content .weekday-selector input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
  margin-bottom: 0;
}

.modal .modal-content .display-flex {
  display: flex;
  gap: 8px;
}

.modal .modal-content .align-items-center {
  align-items: center;
}

.modal .modal-content .display-flex input {
  flex: 1;
}

.modal .modal-content .display-flex span {
  color: #7c2d12;
  font-weight: 500;
  white-space: nowrap;
}

/* Responsive design */
@media (max-width: 768px) {
  .modal .modal-content {
    margin: 5% 10px;
    padding: 24px 20px;
    max-width: none;
  }

  .modal .modal-content .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .modal .modal-content .form-grid .full-width {
    grid-column: span 1;
  }

  .modal .modal-content .weekday-selector {
    grid-template-columns: repeat(2, 1fr);
  }
}

footer {
  background: linear-gradient(90deg, #FEF08A 30%, #FEFCE8 100%);
  color: #5a3a0a;
  padding: 36px 0 30px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
footer .footer-content .footer-section {
  flex: 1;
  min-width: 200px;
}
footer .footer-content .footer-section h4 {
  font-size: 1.2em;
  margin: 0 0 15px 0;
  color: #5a3a0a;
}
footer .footer-content .footer-section p {
  line-height: 1.5;
  margin: 0;
}
footer .footer-content .footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer .footer-content .footer-section ul li {
  margin-bottom: 8px;
}
footer .footer-content .footer-section ul li a {
  color: #7c5c1c;
  text-decoration: none;
}
footer .footer-content .footer-section ul li a:hover {
  color: #5a3a0a;
  text-decoration: underline;
}
footer .footer-content .footer-section .social-icons {
  display: flex;
  gap: 15px;
  font-size: 1.5em;
}
footer .footer-content .footer-section .social-icons a {
  color: #5a3a0a;
  text-decoration: none;
}
footer .footer-content .footer-section .social-icons a:hover {
  transform: scale(1.1);
}
footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid rgba(124, 92, 28, 0.2);
}
footer .footer-left {
  font-weight: bold;
}
footer .footer-links a {
  color: #5a3a0a;
  text-decoration: underline;
  margin: 0 4px;
}

@media (max-width: 600px) {
  footer .footer-content {
    flex-direction: column;
  }
  footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 900px) {
  .about {
    flex-direction: column;
    align-items: stretch;
  }
  .about .about-img {
    width: 100%;
    height: 160px;
    margin-bottom: 12px;
  }
  .tasks .tasks-list {
    flex-direction: column;
  }
  .tasks .tasks-list .task-card {
    min-width: 0;
  }
  .container {
    padding: 0 8px;
  }
  header .container {
    padding: 0 8px;
  }
  .values-container, .testimonials-container {
    flex-direction: column;
  }
}
.beheer-container {
  display: flex;
  min-height: calc(100vh - 200px);
  background: #FEF9C3;
}

.sidebar {
  width: 250px;
  background: white;
  padding: 2rem 1rem;
  border-right: 1px solid #FECF6A;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #FECF6A;
}
.sidebar-welcome img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #FECF6A;
  margin-bottom: 1rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #422006;
  font-weight: 500;
  transition: background-color 0.2s;
}
.sidebar-nav a.active {
  background: #FEF3C7;
  color: #92400E;
  font-weight: 600;
}
.sidebar-nav a:hover:not(.active) {
  background: #FEF9C3;
}
.sidebar-nav a svg {
  margin-right: 0.75rem;
}

.main-content {
  flex: 1;
  padding: 2rem;
}

.content-section {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.content-header h2 {
  font-size: 1.5rem;
  color: #422006;
  margin: 0;
}

.task-item {
  border: 1px solid #FECF6A;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #FFFBEB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.task-info {
  flex: 1;
}

.task-name {
  font-weight: 600;
  color: #422006;
  margin-bottom: 0.25rem;
}

.task-date {
  color: #78350F;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.task-location {
  color: #78350F;
  font-size: 0.9rem;
}

.task-actions {
  display: flex;
  gap: 0.5rem;
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  border: none;
  font-weight: 500;
  cursor: pointer;
}

.btn-yellow {
  background: #FECF6A;
  color: #422006;
}

.btn-outline {
  background: transparent;
  border: 1px solid #FECF6A;
  color: #92400E;
}

.btn-primary {
  background: #92400E;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-new-task {
  background: #FECF6A;
  color: #422006;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-weight: 600;
  text-decoration: none;
}
.btn-new-task:hover {
  background: #FEC44F;
}

.agenda-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.agenda-table th {
  background: #FECF6A;
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #422006;
}
.agenda-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #FEF3C7;
}
.agenda-table tr:nth-child(even) {
  background: #FFFBEB;
}

.status {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-confirmed {
  background: #D9F99D;
  color: #365314;
}

.status-pending {
  background: #FEF3C7;
  color: #92400E;
}

.profile-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #422006;
}
.form-group input {
  width: 95%;
  padding: 0.75rem;
  border: 1px solid #D6D3D1;
  border-radius: 0.25rem;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #FECF6A;
  margin-bottom: 1rem;
}

.profile-info {
  margin-bottom: 2rem;
  text-align: center;
}

.form-group-full {
  grid-column: span 2;
}

.password-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #FECF6A;
}

.password-change-btn {
  display: inline-block;
  margin-top: 0.5rem;
}

.admin-container {
  display: flex;
  min-height: calc(100vh - 200px);
  background: #FEF9C3;
}

.admin-sidebar {
  background: white;
}

.admin-welcome img {
  background: #ffd43b;
}

.admin-nav a.active {
  background: #ffd43b;
}

.admin-content {
  flex: 1;
  padding: 2rem;
}

.admin-section {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.admin-header h2, .admin-header h3 {
  font-size: 1.5rem;
  color: #5a3a0a;
  margin: 0;
}
.admin-header h3 {
  font-size: 1.2rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}
.admin-table th, .admin-table td {
  padding: 1rem;
  text-align: right;
  border-bottom: 1px solid #e5e5e5;
}
.admin-table th {
  font-weight: 600;
  background: #FEF9C3;
  color: #5a3a0a;
}
.admin-table tr:nth-child(even) {
  background-color: #FEFCE8;
}
.admin-table .action-cell {
  text-align: right;
}

.admin-btn {
  background: #FDE047;
  color: #5a3a0a;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
}
.admin-btn:hover {
  background: #fddc2e;
}

.admin-action-btn {
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}
.admin-action-btn.edit-btn {
  color: #5a3a0a;
}
.admin-action-btn.edit-btn:hover {
  color: #2c1c05;
}
.admin-action-btn.delete-btn {
  color: #e53e3e;
}
.admin-action-btn.delete-btn:hover {
  color: #d41c1c;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dashboard-card {
  background: white;
  border-radius: 0.5rem;
  border: 1px solid #FEF9C3;
  overflow: hidden;
}
.dashboard-card .dashboard-card-header {
  padding: 1rem;
  background: #FEFCE8;
  border-bottom: 1px solid #FEF9C3;
}
.dashboard-card .dashboard-card-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #5a3a0a;
}
.dashboard-card .dashboard-card-content {
  padding: 1rem;
}
.dashboard-card .dashboard-card-action {
  padding: 0.75rem;
  text-align: center;
  border-top: 1px solid #FEFCE8;
  background: #FEFCE8;
}

.volunteer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #FEFCE8;
}
.volunteer-item:last-child {
  border-bottom: none;
}
.volunteer-item .volunteer-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.volunteer-item .volunteer-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #FEF9C3;
  color: #5a3a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
}
.volunteer-item .volunteer-name {
  font-weight: 600;
  color: #5a3a0a;
  font-size: 0.95rem;
}
.volunteer-item .volunteer-role {
  font-size: 0.8rem;
  color: #7c5c1c;
}
.volunteer-item .volunteer-actions {
  display: flex;
  gap: 0.25rem;
}

.admin-task {
  border-bottom: 1px solid #FEFCE8;
  border-radius: 0;
  background: transparent;
  padding: 0.5rem 0;
  margin-bottom: 0;
}
.admin-task:last-child {
  border-bottom: none;
}
.admin-task .task-volunteers-needed {
  font-size: 0.8rem;
  color: #e53e3e;
}

.admin-stats {
  background: white;
  border-radius: 0.5rem;
  border: 1px solid #FEF9C3;
  overflow: hidden;
}
.admin-stats .admin-stats-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}
.admin-stats .stat-item {
  text-align: center;
  padding: 1rem;
  background: #FEFCE8;
  border-radius: 0.5rem;
}
.admin-stats .stat-item .stat-icon {
  height: 2rem;
  margin-bottom: 0.5rem;
  background-repeat: no-repeat;
  background-position: center;
}
.admin-stats .stat-item .user-icon {
  background-image: url("../img/user-icon.svg");
}
.admin-stats .stat-item .task-icon {
  background-image: url("../img/task-icon.svg");
}
.admin-stats .stat-item .event-icon {
  background-image: url("../img/event-icon.svg");
}
.admin-stats .stat-item .stat-label {
  font-size: 0.85rem;
  color: #7c5c1c;
  margin-bottom: 0.25rem;
}
.admin-stats .stat-item .stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: #5a3a0a;
}
.admin-stats .admin-stats-action {
  padding: 1rem;
  text-align: center;
  border-top: 1px solid #FEFCE8;
  background: #FEFCE8;
}

.btn-add, .btn-download {
  background: #ffd43b;
  color: #5a3a0a;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
}
.btn-add:hover, .btn-download:hover {
  background: #ffce22;
}

.btn-download {
  width: 100%;
}

/* Task filters */
.task-filters {
    background: #FFFBEB;
    border: 1px solid #FECF6A;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: 500;
    color: #422006;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #D6D3D1;
    border-radius: 4px;
    background: white;
    color: #422006;
    min-width: 120px;
}

.filter-btn {
    height: fit-content;
    margin-bottom: 0;
}

.task-count {
    margin-top: 10px;
    font-weight: 500;
    color: #78350F;
    font-size: 0.95rem;
}

/* Week/month navigation */
.date-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.nav-btn {
    background: #FBBF24;
    color: #78350F;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}

.nav-btn:hover {
    background: #F59E0B;
}

.current-period {
    font-weight: 600;
    color: #78350F;
    font-size: 1.1rem;
}

/* Multi-day task indicators */
.task-date-range {
  font-weight: 500;
}

.task-date-range::before {
  content: "📅 ";
  margin-right: 0.25rem;
}

.task-multi-day {
  position: relative;
}

.task-multi-day::after {
  content: "Meerdaagse taak";
  position: absolute;
  top: -5px;
  right: -5px;
  background: #FEF08A;
  color: #422006;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 500;
}

/* Form validation styles */
.form-group input:invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input:valid {
  border-color: #10b981;
}

/* Quick navigation */
.quick-nav {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #FECF6A;
}

.quick-nav h4 {
    margin: 0 0 10px 0;
    color: #78350F;
    font-size: 0.95rem;
}

.quick-nav-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 20px 0;
}

.pagination-btn {
    padding: 8px 12px;
    border: 1px solid #FECF6A;
    background: white;
    color: #78350F;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background: #FBBF24;
    color: white;
}

.pagination-btn.active {
    background: #78350F;
    color: white;
    border-color: #78350F;
}

/* Task summary */
.task-summary {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.task-summary h3 {
    margin: 0 0 15px 0;
    color: #15803d;
    font-size: 1.2rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.summary-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #D1FAE5;
}

.summary-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #15803d;
    margin-bottom: 5px;
}

.summary-label {
    display: block;
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

/* Week navigation improvements */
.week-nav-tools {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-jump-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quick-jump-form label {
    font-weight: 600;
    color: #333;
}

.quick-jump-form input {
    padding: 0.25rem 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 70px;
    font-size: 0.9rem;
}

.jump-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.jump-btn:hover {
    background: #0056b3;
}

.week-shortcuts {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.shortcut-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.shortcut-btn:hover {
    background: #e9ecef;
    color: #007bff;
}

.shortcut-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* Responsive improvements for week navigation */
@media (max-width: 768px) {
    .week-navigation {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .week-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .week-btn {
        min-width: auto;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .quick-jump-form {
        justify-content: center;
    }
    
    .week-shortcuts {
        justify-content: center;
    }
}

/* Week task performance indicators */
.week-performance {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.week-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.week-stat {
    text-align: center;
}

.week-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
}

.week-stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Task card improvements for better scanning */
.task-card-week {
    transition: all 0.2s ease;
    border-left: 4px solid #e0e0e0;
}

.task-card-week:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-color: #007bff;
}

.task-card-week.task-full {
    border-left-color: #28a745;
    background: #f8fff9;
}

.task-card-week.task-urgent {
    border-left-color: #dc3545;
    background: #fff8f8;
}

.task-card-week.task-multi-day {
    border-left-color: #ffc107;
    background: #fffdf5;
}

/* Monthly Tasks View */
.month-header {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.month-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.current-month {
    text-align: center;
    flex: 1;
}

.current-month h1 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
}

.month-dates {
    color: #666;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.month-summary {
    color: #007bff;
    font-weight: 600;
    margin: 0;
}

.month-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Month Performance */
.month-performance {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.month-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
}

.month-stat {
    text-align: center;
}

.month-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #007bff;
}

.month-stat-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Week sections in monthly view */
.week-section {
    background: white;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.week-section .week-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.week-section .week-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.week-dates {
    color: #666;
    font-size: 0.9rem;
}

.week-detail-link {
    background: #007bff;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background-color 0.2s;
}

.week-detail-link:hover {
    background: #0056b3;
}

.week-tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

/* Monthly task cards */
.task-card-month {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: all 0.2s ease;
    border-left: 4px solid #e0e0e0;
}

.task-card-month:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left-color: #007bff;
}

.task-card-month.task-full {
    border-left-color: #28a745;
    background: #f8fff9;
}

.task-card-month.task-multi-day {
    border-left-color: #ffc107;
    background: #fffdf5;
}

.task-date-month {
    background: #007bff;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    min-width: 50px;
}

.task-info-month {
    flex: 1;
}

.task-info-month .task-title {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: #333;
}

.task-time-month {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.task-volunteers-month {
    color: #007bff;
    font-size: 0.85rem;
    font-weight: 600;
}

.task-actions-month {
    display: flex;
    gap: 0.25rem;
}

/* Quick month navigation */
.quick-month-nav {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quick-month-nav h3 {
    margin: 0 0 1rem 0;
    color: #333;
    text-align: center;
}

.month-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.month-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    padding: 0.5rem 0.25rem;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.month-btn:hover {
    background: #e9ecef;
    color: #007bff;
}

.month-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.month-btn.current-real-month {
    background: #ffc107;
    color: #000;
    border-color: #ffc107;
}

.month-task-count {
    font-size: 0.75rem;
    opacity: 0.8;
}

.year-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.year-btn {
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.year-btn:hover {
    background: #0056b3;
}

.current-year {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

/* Responsive improvements for monthly view */
@media (max-width: 768px) {
    .month-navigation {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .week-section .week-header {
        flex-direction: column;
        text-align: center;
    }
    
    .week-tasks-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .task-card-month {
        flex-direction: column;
        text-align: center;
    }
    
    .task-date-month {
        align-self: center;
    }
    
    .month-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Day View Styles */
.agenda-day-view {
  margin-top: 24px;
}

.day-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(254, 240, 138, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(254, 240, 138, 0.5);
}

.day-header h4 {
  margin: 0;
  color: #5a3a0a;
  font-size: 1.4rem;
  font-weight: 700;
}

.day-events {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.day-event {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #e2e8f0;
  transition: all 0.2s ease;
}

.day-event:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.day-event .event-time {
  font-size: 1.1rem;
  font-weight: 700;
  color: #5a3a0a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.day-event .event-time:before {
  content: "🕐";
  font-size: 1rem;
}

.day-event .event-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #5a3a0a;
  margin-bottom: 12px;
}

.day-event .event-description {
  color: #7c5c1c;
  line-height: 1.6;
  margin-bottom: 12px;
  font-size: 1rem;
}

.day-event .event-location {
  color: #7c5c1c;
  font-size: 0.95rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.day-event .event-volunteers {
  color: #ef4444;
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(239, 68, 68, 0.1);
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
}

.no-events {
  text-align: center;
  padding: 40px 20px;
  color: #7c5c1c;
  background: rgba(254, 240, 138, 0.1);
  border-radius: 12px;
  border: 2px dashed rgba(254, 240, 138, 0.5);
}

.no-events p {
  font-size: 1.1rem;
  margin: 0;
}

/* Fixed column widths for week view table */
.agenda-table-week table {
  table-layout: fixed;
}

.agenda-table-week table th,
.agenda-table-week table td {
  width: 14.285%; /* 100% / 7 days = equal width columns */
  min-width: 120px; /* Minimum width to prevent too narrow columns */
}

/* Agenda controls improvements for day view */
.agenda .agenda-controls #agenda-current-day {
  font-weight: 700;
  color: #5a3a0a;
  font-size: 1.3rem;
  padding: 8px 20px;
  background: rgba(254, 240, 138, 0.3);
  border-radius: 10px;
  border: 2px solid rgba(254, 240, 138, 0.5);
}

/* Header actions layout improvements */
.agenda-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.agenda-view-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
  border: 1px solid rgba(253, 224, 71, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-toggle-btn {
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: #5a3a0a;
  font-weight: 600;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.view-toggle-btn.active {
  background: #FDE047;
  color: #5a3a0a;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-toggle-btn:not(.active):hover {
  background: rgba(253, 224, 71, 0.2);
}

.agenda .agenda-export {
  position: static;
  background: rgba(255, 255, 255, 0.9);
  color: #5a3a0a;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Message Modal Popup Styles - using different class names to avoid conflicts */
.message-modal-overlay {
  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: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.message-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.message-modal {
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  position: relative;
}

.message-modal-overlay.show .message-modal {
  transform: translateY(0);
}

.message-modal .modal-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.message-modal .modal-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 14px;
}

.message-modal .modal-icon.success {
  background: #16a34a;
}

.message-modal .modal-icon.error {
  background: #dc2626;
}

.message-modal .modal-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #374151;
}

.message-modal .modal-title.success {
  color: #16a34a;
}

.message-modal .modal-title.error {
  color: #dc2626;
}

.message-modal .modal-message {
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 25px;
}

.message-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.message-modal .modal-btn {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.message-modal .modal-btn.primary {
  background: #FDE047;
  color: #5a3a0a;
}

.message-modal .modal-btn.primary:hover {
  background: #FEF08A;
}

.message-modal .modal-btn.secondary {
  background: #f3f4f6;
  color: #6b7280;
}

.message-modal .modal-btn.secondary:hover {
  background: #e5e7eb;
}
