/* ========== EVENTS PAGE STYLES ========== */

/* Quick Actions */
.quick-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  padding: 1.125rem 2.5rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  min-height: 52px;
  min-width: 220px;
}

.action-button.primary {
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
  position: relative;
  overflow: hidden;
}

.action-button.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.action-button.primary:hover::before {
  left: 100%;
}

.action-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45);
}

.action-button.primary i {
  font-size: 1.25rem;
}

.action-button.secondary {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #6366f1;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

/* Calendar Section */
.calendar-section {
  margin-bottom: 2.5rem;
}

.calendar-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.calendar-section .section-header h2 {
  margin: 0;
}

.calendar-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* FullCalendar Customization */
#calendar {
  min-height: 650px;
}

.fc {
  background: transparent;
  color: var(--text-primary);
}

.fc-toolbar-title {
  color: var(--text-primary) !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fc-button-primary {
  background: linear-gradient(135deg, #6366f1, #06b6d4) !important;
  border: none !important;
  padding: 0.625rem 1.25rem !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
}

.fc-button-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4) !important;
}

.fc-button-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.fc-button-active {
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.fc-day {
  background-color: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  transition: background-color 0.2s ease !important;
}

.fc-day:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.fc-day-today {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15)) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
}

.fc-daygrid-day-number {
  color: var(--text-primary) !important;
  padding: 0.625rem !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
}

.fc-col-header-cell {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-secondary) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 0.75rem !important;
  letter-spacing: 1px !important;
  padding: 1rem 0 !important;
}

