/* ========================================
   BODY AND CONTAINER STYLES
   ======================================== */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: #f9fafb;
  color: #111827;
  line-height: 1.6;
}

.main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .main-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .main-container {
    padding: 0 2rem;
  }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
  margin-bottom: 2rem;
}

.page-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: #6b7280;
  font-size: 1rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-gradient {
  background: linear-gradient(to right, #f97316, #ea580c);
}

.hero-section {
  padding: 2rem 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-section {
    padding: 3rem 1rem;
  }
}

.hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
  overflow-wrap: break-word;
}

.hero-subtitle {
  font-size: 1rem;
  color: #fed7aa;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .page-title {
    font-size: 2.25rem;
  }
}

/* ========================================
   HERO/PAGE SEARCH BAR
   ======================================== */
.search-container {
  max-width: 42rem;
  margin: 0 -0.5rem;
}

@media (min-width: 640px) {
  .search-container {
    margin: 0 auto;
  }
}

.search-wrapper {
  display: flex;
  width: 100%;
}

.search-wrapper form {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-width: 0;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .search-wrapper form {
    gap: 0.75rem;
  }
}

.search-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 0.75rem 0.875rem;
  border-radius: 0.5rem;
  border: none;
  color: #111827;
  font-size: 0.9375rem;
  outline: none;
  line-height: 1.5;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .search-input {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }
}

.search-input:focus {
  box-shadow: 0 0 0 2px #ffffff;
  outline: 2px solid #9a3412;
  outline-offset: 2px;
}

.search-input::placeholder {
  color: #6b7280;
}

.search-btn {
  background-color: #9a3412;
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

@media (min-width: 640px) {
  .search-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

.search-btn:hover {
  background-color: #7c2d12;
  color: #ffffff;
}

/* ========================================
   FILTER SECTION (For Pages with Filters)
   ======================================== */
.filter-section {
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

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

@media (min-width: 768px) {
  .filter-wrapper {
    flex-direction: row;
  }
}

.filter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #111827;
  transition: all 0.2s;
}

.filter-input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.filter-input::placeholder {
  color: #9ca3af;
}

.filter-select {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #111827;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-select:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* ========================================
   SECTION STYLES
   ======================================== */
.events-section {
  margin-bottom: 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 2rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #6b7280;
  font-size: 1.125rem;
}

/* ========================================
   EVENTS GRID
   ======================================== */
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 0 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 2rem;
  }
}

/* ========================================
   LOAD MORE BUTTON
   ======================================== */
.load-more-section {
  text-align: center;
  margin-top: 3rem;
}

.load-more-btn {
  background-color: #f97316;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
}

.load-more-btn:hover {
  background-color: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(249, 115, 22, 0.2);
}

.load-more-btn:active {
  transform: translateY(0);
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  background: linear-gradient(to right, #ec4899, #a855f7);
  border-radius: 0.75rem;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
  color: #ffffff;
}

.cta-banner-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-banner-text {
  color: #fce7f3;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.cta-banner-btn {
  background-color: #ffffff;
  color: #ec4899;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.cta-banner-btn:hover {
  background-color: #f9fafb;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ========================================
   CALL TO ACTION SECTION
   ======================================== */
.cta-section {
  text-align: center;
  margin-top: 3rem;
  padding: 0 1rem;
}

.cta-btn-primary {
  background-color: #f97316;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  transition: all 0.2s;
  border: 2px solid #f97316;
}

.cta-btn-primary:hover {
  background-color: #ffffff;
  color: #f97316;
}

.cta-btn-primary:focus {
  outline: 2px solid #f97316;
  outline-offset: 2px;
}

.cta-btn-secondary {
  background-color: #9a3412;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  margin-left: 0.75rem;
  transition: all 0.2s;
  border: 2px solid #9a3412;
}

.cta-btn-secondary:hover {
  background-color: #ffffff;
  color: #9a3412;
}

.cta-btn-secondary:focus {
  outline: 2px solid #9a3412;
  outline-offset: 2px;
}

/* ========================================
   EVENT PAGE SPECIFIC STYLES
   ======================================== */

/* Event Hero Section */
.event-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .event-hero-grid {
    grid-template-columns: 7fr 3fr;
  }
}

.event-hero-image {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  object-fit: cover;
}

.event-info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.title-page {
  font-size: 1.875rem;
  line-height: 2rem;
  color: #9a3412;
  font-weight: 700;
}

.event-group-name {
  font-size: 1.25rem;
  line-height: 1.5rem;
  color: #9a3412;
  font-weight: 700;
}

@media (min-width: 768px) {
  .event-title {
    font-size: 2.25rem;
  }

  .title-page {
    font-size: 1.875rem;
    line-height: 2.25rem;
    color: #9a3412;
    font-weight: 700;
  }

  .event-group-name {
    font-size: 1.25rem;
    line-height: 1.5rem;
    color: #9a3412;
    font-weight: 700;
  }
}

.event-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.event-rating-score {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
}

.event-rating-link {
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s;
}

.event-rating-link:hover {
  color: #111827;
  text-decoration: underline;
}

.event-meta {
  color: #374151;
  line-height: 1.8;
}

.event-meta p {
  margin-bottom: 0.5rem;
}

/* Action Buttons */
.event-join-btn {
  width: 100%;
  background-color: #dc2626;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.event-join-btn:hover {
  background-color: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(220, 38, 38, 0.2);
}

.event-join-btn:active {
  transform: translateY(0);
}

.event-report-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #dc2626;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.event-report-btn:hover {
  background-color: #f9fafb;
}

/* Share Section */
.event-share-section {
  margin-bottom: 1rem;
}

.event-share-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #374151;
}

.event-share-icons {
  display: flex;
  gap: 0.75rem;
}

.event-share-link {
  color: #6b7280;
  padding: 0.5rem;
  border-radius: 9999px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-share-link:hover {
  color: #111827;
  background-color: #f3f4f6;
}

.event-share-link svg {
  width: 20px;
  height: 20px;
}

/* Main Content Layout */
.event-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .event-content-grid {
    grid-template-columns: 7fr 3fr;
  }
}

/* Details Section */
.event-details-section {
  margin-bottom: 3rem;
}

.event-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}

.event-description {
  white-space: pre-line;
  color: #374151;
  line-height: 1.8;
}

/* Upcoming Events Grid */
.event-upcoming-section {
  margin-bottom: 2rem;
}

.event-upcoming-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .event-upcoming-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.event-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.2s;
  background-color: #ffffff;
}

.event-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.event-card-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

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

.event-card-title {
  font-weight: 600;
  font-size: 1.125rem;
  color: #111827;
  margin-bottom: 0.5rem;
}

.event-card-date,
.event-card-location,
.event-card-attendees {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

/* Sidebar Sections */
.event-sidebar {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-sidebar-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  background-color: #ffffff;
}

.event-sidebar-title {
  font-weight: 600;
  font-size: 1.125rem;
  color: #111827;
  margin-bottom: 1rem;
}

/* Organizers Section */
.event-organizer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.event-organizer-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  object-fit: cover;
}

.event-organizer-name {
  font-weight: 600;
  color: #111827;
}

.event-message-btn {
  width: 100%;
  border: 1px solid #d1d5db;
  color: #374151;
  background-color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.event-message-btn:hover {
  background-color: #f9fafb;
}

/* Photos Section */
.event-photos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.event-photos-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s;
}

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

.event-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.event-photo {
  width: 100%;
  height: 4rem;
  border-radius: 0.375rem;
  object-fit: cover;
}