.fc-event {
  border: none !important;
  padding: 0.375rem 0.625rem !important;
  margin: 0.25rem 0.125rem !important;
  border-radius: 8px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.fc-event:hover {
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
  z-index: 10 !important;
}

.fc-daygrid-event-dot {
  display: none !important;
}

/* Mobile Message */
.mobile-message {
  display: none;
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.mobile-message i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.mobile-message p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* Events List Section */
.events-list-section {
  margin-top: 2rem;
}

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

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.view-all-link:hover {
  gap: 0.75rem;
  color: var(--accent);
}

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

/* Modern Event Card */
.event-card-modern {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

.event-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
}

.event-card-header {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
}

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  border-radius: 16px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  position: relative;
  overflow: hidden;
}

.event-date-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.date-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.date-month {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

.event-card-title {
  flex: 1;
  min-width: 0;
}

.event-card-title h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.status-pending {
  background: rgba(251, 191, 36, 0.15);
  color: #f59e0b;
}

.status-badge.status-confirmed {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.status-badge.status-cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.status-badge.status-completed {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
}

.badge-global-small {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-global-small i {
  font-size: 0.65rem;
}

.event-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
}

.event-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.event-detail-item i {
  width: 16px;
  color: var(--primary);
  font-size: 0.9rem;
}

.event-detail-item span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-registrations {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.registrations-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.registrations-info i {
  color: var(--success);
  font-size: 1rem;
}

.registrations-info strong {
  color: var(--success);
  font-weight: 700;
  font-size: 1.1rem;
}

.event-card-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.btn-view-event {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.625rem !important;
  width: 100% !important;
  padding: 0.875rem !important;
  background: linear-gradient(135deg, #6366f1, #06b6d4) !important;
  color: white !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-view-event::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-view-event:hover::before {
  left: 100%;
}

.btn-view-event:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5) !important;
  gap: 0.875rem !important;
}

.btn-view-event i {
  font-size: 0.9rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-view-event:hover i {
  transform: translateX(4px);
}

/* Event Stats Icons */
.events-icon {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.upcoming-icon {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.confirmed-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.past-icon {
  background: linear-gradient(135deg, #64748b, #475569);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .calendar-container {
    display: none;
  }

  .mobile-message {
    display: block;
  }

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

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

  .events-grid {
    grid-template-columns: 1fr;
  }

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

  .event-card-header {
    padding: 1rem;
  }

  .event-date-badge {
    min-width: 50px;
    height: 50px;
  }

  .date-day {
    font-size: 1.25rem;
  }

  .date-month {
    font-size: 0.7rem;
  }

  .event-card-title h3 {
    font-size: 1rem;
  }

  .event-card-body {
    padding: 1rem;
  }

  .event-card-footer {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .content-wrapper {
    padding: 1rem;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .event-detail-item {
    font-size: 0.8rem;
  }

  .event-description {
    font-size: 0.85rem;
  }
}

/* Dark Mode Adjustments */
[data-theme="dark"] .fc-day {
  background-color: var(--bg-secondary) !important;
}

[data-theme="dark"] .fc-day-other {
  background-color: var(--bg-primary) !important;
  opacity: 0.5;
}

[data-theme="dark"] .fc-col-header-cell {
  background-color: var(--bg-primary) !important;
}

[data-theme="dark"] .event-card-header {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-card-modern {
  animation: slideInUp 0.3s ease-out;
}

.event-card-modern:nth-child(1) { animation-delay: 0.05s; }
.event-card-modern:nth-child(2) { animation-delay: 0.1s; }
.event-card-modern:nth-child(3) { animation-delay: 0.15s; }
.event-card-modern:nth-child(4) { animation-delay: 0.2s; }
.event-card-modern:nth-child(5) { animation-delay: 0.25s; }

/* ========== MODAL STYLES ========== */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999 !important;
  padding: 1rem !important;
  animation: fadeIn 0.25s ease-out !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: linear-gradient(145deg, rgba(30, 30, 45, 0.98), rgba(20, 20, 35, 0.98)) !important;
  border-radius: 28px !important;
  width: 100% !important;
  max-width: 650px !important;
  max-height: 80vh !important;
  height: auto !important;
  overflow: hidden !important;
  box-shadow: 
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(99, 102, 241, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
  animation: slideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
  border-radius: 28px 28px 0 0;
  pointer-events: none;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.modal-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(99, 102, 241, 0.3);
}

.modal-close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.3rem;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.modal-body {
  padding: 1.5rem 2rem;
  overflow-y: auto;
  flex: 1 1 auto;
  position: relative;
  z-index: 1;
  max-height: 50vh;
  min-height: 0;
}

.modal-body::-webkit-scrollbar {
  width: 10px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  margin: 8px 0;
}

.modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  border-radius: 10px;
  border: 2px solid rgba(30, 30, 45, 0.98);
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #4f46e5, #0891b2);
}

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

.form-group label {
  display: block;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.8rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 2px solid rgba(99, 102, 241, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  backdrop-filter: blur(10px);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form-group select option {
  background: #1a1a2e;
  color: #fff;
  padding: 0.75rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #6366f1;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 0 0 4px rgba(99, 102, 241, 0.15),
    0 8px 24px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.checkbox-group {
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.08);
  border: 2px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  user-select: none;
}

.checkbox-label:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  cursor: pointer;
  accent-color: #6366f1;
  border-radius: 4px;
  margin: 0;
}

.checkbox-label span {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
}

.modal-footer {
  display: flex !important;
  gap: 1.25rem;
  justify-content: flex-end;
  padding: 1.5rem 2rem !important;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  flex-shrink: 0 !important;
  min-height: 80px !important;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 140px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: white;
  box-shadow: 
    0 8px 24px rgba(99, 102, 241, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover:not(:disabled)::before {
  left: 100%;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 12px 32px rgba(99, 102, 241, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-secondary:active:not(:disabled) {
  transform: translateY(0);
}

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

/* Modal Detail Styles */
.modal-detail {
  max-width: 750px;
}

.event-detail-header {
  display: flex;
  gap: 0.875rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

.event-detail-section {
  margin-bottom: 2.25rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.event-detail-section h3 {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.9rem;
}

.event-detail-section h3 i {
  color: #6366f1;
  font-size: 1.1rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 8px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.detail-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-value {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.08));
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.2s ease;
}

.detail-value:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateX(3px);
}

.detail-value i {
  color: #6366f1;
  font-size: 1rem;
  width: 20px;
  flex-shrink: 0;
}

.event-description-full {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.8;
  white-space: pre-wrap;
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(6, 182, 212, 0.05));
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.12);
}

.modal-small {
  max-width: 500px;
}

.delete-warning {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.2);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.delete-warning i {
  color: #ef4444;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.delete-warning strong {
  color: #fff;
  font-weight: 700;
}

.btn-danger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  padding: 1rem 2rem !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  min-width: 140px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  color: white !important;
  box-shadow: 
    0 8px 24px rgba(239, 68, 68, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.btn-danger::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-danger:hover:not(:disabled)::before {
  left: 100%;
}

.btn-danger:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 
    0 12px 32px rgba(239, 68, 68, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.btn-danger:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98) !important;
}

.btn-danger:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* Modal Footer Actions */
.modal-footer-actions {
  padding: 2.25rem 2.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
  border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.action-buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.btn-action-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1.125rem 0.875rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.75rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 95px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.btn-action-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-action-modal:hover::before {
  left: 100%;
}

.btn-action-modal i {
  font-size: 1.75rem;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.btn-action-modal:hover i {
  transform: scale(1.15) rotate(5deg);
}

.btn-action-modal span {
  text-align: center;
  line-height: 1.4;
  font-weight: 800;
}

.btn-edit-status {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-edit-status:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-config-payment {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-config-payment:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-link-payment {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-link-payment:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-volunteers {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-volunteers:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-remove {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  grid-column: 2 / 3;
}

.btn-remove:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(239, 68, 68, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Desktop Modal - Garantir visibilidade do footer */
@media (min-width: 769px) {
  .modal-content {
    max-height: 80vh !important;
  }
  
  .modal-body {
    max-height: calc(80vh - 240px) !important;
  }
  
  .modal-footer {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-content {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-footer {
    flex-direction: column-reverse;
  }

  .btn-primary,
  .btn-secondary,
  .btn-danger {
    width: 100%;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .action-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn-remove {
    grid-column: 1 / -1;
  }

  .modal-footer-actions {
    padding: 1.5rem;
  }

  .btn-action-modal {
    font-size: 0.7rem;
    min-height: 80px;
    padding: 0.875rem 0.625rem;
  }

  .btn-action-modal i {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .action-buttons-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .btn-remove {
    grid-column: 1;
  }
}

/* ========== EVENT DETAIL PAGE ========== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

.back-link:hover {
  gap: 0.75rem;
  color: var(--accent);
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.status-badge-large {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-detail-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.event-detail-section {
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.event-detail-section:last-of-type {
  border-bottom: none;
}

.event-detail-section h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.event-detail-section h2 i {
  color: var(--primary);
  font-size: 1.1rem;
}

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

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.detail-value i {
  color: var(--primary);
  font-size: 0.9rem;
  width: 20px;
}

.event-description-full {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  white-space: pre-wrap;
  margin: 0;
}

.event-actions {
  display: flex;
  gap: 1rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-edit {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: white;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-edit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-delete {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 2px solid rgba(239, 68, 68, 0.3);
}

.btn-delete:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.btn-danger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.modal-small {
  max-width: 500px;
}

.delete-warning {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.2);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.delete-warning i {
  color: #ef4444;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .content-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .btn-action {
    width: 100%;
  }
}

/* ===================================
   ESTILOS PARA PÁGINA DE CADASTRO DE MEMBROS
   =================================== */

.form-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.form-section:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

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

.section-title i {
  color: var(--primary-color);
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-radius: 0.5rem;
}

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all 0.2s;
  font-family: inherit;
}

.form-group input:hover,
.form-group select:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  background: var(--card-bg);
}

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  font-weight: 600;
}

.btn-secondary:hover:not(:disabled) {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.btn-secondary:active:not(:disabled) {
  transform: translateY(0);
}

/* Estilos para upload de foto */
.photo-upload {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

.photo-preview {
  width: 100%;
  height: 100%;
  border: 2px dashed var(--border-color);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  transition: all 0.3s;
  overflow: hidden;
}

.photo-preview:hover {
  border-color: var(--primary-color);
  background: var(--bg-main);
}

.photo-preview i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.photo-preview span {
  font-size: 0.75rem;
  text-align: center;
  padding: 0 1rem;
}

/* Estilos para assinatura digital */
.signature-container {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  margin-top: 1rem;
}

.signature-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.signature-pad {
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  background: white;
  cursor: crosshair;
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  touch-action: none;
}

.signature-pad:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.signature-controls {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.signature-info {
  text-align: center;
  padding: 0.75rem;
  background: var(--bg-main);
  border-radius: 0.375rem;
  border: 1px solid var(--border-color);
}

.signature-info small {
  color: var(--text-secondary);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Estilos para termos de uso */
.terms-container {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  margin-top: 1rem;
}

.checkbox-item {
  position: relative;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  background: var(--bg-main);
  border: 1px solid transparent;
}

.checkbox-item:hover {
  background: var(--bg-secondary);
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

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

/* Responsividade para mobile */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .form-section {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .section-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .form-group input,
  .form-group select {
    padding: 0.875rem;
    font-size: 1rem;
    min-height: 48px;
  }

  .photo-upload {
    width: 120px;
    height: 120px;
  }

  .photo-preview i {
    font-size: 2.5rem;
  }

  .form-actions {
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    justify-content: center;
  }

  .signature-pad {
    width: 100%;
    height: 200px;
  }

  .signature-controls {
    flex-direction: column;
    gap: 0.5rem;
  }

  .signature-controls .btn-secondary {
    width: 100%;
    margin: 0;
  }

  .checkbox-item {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .content-wrapper {
    padding: 0.75rem;
  }

  .content-header {
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .content-header h1 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }

  .subtitle {
    font-size: 0.875rem;
  }

  .content-section {
    padding: 0.75rem;
    margin: 0;
  }

  .form-section {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
  }

  .section-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .section-title i {
    font-size: 0.875rem;
  }

  .photo-upload {
    width: 100px;
    height: 100px;
  }

  .signature-pad {
    width: 100%;
    height: 180px;
  }

  .signature-info {
    padding: 0.5rem;
  }

  .signature-info small {
    font-size: 0.75rem;
  }
}