/* Members Section */
.event-members-count {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.event-members-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

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

/* ========================================
   AUTH NAVBAR (Simple header for auth pages)
   ======================================== */
.auth-navbar {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.auth-navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-logo-link {
    display: flex;
    align-items: center;
}

.auth-logo {
    height: 40px;
    width: auto;
}

.auth-link {
    color: #6b7280;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-link span {
    color: #f97316;
    font-weight: 600;
    margin-left: 0.25rem;
}

.auth-link:hover {
    color: #111827;
}

.auth-link:hover span {
    color: #ea580c;
}

/* ========================================
   AUTH TABS
   ======================================== */
.auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #6b7280;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
}

.auth-tab:hover {
    color: #f97316;
}

.auth-tab.active {
    color: #f97316;
    border-bottom-color: #f97316;
}

.auth-form-container {
    display: none;
}

.auth-form-container.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* ========================================
   SIGN UP CONTAINER
   ======================================== */
.signup-container {
    min-height: calc(100vh - 73px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background-color: #f9fafb;
}

.signup-wrapper {
    max-width: 1200px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .signup-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========================================
   FORM SECTION (Left Side)
   ======================================== */
.signup-form-section {
    padding: 3rem 2rem;
}

@media (min-width: 640px) {
    .signup-form-section {
        padding: 3rem 3rem;
    }
}

@media (min-width: 1024px) {
    .signup-form-section {
        padding: 4rem;
    }
}

.signup-form-content {
    max-width: 448px;
    margin: 0 auto;
}

.signup-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.signup-subtitle {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* ========================================
   ALERTS
   ======================================== */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.alert-success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

.alert-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.alert-success .alert-icon {
    color: #10b981;
}

.alert-error .alert-icon {
    color: #ef4444;
}

.alert-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.alert-success .alert-title {
    color: #047857;
}

.alert-error .alert-title {
    color: #dc2626;
}

.alert-message {
    font-size: 0.875rem;
}

.alert-success .alert-message {
    color: #065f46;
}

.alert-error .alert-message {
    color: #991b1b;
}

.alert-list {
    list-style: disc;
    margin-left: 1.25rem;
    font-size: 0.875rem;
    color: #991b1b;
}

.alert-list li {
    margin-bottom: 0.25rem;
}

/* ========================================
   FORM STYLES
   ======================================== */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.form-link-small {
    font-size: 0.75rem;
    color: #f97316;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.form-link-small:hover {
    color: #ea580c;
    text-decoration: underline;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #111827;
    transition: all 0.2s;
    background-color: #ffffff;
}

.form-input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.375rem;
}

/* Password Input with Toggle */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #374151;
}

.eye-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Checkbox */
.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox {
    width: 1rem;
    height: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    cursor: pointer;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.form-checkbox:checked {
    accent-color: #f97316;
}

.form-checkbox-label {
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.form-link {
    color: #f97316;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.form-link:hover {
    color: #ea580c;
    text-decoration: underline;
}

.form-link-bold {
    color: #f97316;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.form-link-bold:hover {
    color: #ea580c;
}

/* ========================================
   BUTTONS
   ======================================== */
.signup-btn {
    width: 100%;
    background-color: #f97316;
    color: #ffffff;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.signup-btn:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(249, 115, 22, 0.2);
}

.signup-btn:active {
    transform: translateY(0);
}

.signup-btn:focus {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

/* ========================================
   DIVIDER
   ======================================== */
.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e5e7eb;
}

.divider-text {
    position: relative;
    display: inline-block;
    background-color: #ffffff;
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* ========================================
   SOCIAL BUTTONS
   ======================================== */
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.social-btn:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ========================================
   SIGN IN LINK
   ======================================== */
.signin-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* ========================================
   BENEFITS SECTION (Right Side)
   ======================================== */
.signup-benefits-section {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    padding: 3rem 2rem;
    color: #ffffff;
    display: none;
}

@media (min-width: 1024px) {
    .signup-benefits-section {
        display: block;
    }
}

.signup-benefits-content {
    max-width: 448px;
    margin: 0 auto;
    padding-top: 2rem;
}

.benefits-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.benefits-subtitle {
    color: #fed7aa;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* ========================================
   BENEFITS LIST
   ======================================== */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.benefit-description {
    color: #fed7aa;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ========================================
   TESTIMONIAL
   ======================================== */
.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.testimonial-role {
    color: #fed7aa;
    font-size: 0.75rem;
}

/* ========================================
   LOGIN PAGE STATS
   ======================================== */
.login-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #fed7aa;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-12 {
  margin-top: 3rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   EMPTY STATE
   ======================================== */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: #6b7280;
}

.empty-state-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #9a3412;
  margin-bottom: 0.5rem;
}

.empty-state-text {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* ========================================
   NO RESULTS STATE
   ======================================== */
.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b7280;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #d1d5db;
}

.no-results-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.no-results-text {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ========================================
   SMOOTH SCROLLING
   ======================================== */
html {
  scroll-behavior: smooth;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

.slide-in-up {
  animation: slideInUp 0.4s ease-out;
}

.signup-form-content {
    animation: fadeInUp 0.5s ease-out;
}

.signup-benefits-content {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   LOADING SPINNER
   ======================================== */
.loading-spinner {
  border: 3px solid #f3f4f6;
  border-top: 3px solid #f97316;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 0.8s linear infinite;
  margin: 2rem auto;
}

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

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */
@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .md\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   RESPONSIVE EVENT PAGE ADJUSTMENTS
   ======================================== */
@media (max-width: 767px) {
  .event-sidebar {
    position: static;
  }

  .event-title {
    font-size: 1.5rem;
  }

  .title-page {
    font-size: 1.875rem;
    line-height: 2.25rem;
    color: #9a3412;
    font-weight: 700;
  }

  .event-group-name {
    font-size: 1.25rem;
    line-height: 1.5rem;
    color: #9a3412;
    font-weight: 700;
  }

  .event-section-title {
    font-size: 1.25rem;
  }
}

/* ========================================
   RESPONSIVE SIGNUP PAGE ADJUSTMENTS
   ======================================== */
@media (max-width: 639px) {
    .signup-form-section {
        padding: 2rem 1.5rem;
    }

    .signup-title {
        font-size: 1.5rem;
    }

    .social-buttons {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.event-join-btn:focus,
.event-message-btn:focus,
.event-report-btn:focus {
  outline: 2px solid #f97316;
  outline-offset: 2px;
}

.event-share-link:focus {
  outline: 2px solid #f97316;
  outline-offset: 2px;
  border-radius: 9999px;
}

.form-checkbox:focus {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

.social-btn:focus {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .event-share-section,
  .event-report-btn,
  .event-join-btn {
    display: none;
  }
}