* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f8ff;
  color: #102033;
}




.register-section {
  min-height: 100vh;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f4f8ff, #eaf4ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-container {
  width: 100%;
  max-width: 1100px;
}

.register-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 58, 140, 0.12);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.register-left {
  background:
    linear-gradient(135deg, rgba(0, 64, 150, 0.94), rgba(0, 145, 230, 0.88)),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-badge {
  display: inline-block;
  width: fit-content;
  background: #ffffff;
  color: #005bcc;
  padding: 9px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}

.register-left h1 {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.register-left p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 28px;
}

.mini-event-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mini-event-info div {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 15px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
}

.mini-event-info span {
  display: block;
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 6px;
}

.mini-event-info strong {
  font-size: 15px;
}

.register-right {
  padding: 42px;
}

.register-right h2 {
  font-size: 30px;
  color: #003b86;
  margin-bottom: 26px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #34495e;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #d8e6f7;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  color: #102033;
  background: #f8fbff;
}

.form-group input:focus {
  border-color: #005bcc;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 91, 204, 0.08);
}

.submit-btn {
  width: 100%;
  border: none;
  background: #005bcc;
  color: #ffffff;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
  margin-top: 8px;
}

.submit-btn:hover {
  background: #003f91;
  transform: translateY(-2px);
}

@media (max-width: 850px) {
  .register-card {
    grid-template-columns: 1fr;
  }

  .register-left h1 {
    font-size: 34px;
  }
}

@media (max-width: 520px) {
  .register-section {
    padding: 20px 12px;
  }

  .register-left,
  .register-right {
    padding: 26px;
  }

  .mini-event-info {
    grid-template-columns: 1fr;
  }

  .register-left h1 {
    font-size: 30px;
  }
}


.event-form-note {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #d8e6f7;
  border-radius: 12px;
  font-size: 15px;
  color: #4d5f73;
  background: #f8fbff;
  line-height: 1.6;
}






.payment-section {
  min-height: 100vh;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f4f8ff, #eaf4ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-container {
  width: 100%;
  max-width: 1050px;
}

.payment-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 58, 140, 0.12);
  overflow: hidden;
}

.payment-header {
  background:
    linear-gradient(135deg, rgba(0, 64, 150, 0.95), rgba(0, 145, 230, 0.88));
  color: #ffffff;
  padding: 42px;
}

.payment-header h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.payment-header p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 650px;
}

.blue-badge {
  background: #ffffff;
  color: #005bcc;
  margin-bottom: 18px;
}

.payment-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 36px;
}

.payment-summary,
.payment-box {
  border: 1px solid #dcecff;
  border-radius: 20px;
  padding: 26px;
  background: #f8fbff;
}

.payment-summary h2,
.payment-box h2 {
  font-size: 25px;
  color: #003b86;
  margin-bottom: 22px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #dcecff;
}

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

.summary-row span {
  color: #65758a;
  font-size: 14px;
}

.summary-row strong {
  color: #102033;
  font-size: 15px;
  text-align: right;
}

.amount-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #dcecff;
  margin-bottom: 22px;
}

.amount-box div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #edf5ff;
}

.amount-box div:last-child {
  border-bottom: none;
}

.amount-box span {
  color: #65758a;
  font-size: 14px;
}

.amount-box strong {
  color: #102033;
  font-size: 18px;
}

.total-row {
  margin-top: 8px;
  padding-top: 18px !important;
}

.total-row span,
.total-row strong {
  color: #005bcc;
  font-size: 20px;
  font-weight: 800;
}

.payment-options {
  display: grid;
  gap: 14px;
}

.credit-btn,
.razorpay-btn {
  width: 100%;
  border: none;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.credit-btn {
  background: #eaf4ff;
  color: #005bcc;
  border: 1px solid #b9dcff;
}

.credit-btn:hover {
  background: #d8ebff;
}

.razorpay-btn {
  background: #005bcc;
  color: #ffffff;
}

.razorpay-btn:hover {
  background: #003f91;
  transform: translateY(-2px);
}

.payment-note {
  font-size: 13px;
  color: #6b7c90;
  line-height: 1.5;
  margin-top: 18px;
  text-align: center;
}

@media (max-width: 850px) {
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .payment-header h1 {
    font-size: 34px;
  }
}

@media (max-width: 520px) {
  .payment-section {
    padding: 20px 12px;
  }

  .payment-header,
  .payment-layout {
    padding: 26px;
  }

  .payment-header h1 {
    font-size: 30px;
  }

  .summary-row {
    flex-direction: column;
    gap: 5px;
  }

  .summary-row strong {
    text-align: left;
  }
}








.thankyou-section {
  min-height: 100vh;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f4f8ff, #eaf4ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou-container {
  width: 100%;
  max-width: 720px;
}

.thankyou-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 46px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 58, 140, 0.12);
}

.success-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #e8fff2;
  color: #13a354;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  margin: 0 auto 18px;
}

.success-badge {
  background: #eaf4ff;
  color: #005bcc;
  margin-bottom: 18px;
}

.thankyou-card h1 {
  font-size: 46px;
  color: #003b86;
  margin-bottom: 10px;
}

.thankyou-message {
  color: #5d6f84;
  font-size: 17px;
  margin-bottom: 28px;
}

.confirmation-box {
  background: #f8fbff;
  border: 1px solid #dcecff;
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 26px;
  text-align: left;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #e3f0ff;
}

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

.confirm-row span {
  color: #65758a;
  font-size: 14px;
}

.confirm-row strong {
  color: #102033;
  font-size: 15px;
  text-align: right;
}

.paid-status {
  color: #13a354 !important;
}

.thankyou-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.whatsapp-btn,
.dashboard-btn {
  text-decoration: none;
  padding: 15px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  transition: 0.3s ease;
}

.whatsapp-btn {
  background: #25d366;
  color: #ffffff;
}

.dashboard-btn {
  background: #005bcc;
  color: #ffffff;
}

.whatsapp-btn:hover,
.dashboard-btn:hover {
  transform: translateY(-2px);
}

.small-note {
  color: #7a8ba0;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .thankyou-section {
    padding: 20px 12px;
  }

  .thankyou-card {
    padding: 30px 22px;
  }

  .thankyou-card h1 {
    font-size: 36px;
  }

  .thankyou-actions {
    grid-template-columns: 1fr;
  }

  .confirm-row {
    flex-direction: column;
    gap: 5px;
  }

  .confirm-row strong {
    text-align: left;
  }
}
















.admin-section {
  min-height: 100vh;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f4f8ff, #eaf4ff);
}

.admin-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.admin-header {
  background:
    linear-gradient(135deg, rgba(0, 64, 150, 0.96), rgba(0, 145, 230, 0.9));
  color: #ffffff;
  padding: 36px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
  box-shadow: 0 20px 60px rgba(0, 58, 140, 0.12);
}

.admin-header h1 {
  font-size: 40px;
  margin-bottom: 8px;
}

.admin-header p {
  opacity: 0.95;
  line-height: 1.6;
}

.admin-badge {
  background: #ffffff;
  color: #005bcc;
  margin-bottom: 14px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.admin-form-card,
.admin-preview-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 58, 140, 0.1);
}

.admin-form-card h2,
.admin-preview-card h2,
.registered-users-box h2 {
  font-size: 26px;
  color: #003b86;
  margin-bottom: 22px;
}

.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #d8e6f7;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  color: #102033;
  background: #f8fbff;
  resize: vertical;
}

.form-group select:focus,
.form-group textarea:focus {
  border-color: #005bcc;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 91, 204, 0.08);
}

.admin-preview-box {
  background: #f8fbff;
  border: 1px solid #dcecff;
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 28px;
}

.admin-preview-box h3 {
  font-size: 30px;
  color: #003b86;
  margin: 12px 0;
}

.admin-preview-box p {
  color: #5d6f84;
  line-height: 1.7;
  margin-bottom: 20px;
}

.admin-preview-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.admin-preview-details div {
  background: #ffffff;
  border: 1px solid #e3f0ff;
  border-radius: 14px;
  padding: 15px;
}

.admin-preview-details span {
  display: block;
  color: #65758a;
  font-size: 13px;
  margin-bottom: 6px;
}

.admin-preview-details strong {
  color: #102033;
  font-size: 15px;
}

.registered-users-box {
  background: #f8fbff;
  border: 1px solid #dcecff;
  border-radius: 22px;
  padding: 24px;
}

.user-mini-card {
  background: #ffffff;
  border: 1px solid #e3f0ff;
  border-radius: 14px;
  padding: 15px;
  margin-bottom: 12px;
}

.user-mini-card span {
  display: block;
  color: #65758a;
  font-size: 13px;
  margin-bottom: 6px;
}

.user-mini-card strong {
  color: #102033;
  font-size: 15px;
  word-break: break-word;
}

@media (max-width: 900px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-header h1 {
    font-size: 34px;
  }
}

@media (max-width: 520px) {
  .admin-section {
    padding: 20px 12px;
  }

  .admin-header,
  .admin-form-card,
  .admin-preview-card {
    padding: 24px;
  }

  .admin-preview-details {
    grid-template-columns: 1fr;
  }

  .admin-header h1 {
    font-size: 30px;
  }
}
.admin-panel-section {
  min-height: 100vh;
  background: #f4f8ff;
  display: grid;
  grid-template-columns: 260px 1fr;
  color: #102033;
}

.admin-sidebar {
  background: #003b86;
  color: #ffffff;
  padding: 28px 22px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-logo {
  margin-bottom: 34px;
}

.admin-logo h2 {
  font-size: 26px;
  margin-bottom: 4px;
}

.admin-logo p {
  font-size: 13px;
  opacity: 0.8;
}

.admin-menu {
  display: grid;
  gap: 10px;
}

.admin-menu a {
  color: #dcecff;
  text-decoration: none;
  padding: 13px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: 0.3s ease;
}

.admin-menu a:hover,
.admin-menu a.active {
  background: #ffffff;
  color: #005bcc;
}

.view-site-btn {
  display: block;
  margin-top: 30px;
  background: #ffffff;
  color: #005bcc;
  text-decoration: none;
  text-align: center;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 800;
}

.admin-main {
  padding: 34px;
}

.admin-topbar {
  background: linear-gradient(135deg, #005bcc, #0091e6);
  color: #ffffff;
  padding: 32px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
  box-shadow: 0 20px 60px rgba(0, 58, 140, 0.12);
}

.admin-small-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 13px;
  margin-bottom: 10px;
}

.admin-topbar h1 {
  font-size: 40px;
}

.admin-reset-btn {
  border: none;
  background: #ffffff;
  color: #d93025;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.admin-dashboard-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.admin-stat-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 58, 140, 0.08);
  border: 1px solid #dcecff;
}

.admin-stat-card span {
  display: block;
  color: #65758a;
  font-size: 14px;
  margin-bottom: 10px;
}

.admin-stat-card strong {
  color: #003b86;
  font-size: 34px;
}

.admin-content-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 24px;
  margin-bottom: 28px;
}

.admin-create-card,
.admin-list-card,
.admin-section-card,
.admin-coming-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 40px rgba(0, 58, 140, 0.08);
  border: 1px solid #dcecff;
}

.admin-create-card h2,
.admin-list-card h2,
.admin-section-card h2,
.admin-coming-card h2 {
  font-size: 26px;
  color: #003b86;
  margin-bottom: 22px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

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

.admin-table th {
  background: #eaf4ff;
  color: #003b86;
  text-align: left;
  padding: 14px;
  font-size: 14px;
}

.admin-table td {
  padding: 14px;
  border-bottom: 1px solid #e3f0ff;
  color: #102033;
  font-size: 14px;
}

.admin-table td strong {
  color: #003b86;
}

.status-active {
  background: #e8fff2;
  color: #13a354;
  padding: 7px 11px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
}

.status-inactive {
  background: #fff4e5;
  color: #d97706;
  padding: 7px 11px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
}

.delete-event-btn {
  border: none;
  background: #fff1f1;
  color: #d93025;
  padding: 9px 12px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

.admin-section-card {
  margin-bottom: 28px;
}

.admin-coming-card {
  margin-bottom: 18px;
}

.admin-coming-card p {
  color: #65758a;
  line-height: 1.6;
}

.empty-admin-message {
  color: #65758a;
  padding: 18px;
  text-align: center;
}

@media (max-width: 1050px) {
  .admin-panel-section {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }

  .admin-menu {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-dashboard-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .admin-main {
    padding: 20px 12px;
  }

  .admin-topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .admin-topbar h1 {
    font-size: 30px;
  }

  .admin-menu {
    grid-template-columns: 1fr;
  }

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

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

  .admin-create-card,
  .admin-list-card,
  .admin-section-card,
  .admin-coming-card {
    padding: 22px;
  }
}




.events-page-section {
  min-height: 100vh;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f4f8ff, #eaf4ff);
}

.events-page-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.events-page-header {
  background:
    linear-gradient(135deg, rgba(0, 64, 150, 0.96), rgba(0, 145, 230, 0.9));
  color: #ffffff;
  padding: 42px;
  border-radius: 28px;
  margin-bottom: 30px;
  box-shadow: 0 20px 60px rgba(0, 58, 140, 0.12);
}

.events-page-header h1 {
  font-size: 52px;
  margin-bottom: 14px;
}

.events-page-header p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 720px;
  opacity: 0.95;
  margin-bottom: 24px;
}

.events-header-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-open-btn,
.dashboard-open-btn {
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  transition: 0.3s ease;
}

.admin-open-btn {
  background: #ffffff;
  color: #005bcc;
}

.dashboard-open-btn {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.admin-open-btn:hover,
.dashboard-open-btn:hover {
  transform: translateY(-2px);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.dynamic-event-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 58, 140, 0.1);
  border: 1px solid #dcecff;
}

.dynamic-event-banner {
  min-height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.dynamic-event-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 64, 150, 0.55), rgba(0, 145, 230, 0.35));
}

.dynamic-event-tag {
  position: relative;
  z-index: 2;
  background: #ffffff;
  color: #005bcc;
  padding: 9px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
}

.dynamic-event-body {
  padding: 26px;
}

.dynamic-event-body h2 {
  font-size: 30px;
  color: #003b86;
  margin-bottom: 12px;
}

.dynamic-event-body p {
  color: #5d6f84;
  line-height: 1.7;
  margin-bottom: 20px;
}

.dynamic-event-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.dynamic-event-details div {
  background: #f8fbff;
  border: 1px solid #e3f0ff;
  padding: 14px;
  border-radius: 14px;
}

.dynamic-event-details span {
  display: block;
  color: #65758a;
  font-size: 12px;
  margin-bottom: 6px;
}

.dynamic-event-details strong {
  color: #102033;
  font-size: 14px;
}

.dynamic-countdown-box {
  background: #f3f8ff;
  border: 1px solid #dcecff;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 22px;
}

.dynamic-countdown-title {
  color: #003b86;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
}

.dynamic-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dynamic-countdown div {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  border: 1px solid #e3f0ff;
}

.dynamic-countdown strong {
  display: block;
  color: #005bcc;
  font-size: 22px;
  margin-bottom: 3px;
}

.dynamic-countdown span {
  color: #65758a;
  font-size: 11px;
}

.dynamic-event-actions {
  display: grid;
  grid-template-columns: 1fr;
}

.dynamic-register-btn {
  background: #005bcc;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  transition: 0.3s ease;
}

.dynamic-register-btn:hover {
  background: #003f91;
  transform: translateY(-2px);
}

.no-events-box {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 58, 140, 0.1);
}

.no-events-box h2 {
  color: #003b86;
  font-size: 30px;
  margin-bottom: 12px;
}

.no-events-box p {
  color: #65758a;
  line-height: 1.7;
  margin-bottom: 22px;
}

.no-events-box a {
  display: inline-block;
  background: #005bcc;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 800;
}

.event-ended-text {
  color: #d93025;
  font-weight: 800;
  text-align: center;
  padding: 12px;
  background: #fff1f1;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .events-grid {
    grid-template-columns: 1fr;
  }

  .events-page-header h1 {
    font-size: 42px;
  }
}

@media (max-width: 520px) {
  .events-page-section {
    padding: 20px 12px;
  }

  .events-page-header {
    padding: 28px;
  }

  .events-page-header h1 {
    font-size: 34px;
  }

  .events-page-header p {
    font-size: 15px;
  }

  .dynamic-event-body {
    padding: 22px;
  }

  .dynamic-event-details {
    grid-template-columns: 1fr;
  }

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

  .dynamic-event-body h2 {
    font-size: 26px;
  }
}







.physical-pass-box {
  margin-top: 22px;
  background: #ffffff;
  border: 1px dashed #005bcc;
  border-radius: 18px;
  padding: 20px;
}

.physical-pass-box h4 {
  color: #003b86;
  font-size: 20px;
  margin-bottom: 14px;
}

.pass-preview {
  background: #f8fbff;
  border: 1px solid #e3f0ff;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}

.pass-preview span {
  display: block;
  color: #65758a;
  font-size: 13px;
  margin-bottom: 6px;
}

.pass-preview strong {
  color: #005bcc;
  font-size: 22px;
  letter-spacing: 1px;
}

.physical-pass-box p {
  font-size: 14px;
  color: #5d6f84;
  line-height: 1.6;
  margin-bottom: 0 !important;
}







.admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.admin-section-head h2 {
  margin-bottom: 6px;
}

.admin-section-head p {
  color: #65758a;
  line-height: 1.6;
}

.export-btn {
  border: none;
  background: #005bcc;
  color: #ffffff;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.3s ease;
}

.export-btn:hover {
  background: #003f91;
  transform: translateY(-2px);
}

.registration-controls {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
  margin-bottom: 22px;
}

.payment-status-badge {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
}

.payment-paid {
  background: #e8fff2;
  color: #13a354;
}

.payment-pending {
  background: #fff4e5;
  color: #d97706;
}

.payment-failed {
  background: #fff1f1;
  color: #d93025;
}

.view-registration-btn {
  border: none;
  background: #eaf4ff;
  color: #005bcc;
  padding: 9px 12px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

.view-registration-btn:hover {
  background: #d8ebff;
}

.registration-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 32, 75, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.registration-modal.show {
  display: flex;
}

.registration-modal-content {
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 30px;
  position: relative;
  box-shadow: 0 24px 70px rgba(0, 32, 75, 0.25);
}

.registration-modal-content h2 {
  color: #003b86;
  font-size: 28px;
  margin-bottom: 22px;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #fff1f1;
  color: #d93025;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
}

.registration-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.registration-detail-item {
  background: #f8fbff;
  border: 1px solid #dcecff;
  border-radius: 14px;
  padding: 15px;
}

.registration-detail-item span {
  display: block;
  color: #65758a;
  font-size: 13px;
  margin-bottom: 6px;
}

.registration-detail-item strong {
  color: #102033;
  font-size: 15px;
  word-break: break-word;
}

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

@media (max-width: 720px) {
  .admin-section-head {
    flex-direction: column;
  }

  .registration-controls {
    grid-template-columns: 1fr;
  }

  .export-btn {
    width: 100%;
  }

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










.site-navbar {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #dcecff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 8px 30px rgba(0, 58, 140, 0.06);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.nav-logo {
  text-decoration: none;
  color: #003b86;
  font-size: 24px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: #4d5f73;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover {
  color: #005bcc;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-login-btn,
.nav-signup-btn {
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.3s ease;
}

.nav-login-btn {
  background: #eaf4ff;
  color: #005bcc;
  border: 1px solid #b9dcff;
}

.nav-signup-btn {
  background: #005bcc;
  color: #ffffff;
}

.nav-login-btn:hover,
.nav-signup-btn:hover {
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  border: none;
  background: #eaf4ff;
  color: #005bcc;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-container {
    flex-wrap: wrap;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    background: #f8fbff;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #dcecff;
  }

  .nav-links.show {
    display: flex;
  }
}

@media (max-width: 520px) {
  .nav-container {
    padding: 14px 12px;
  }

  .nav-logo {
    font-size: 21px;
  }

  .nav-login-btn,
  .nav-signup-btn {
    display: none;
  }
}





.auth-section {
  min-height: 100vh;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f4f8ff, #eaf4ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  width: 100%;
  max-width: 1050px;
}

.auth-card {
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  box-shadow: 0 20px 60px rgba(0, 58, 140, 0.12);
}

.auth-left {
  background:
    linear-gradient(135deg, rgba(0, 64, 150, 0.95), rgba(0, 145, 230, 0.88)),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-left h1 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.auth-left p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 26px;
}

.auth-back-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.auth-right {
  padding: 44px;
}

.auth-right h2 {
  font-size: 32px;
  color: #003b86;
  margin-bottom: 26px;
}

.auth-switch {
  text-align: center;
  color: #65758a;
  margin-top: 22px;
}

.auth-switch a {
  color: #005bcc;
  font-weight: 800;
  text-decoration: none;
}

.demo-login-note {
  margin-top: 22px;
  background: #f8fbff;
  border: 1px solid #dcecff;
  border-radius: 14px;
  padding: 16px;
  color: #5d6f84;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 850px) {
  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-left h1 {
    font-size: 36px;
  }
}

@media (max-width: 520px) {
  .auth-section {
    padding: 20px 12px;
  }

  .auth-left,
  .auth-right {
    padding: 28px;
  }

  .auth-left h1 {
    font-size: 31px;
  }

  .auth-right h2 {
    font-size: 28px;
  }
}


.nav-user-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-user-name {
  background: #f3f8ff;
  color: #003b86;
  border: 1px solid #dcecff;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-dashboard-btn,
.nav-admin-btn,
.nav-logout-btn {
  text-decoration: none;
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
}

.nav-dashboard-btn {
  background: #005bcc;
  color: #ffffff;
}

.nav-admin-btn {
  background: #003b86;
  color: #ffffff;
}

.nav-logout-btn {
  background: #fff1f1;
  color: #d93025;
}

.nav-dashboard-btn:hover,
.nav-admin-btn:hover,
.nav-logout-btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 650px) {
  .nav-user-box {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-user-name,
  .nav-dashboard-btn,
  .nav-admin-btn,
  .nav-logout-btn {
    flex: 1;
    text-align: center;
  }
}




.dashboard-header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.secondary-home-link {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.clear-demo-btn {
  width: 100%;
  border: none;
  background: #f3f8ff;
  color: #005bcc;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
}

.events-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.events-card-head h2 {
  margin-bottom: 0;
}

.events-card-head span {
  background: #eaf4ff;
  color: #005bcc;
  padding: 8px 13px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-event-list {
  display: grid;
  gap: 20px;
}

.dashboard-event-item {
  background: #f8fbff;
  border: 1px solid #dcecff;
  border-radius: 22px;
  padding: 24px;
}

.dashboard-event-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.dashboard-event-top h3 {
  color: #003b86;
  font-size: 26px;
  margin-top: 10px;
}

.dashboard-event-item p {
  color: #5d6f84;
  line-height: 1.7;
  margin-bottom: 20px;
}

.dashboard-event-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.dashboard-event-details div {
  background: #ffffff;
  border: 1px solid #e3f0ff;
  border-radius: 14px;
  padding: 14px;
}

.dashboard-event-details span {
  display: block;
  color: #65758a;
  font-size: 12px;
  margin-bottom: 6px;
}

.dashboard-event-details strong {
  color: #102033;
  font-size: 14px;
}

.dashboard-event-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dashboard-event-action-btn {
  text-decoration: none;
  text-align: center;
  border: none;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
}

.primary-action-btn {
  background: #005bcc;
  color: #ffffff;
}

.secondary-action-btn {
  background: #eaf4ff;
  color: #005bcc;
  border: 1px solid #b9dcff;
}

.dashboard-event-action-btn:hover {
  transform: translateY(-2px);
}

.no-dashboard-events {
  background: #f8fbff;
  border: 1px dashed #b9dcff;
  border-radius: 22px;
  padding: 32px;
  text-align: center;
}

.no-dashboard-events h3 {
  color: #003b86;
  font-size: 26px;
  margin-bottom: 10px;
}

.no-dashboard-events p {
  color: #65758a;
  line-height: 1.7;
  margin-bottom: 20px;
}

.no-dashboard-events a {
  display: inline-block;
  background: #005bcc;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 800;
}

.pass-mini-box {
  margin-top: 18px;
  background: #ffffff;
  border: 1px dashed #005bcc;
  border-radius: 16px;
  padding: 16px;
  display: none;
}

.pass-mini-box.show {
  display: block;
}

.pass-mini-box span {
  display: block;
  color: #65758a;
  font-size: 13px;
  margin-bottom: 6px;
}

.pass-mini-box strong {
  color: #005bcc;
  font-size: 22px;
  letter-spacing: 1px;
}

@media (max-width: 700px) {
  .dashboard-event-top {
    flex-direction: column;
  }

  .dashboard-event-details,
  .dashboard-event-actions {
    grid-template-columns: 1fr;
  }

  .events-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-header-actions {
    width: 100%;
  }

  .dashboard-header-actions .home-link {
    width: 100%;
    text-align: center;
  }
}

.dashboard-event-actions {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .dashboard-event-actions {
    grid-template-columns: 1fr;
  }
}


.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-user-info {
  background: #f3f8ff;
  border: 1px solid #dcecff;
  padding: 10px 14px;
  border-radius: 14px;
}

.admin-user-info span {
  display: block;
  color: #003b86;
  font-size: 14px;
  font-weight: 800;
}

.admin-user-info small {
  display: block;
  color: #65758a;
  font-size: 12px;
  margin-top: 3px;
}

.admin-logout-btn {
  border: none;
  background: #fff1f1;
  color: #d93025;
  padding: 12px 16px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
}

.admin-logout-btn:hover {
  background: #ffe2e2;
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .admin-topbar-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .admin-user-info,
  .admin-logout-btn,
  .admin-reset-btn {
    width: 100%;
    text-align: center;
  }
}



.profile-edit-form {
  background: #f8fbff;
  border: 1px solid #dcecff;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 22px;
}

.profile-edit-form .form-group {
  margin-bottom: 14px;
}

.profile-save-btn {
  width: 100%;
  border: none;
  background: #005bcc;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
}

.profile-save-btn:hover {
  background: #003f91;
  transform: translateY(-2px);
}






/* ============================= */
/* NEW USER DASHBOARD UI */
/* ============================= */

.new-dashboard-section {
  min-height: 100vh;
  background: #f4f8ff;
  display: grid;
  grid-template-columns: 310px 1fr;
  color: #102033;
}

/* Sidebar */
.dashboard-sidebar {
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  border-right: 1px solid #dcecff;
  padding: 28px 22px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.dashboard-brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #005bcc;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
}

.dashboard-brand span {
  color: #005bcc;
  font-size: 21px;
  font-weight: 900;
}

.sidebar-profile-card {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 22px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 14px 38px rgba(0, 58, 140, 0.08);
  margin-bottom: 22px;
}

.sidebar-avatar {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: linear-gradient(135deg, #005bcc, #00a2ff);
  color: #ffffff;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 900;
  border: 5px solid #eef6ff;
}

.sidebar-profile-card h2 {
  font-size: 24px;
  color: #102033;
  margin-bottom: 6px;
}

.sidebar-profile-card p {
  color: #65758a;
  font-size: 14px;
  margin-bottom: 13px;
  word-break: break-word;
}

.sidebar-member-badge {
  display: inline-block;
  background: #eaf4ff;
  color: #005bcc;
  padding: 8px 13px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-menu {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.dashboard-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #263b55;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  transition: 0.25s ease;
}

.dashboard-menu a span {
  width: 22px;
  text-align: center;
  color: #005bcc;
  font-size: 18px;
}

.dashboard-menu a:hover,
.dashboard-menu a.active {
  background: #eaf4ff;
  color: #005bcc;
}

.sidebar-profile-summary {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 14px 36px rgba(0, 58, 140, 0.07);
  margin-bottom: 22px;
}

.sidebar-profile-summary h3 {
  color: #102033;
  font-size: 18px;
  margin-bottom: 16px;
}

.sidebar-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #eef5ff;
}

.sidebar-summary-row:last-child {
  border-bottom: none;
}

.sidebar-summary-row span {
  color: #65758a;
  font-size: 13px;
}

.sidebar-summary-row strong {
  color: #102033;
  font-size: 14px;
  text-align: right;
}

.sidebar-logout-btn {
  width: 100%;
  border: none;
  background: #fff1f1;
  color: #d93025;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}

.sidebar-logout-btn:hover {
  background: #ffe2e2;
}

/* Main */
.dashboard-main-area {
  padding: 34px;
  overflow: hidden;
}

.dashboard-main-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 24px;
}

.dashboard-main-header h1 {
  font-size: 40px;
  color: #102033;
  margin-bottom: 8px;
}

.dashboard-main-header p {
  color: #5d6f84;
  font-size: 16px;
}

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

.dashboard-browse-btn,
.dashboard-login-btn {
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 900;
}

.dashboard-browse-btn {
  background: #005bcc;
  color: #ffffff;
}

.dashboard-login-btn {
  background: #eaf4ff;
  color: #005bcc;
  border: 1px solid #b9dcff;
}

/* Stats */
.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.dashboard-stat-card {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 20px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 14px 36px rgba(0, 58, 140, 0.07);
}

.stat-icon {
  min-width: 56px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  font-weight: 900;
}

.blue-stat-icon {
  background: #eaf4ff;
  color: #005bcc;
}

.green-stat-icon {
  background: #e8fff2;
  color: #13a354;
}

.purple-stat-icon {
  background: #f3eaff;
  color: #7438d8;
}

.orange-stat-icon {
  background: #fff3df;
  color: #f08a00;
}

.dashboard-stat-card span {
  display: block;
  color: #65758a;
  font-size: 13px;
  margin-bottom: 6px;
}

.dashboard-stat-card strong {
  display: block;
  color: #102033;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 7px;
}

.dashboard-stat-card small {
  color: #7a8ba0;
  font-size: 12px;
}

/* Panels */
.dashboard-panel {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(0, 58, 140, 0.07);
  margin-bottom: 24px;
}

.dashboard-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.dashboard-panel-head h2 {
  color: #102033;
  font-size: 24px;
  margin-bottom: 5px;
}

.dashboard-panel-head p {
  color: #65758a;
  font-size: 14px;
  line-height: 1.5;
}

/* Event Tools */
.dashboard-event-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-event-tools input,
.dashboard-event-tools select,
.month-selector-box select {
  border: 1px solid #d8e6f7;
  background: #ffffff;
  color: #102033;
  padding: 13px 14px;
  border-radius: 13px;
  font-size: 14px;
  outline: none;
}

.dashboard-event-tools input {
  min-width: 260px;
}

.dashboard-event-tools input:focus,
.dashboard-event-tools select:focus,
.month-selector-box select:focus {
  border-color: #005bcc;
  box-shadow: 0 0 0 4px rgba(0, 91, 204, 0.08);
}

/* Event Cards */
.new-dashboard-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.new-event-card {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 58, 140, 0.06);
}

.new-event-card-banner {
  min-height: 150px;
  background:
    linear-gradient(135deg, rgba(0, 64, 150, 0.8), rgba(0, 145, 230, 0.6)),
    url("https://images.unsplash.com/photo-1515169067865-5387ec356754?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.new-event-type-badge {
  background: #005bcc;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 900;
}

.new-event-type-badge.digital {
  background: #13a354;
}

.new-event-body {
  padding: 18px;
}

.new-event-body h3 {
  color: #102033;
  font-size: 19px;
  margin-bottom: 14px;
}

.new-event-meta {
  display: grid;
  gap: 9px;
  margin-bottom: 15px;
}

.new-event-meta div {
  color: #5d6f84;
  font-size: 13px;
  line-height: 1.5;
}

.new-event-status {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 16px;
}

.new-event-status.paid {
  background: #e8fff2;
  color: #13a354;
}

.new-event-status.pending {
  background: #fff3df;
  color: #f08a00;
}

.new-event-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.new-event-actions button {
  border: none;
  border-radius: 12px;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}

.new-event-actions button:hover {
  transform: translateY(-2px);
}

.new-event-outline-btn {
  background: #ffffff;
  color: #005bcc;
  border: 1px solid #b9dcff !important;
}

.new-event-primary-btn {
  background: #005bcc;
  color: #ffffff;
}

.no-dashboard-events {
  grid-column: 1 / -1;
}

/* Monthly Progress */
.monthly-progress-panel {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.month-selector-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.month-selector-box button {
  width: 42px;
  height: 42px;
  border: 1px solid #d8e6f7;
  background: #ffffff;
  color: #005bcc;
  border-radius: 12px;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.monthly-progress-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.monthly-progress-card {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 18px;
  padding: 18px;
}

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

.progress-card-top .stat-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  font-size: 18px;
}

.progress-card-top span {
  color: #4d5f73;
  font-size: 14px;
  font-weight: 800;
}

.monthly-progress-card strong {
  display: block;
  color: #102033;
  font-size: 24px;
  margin-bottom: 12px;
}

.progress-bar-track {
  width: 100%;
  height: 8px;
  background: #eaf0f8;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 9px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 50px;
  transition: 0.35s ease;
}

.blue-progress-fill {
  background: #005bcc;
}

.green-progress-fill {
  background: #13a354;
}

.purple-progress-fill {
  background: #7438d8;
}

.orange-progress-fill {
  background: #f08a00;
}

.monthly-progress-card small {
  color: #65758a;
  font-size: 13px;
  font-weight: 800;
}

.monthly-progress-note {
  background: #eaf4ff;
  color: #3f5f86;
  padding: 13px 15px;
  border-radius: 13px;
  font-size: 13px;
  margin-top: 16px;
}

/* Profile Edit */
.new-profile-edit-form {
  display: grid;
  gap: 6px;
}

.profile-edit-panel .profile-save-btn {
  max-width: 240px;
}

.dashboard-danger-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.dashboard-danger-panel h2 {
  color: #102033;
  margin-bottom: 5px;
}

.dashboard-danger-panel p {
  color: #65758a;
}

/* Responsive */


@media (max-width: 520px) {
  .new-event-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .dashboard-stats-grid,
  .monthly-progress-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .new-dashboard-events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .new-dashboard-section {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: relative;
    height: auto;
  }

  .dashboard-main-area {
    padding: 22px;
  }

  .dashboard-main-header,
  .dashboard-panel-head,
  .dashboard-danger-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-event-tools {
    width: 100%;
    flex-direction: column;
  }

  .dashboard-event-tools input,
  .dashboard-event-tools select {
    width: 100%;
    min-width: 100%;
  }

  .dashboard-header-actions {
    width: 100%;
  }

  .dashboard-browse-btn,
  .dashboard-login-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .dashboard-main-area {
    padding: 16px;
  }

  .dashboard-main-header h1 {
    font-size: 32px;
  }

  .dashboard-stats-grid,
  .new-dashboard-events-grid,
  .monthly-progress-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .dashboard-panel {
    padding: 18px;
  }

  .new-event-actions {
    grid-template-columns: 1fr;
  }

  .month-selector-box {
    width: 100%;
  }

  .month-selector-box select {
    width: 100%;
  }
}



/* ============================= */
/* PHYSICAL EVENT PASS MODAL */
/* ============================= */

.event-pass-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.event-pass-modal.show {
  display: flex;
}

.event-pass-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 36, 0.65);
  backdrop-filter: blur(8px);
}

.event-pass-modal-box {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  animation: passModalOpen 0.25s ease;
}

@keyframes passModalOpen {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.event-pass-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f1f6ff;
  color: #102033;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.event-pass-card {
  background:
    radial-gradient(circle at top right, rgba(0, 91, 204, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid #dcecff;
  border-radius: 24px;
  overflow: hidden;
}

.event-pass-header {
  background: linear-gradient(135deg, #003f91, #005bcc, #00a2ff);
  color: #ffffff;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.event-pass-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  padding: 7px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.event-pass-header h2 {
  font-size: 30px;
  margin: 0;
}

.event-pass-logo {
  min-width: 72px;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: #ffffff;
  color: #005bcc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.event-pass-body {
  padding: 28px;
}

.event-pass-user {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: 0 12px 30px rgba(0, 58, 140, 0.07);
}

.event-pass-avatar {
  min-width: 70px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #005bcc, #00a2ff);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
}

.event-pass-user h3 {
  color: #102033;
  font-size: 24px;
  margin-bottom: 5px;
}

.event-pass-user p {
  color: #65758a;
  font-size: 14px;
  margin-bottom: 5px;
}

.event-pass-user span {
  color: #005bcc;
  font-size: 14px;
  font-weight: 800;
}

.event-pass-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.event-pass-detail {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 16px;
  padding: 16px;
}

.event-pass-detail span {
  display: block;
  color: #65758a;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.event-pass-detail strong {
  display: block;
  color: #102033;
  font-size: 15px;
  line-height: 1.45;
}

.event-pass-qr-section {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: stretch;
  background: #f1f7ff;
  border: 1px dashed #9fcaff;
  border-radius: 20px;
  padding: 18px;
}

.event-pass-qr-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fake-qr-box {
  width: 138px;
  height: 138px;
  background:
    linear-gradient(90deg, #102033 10px, transparent 10px) 0 0 / 24px 24px,
    linear-gradient(#102033 10px, transparent 10px) 0 0 / 24px 24px,
    #ffffff;
  border: 8px solid #ffffff;
  outline: 2px solid #102033;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fake-qr-box span {
  background: #ffffff;
  color: #005bcc;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.event-pass-id-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-pass-id-box span {
  color: #65758a;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 7px;
}

.event-pass-id-box strong {
  color: #005bcc;
  font-size: 25px;
  word-break: break-all;
  margin-bottom: 8px;
}

.event-pass-id-box small {
  color: #52667d;
  font-size: 13px;
  line-height: 1.5;
}

.event-pass-footer {
  padding: 18px 28px 26px;
}

.event-pass-footer p {
  background: #fff8e8;
  border: 1px solid #ffe1a3;
  color: #8a5a00;
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 13px;
  line-height: 1.5;
}

.event-pass-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.event-pass-print-btn,
.event-pass-cancel-btn {
  border: none;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.event-pass-print-btn {
  background: #005bcc;
  color: #ffffff;
}

.event-pass-cancel-btn {
  background: #eef5ff;
  color: #005bcc;
}

/* Print pass only */
@media print {
  @page {
    size: A4 portrait;
    margin: 8mm;
  }

  html,
  body {
    width: 210mm;
    min-height: auto !important;
    background: #ffffff !important;
    overflow: hidden !important;
  }

  body * {
    visibility: hidden !important;
  }

  #eventPassCard,
  #eventPassCard * {
    visibility: visible !important;
  }

  #eventPassCard {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 190mm !important;
    max-width: 190mm !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    page-break-after: avoid !important;
    page-break-before: avoid !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .event-pass-modal,
  .event-pass-modal.show,
  .event-pass-modal-box {
    position: static !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .event-pass-actions,
  .event-pass-close-btn,
  .event-pass-modal-overlay,
  .dashboard-sidebar,
  .dashboard-main-area {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .event-pass-modal {
    padding: 12px;
  }

  .event-pass-modal-box {
    padding: 16px;
    border-radius: 22px;
  }

  .event-pass-header {
    padding: 22px;
  }

  .event-pass-header h2 {
    font-size: 24px;
  }

  .event-pass-logo {
    width: 58px;
    height: 58px;
    min-width: 58px;
    font-size: 22px;
  }

  .event-pass-body {
    padding: 20px;
  }

  .event-pass-user {
    flex-direction: column;
    text-align: center;
  }

  .event-pass-details-grid,
  .event-pass-qr-section {
    grid-template-columns: 1fr;
  }

  .event-pass-qr-box {
    min-height: 170px;
  }

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

  .event-pass-print-btn,
  .event-pass-cancel-btn {
    width: 100%;
  }
}










/* ============================= */
/* ADMIN CHECK-IN SYSTEM */
/* ============================= */

.admin-checkin-section {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 24px;
  padding: 26px;
  margin-top: 28px;
  box-shadow: 0 14px 36px rgba(0, 58, 140, 0.07);
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 24px;
}

.admin-section-label {
  display: inline-block;
  background: #eaf4ff;
  color: #005bcc;
  padding: 7px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.admin-section-header h2 {
  color: #102033;
  font-size: 26px;
  margin-bottom: 7px;
}

.admin-section-header p {
  color: #65758a;
  font-size: 14px;
  line-height: 1.5;
}

.checkin-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 22px;
  align-items: start;
}

.checkin-search-card,
.checkin-result-card {
  background: #f8fbff;
  border: 1px solid #dcecff;
  border-radius: 22px;
  padding: 22px;
}

.checkin-search-card h3 {
  color: #102033;
  font-size: 22px;
  margin-bottom: 8px;
}

.checkin-search-card p {
  color: #65758a;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.checkin-input-group {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.checkin-input-group input {
  width: 100%;
  border: 1px solid #d8e6f7;
  background: #ffffff;
  color: #102033;
  padding: 14px 15px;
  border-radius: 14px;
  font-size: 15px;
  outline: none;
}

.checkin-input-group input:focus {
  border-color: #005bcc;
  box-shadow: 0 0 0 4px rgba(0, 91, 204, 0.08);
}

.checkin-input-group button {
  border: none;
  background: #005bcc;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}

.checkin-input-group button:hover {
  background: #003f91;
  transform: translateY(-2px);
}

.checkin-search-card small {
  display: block;
  color: #7a8ba0;
  font-size: 13px;
  line-height: 1.5;
}

.empty-checkin-state {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #65758a;
}

.empty-checkin-icon {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: #eaf4ff;
  color: #005bcc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 18px;
}

.empty-checkin-state h3 {
  color: #102033;
  font-size: 22px;
  margin-bottom: 8px;
}

.empty-checkin-state p {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.5;
}

.checkin-user-details {
  display: none;
}

.checkin-user-details.show {
  display: block;
}

.checkin-user-top {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.checkin-avatar {
  min-width: 68px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #005bcc, #00a2ff);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
}

.checkin-user-top h3 {
  color: #102033;
  font-size: 23px;
  margin-bottom: 5px;
}

.checkin-user-top p {
  color: #65758a;
  font-size: 14px;
  margin-bottom: 5px;
}

.checkin-user-top span {
  color: #005bcc;
  font-size: 14px;
  font-weight: 800;
}

.checkin-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.checkin-detail-item {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 16px;
  padding: 15px;
}

.checkin-detail-item span {
  display: block;
  color: #65758a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 7px;
}

.checkin-detail-item strong {
  display: block;
  color: #102033;
  font-size: 15px;
  line-height: 1.4;
  word-break: break-word;
}

.checkin-status-message {
  background: #eaf4ff;
  color: #005bcc;
  border: 1px solid #b9dcff;
  padding: 13px 15px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

.checkin-status-message.success {
  background: #e8fff2;
  color: #13a354;
  border-color: #a8eec8;
}

.checkin-status-message.warning {
  background: #fff3df;
  color: #f08a00;
  border-color: #ffd79c;
}

.checkin-status-message.danger {
  background: #fff1f1;
  color: #d93025;
  border-color: #ffc6c6;
}

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

.mark-attended-btn,
.clear-checkin-btn {
  border: none;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}

.mark-attended-btn {
  background: #13a354;
  color: #ffffff;
}

.mark-attended-btn:hover {
  background: #0d843f;
  transform: translateY(-2px);
}

.mark-attended-btn:disabled {
  background: #a8b8ca;
  cursor: not-allowed;
  transform: none;
}

.clear-checkin-btn {
  background: #eef5ff;
  color: #005bcc;
}

.clear-checkin-btn:hover {
  background: #dcecff;
}

/* Responsive */
@media (max-width: 1100px) {
  .checkin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .admin-checkin-section {
    padding: 18px;
  }

  .checkin-user-top {
    flex-direction: column;
    text-align: center;
  }

  .checkin-details-grid {
    grid-template-columns: 1fr;
  }

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

  .mark-attended-btn,
  .clear-checkin-btn {
    width: 100%;
  }
}



/* ============================= */
/* ADMIN ATTENDANCE BADGES */
/* ============================= */

.attendance-status {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
}

.attendance-status.attended {
  background: #e8fff2;
  color: #13a354;
}

.attendance-status.not_attended {
  background: #fff3df;
  color: #f08a00;
}

.attendance-status.pending {
  background: #fff3df;
  color: #f08a00;
}




/* ============================= */
/* REAL QR CODE IN PASS */
/* ============================= */

.real-qr-box {
  width: 138px;
  height: 138px;
  background: #ffffff;
  border: 8px solid #ffffff;
  outline: 2px solid #102033;
  display: flex;
  align-items: center;
  justify-content: center;
}

.real-qr-box img,
.real-qr-box canvas {
  width: 120px !important;
  height: 120px !important;
  display: block;
}

@media print {
  .real-qr-box {
    width: 92px !important;
    height: 92px !important;
    border: 6px solid #ffffff !important;
  }

  .real-qr-box img,
  .real-qr-box canvas {
    width: 80px !important;
    height: 80px !important;
  }
}


/* ============================= */
/* ADMIN QR SCANNER CAMERA */
/* ============================= */

.qr-scanner-box {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 18px;
  padding: 18px;
  margin: 18px 0 14px;
}

.qr-scanner-head {
  margin-bottom: 14px;
}

.qr-scanner-head h4 {
  color: #102033;
  font-size: 18px;
  margin-bottom: 5px;
}

.qr-scanner-head p {
  color: #65758a;
  font-size: 13px;
  line-height: 1.5;
}

.qr-reader-area {
  width: 100%;
  min-height: 260px;
  background: #f1f7ff;
  border: 2px dashed #b9dcff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.qr-reader-placeholder {
  color: #65758a;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 20px;
}

#qrReader video {
  border-radius: 16px;
}

#qrReader {
  width: 100%;
}

#qrReader__dashboard_section {
  padding: 12px !important;
  background: #ffffff !important;
  border-top: 1px solid #dcecff !important;
}

#qrReader__dashboard_section button {
  background: #005bcc !important;
  color: #ffffff !important;
  border: none !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

#qrReader__scan_region {
  background: #f8fbff !important;
}

#qrReader__scan_region img {
  display: none !important;
}

.qr-scanner-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.qr-scanner-actions button {
  border: none;
  padding: 13px 14px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}

#startQrScannerBtn {
  background: #13a354;
  color: #ffffff;
}

#startQrScannerBtn:hover {
  background: #0d843f;
  transform: translateY(-2px);
}

#stopQrScannerBtn {
  background: #fff1f1;
  color: #d93025;
}

#stopQrScannerBtn:hover {
  background: #ffe2e2;
  transform: translateY(-2px);
}

.qr-scan-status {
  background: #eaf4ff;
  color: #005bcc;
  border: 1px solid #b9dcff;
  padding: 12px 14px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.qr-scan-status.success {
  background: #e8fff2;
  color: #13a354;
  border-color: #a8eec8;
}

.qr-scan-status.warning {
  background: #fff3df;
  color: #f08a00;
  border-color: #ffd79c;
}

.qr-scan-status.danger {
  background: #fff1f1;
  color: #d93025;
  border-color: #ffc6c6;
}

@media (max-width: 650px) {
  .qr-scanner-actions {
    grid-template-columns: 1fr;
  }

  .qr-reader-area {
    min-height: 220px;
  }
}


/* ============================= */
/* PREMIUM ADMIN DASHBOARD UI */
/* ============================= */

.premium-admin-dashboard {
  min-height: 100vh;
  background: #f4f8ff;
  display: grid;
  grid-template-columns: 310px 1fr;
  color: #102033;
}

/* Sidebar */
.premium-admin-sidebar {
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  border-right: 1px solid #dcecff;
  padding: 28px 22px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.premium-admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.premium-admin-brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #005bcc;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
}

.premium-admin-brand strong {
  display: block;
  color: #005bcc;
  font-size: 22px;
  line-height: 1.1;
}

.premium-admin-brand span {
  color: #65758a;
  font-size: 13px;
  font-weight: 800;
}

.premium-admin-profile {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 22px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 14px 38px rgba(0, 58, 140, 0.08);
  margin-bottom: 22px;
}

.premium-admin-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #005bcc, #00a2ff);
  color: #ffffff;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 900;
  border: 5px solid #eef6ff;
}

.premium-admin-profile h2 {
  color: #102033;
  font-size: 22px;
  margin-bottom: 6px;
}

.premium-admin-profile p {
  color: #65758a;
  font-size: 14px;
  margin-bottom: 12px;
}

.premium-admin-profile span {
  display: inline-block;
  background: #eaf4ff;
  color: #005bcc;
  padding: 8px 13px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 900;
}

.premium-admin-menu {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.premium-admin-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #263b55;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  transition: 0.25s ease;
}

.premium-admin-menu a span {
  width: 24px;
  text-align: center;
  color: #005bcc;
  font-size: 18px;
}

.premium-admin-menu a:hover,
.premium-admin-menu a.active {
  background: #eaf4ff;
  color: #005bcc;
}

.premium-admin-logout {
  width: 100%;
  border: none;
  background: #fff1f1;
  color: #d93025;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}

.premium-admin-logout:hover {
  background: #ffe2e2;
}

/* Main */
.premium-admin-main {
  padding: 34px;
  overflow: hidden;
}

.premium-admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.premium-admin-label,
.premium-admin-section-label {
  display: inline-block;
  background: #eaf4ff;
  color: #005bcc;
  padding: 7px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.premium-admin-header h1 {
  color: #102033;
  font-size: 40px;
  margin-bottom: 8px;
}

.premium-admin-header p {
  color: #5d6f84;
  font-size: 16px;
  line-height: 1.5;
  max-width: 700px;
}

.premium-admin-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.premium-admin-view-btn,
.admin-reset-btn {
  text-decoration: none;
  border: none;
  padding: 13px 18px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.premium-admin-view-btn {
  background: #005bcc;
  color: #ffffff;
}

.admin-reset-btn {
  background: #fff3df;
  color: #f08a00;
}

/* Stats */
.premium-admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.premium-admin-stat-card {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 20px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 14px 36px rgba(0, 58, 140, 0.07);
}

.premium-admin-stat-icon {
  min-width: 56px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  font-weight: 900;
}

.premium-admin-stat-icon.blue {
  background: #eaf4ff;
  color: #005bcc;
}

.premium-admin-stat-icon.green {
  background: #e8fff2;
  color: #13a354;
}

.premium-admin-stat-icon.purple {
  background: #f3eaff;
  color: #7438d8;
}

.premium-admin-stat-icon.orange {
  background: #fff3df;
  color: #f08a00;
}

.premium-admin-stat-card span {
  display: block;
  color: #65758a;
  font-size: 13px;
  margin-bottom: 6px;
}

.premium-admin-stat-card strong {
  display: block;
  color: #102033;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 7px;
}

.premium-admin-stat-card small {
  color: #7a8ba0;
  font-size: 12px;
}

/* Panels */
.premium-admin-panel {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(0, 58, 140, 0.07);
  margin-bottom: 24px;
}

.premium-admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.premium-admin-panel-head h2 {
  color: #102033;
  font-size: 25px;
  margin-bottom: 6px;
}

.premium-admin-panel-head p {
  color: #65758a;
  font-size: 14px;
  line-height: 1.5;
}

/* Event Management */
.premium-event-management-grid {
  display: grid;
  grid-template-columns: minmax(360px, 520px) 1fr;
  gap: 22px;
  align-items: start;
}

.premium-event-form {
  background: #f8fbff;
  border: 1px solid #dcecff;
  border-radius: 22px;
  padding: 22px;
}

.premium-admin-primary-btn,
.premium-admin-secondary-btn {
  border: none;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}

.premium-admin-primary-btn {
  width: 100%;
  background: #005bcc;
  color: #ffffff;
}

.premium-admin-primary-btn:hover {
  background: #003f91;
  transform: translateY(-2px);
}

.premium-admin-secondary-btn {
  background: #eaf4ff;
  color: #005bcc;
  border: 1px solid #b9dcff;
}

.premium-admin-secondary-btn:hover {
  background: #dcecff;
}

/* Tables */
.premium-admin-table-card {
  background: #f8fbff;
  border: 1px solid #dcecff;
  border-radius: 22px;
  padding: 18px;
  overflow: hidden;
}

.premium-table-head {
  margin-bottom: 16px;
}

.premium-table-head h3 {
  color: #102033;
  font-size: 21px;
  margin-bottom: 5px;
}

.premium-table-head p {
  color: #65758a;
  font-size: 14px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

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

.admin-table th {
  background: #eaf4ff;
  color: #005bcc;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 14px;
  text-align: left;
  white-space: nowrap;
}

.admin-table th:first-child {
  border-top-left-radius: 14px;
}

.admin-table th:last-child {
  border-top-right-radius: 14px;
}

.admin-table td {
  background: #ffffff;
  border-bottom: 1px solid #edf4ff;
  color: #263b55;
  padding: 15px 14px;
  font-size: 14px;
  vertical-align: top;
}

.admin-table td strong {
  display: block;
  color: #102033;
  font-size: 14px;
  margin-bottom: 5px;
}

.admin-table td small {
  display: block;
  color: #65758a;
  font-size: 12px;
  line-height: 1.4;
}

.admin-table tr:hover td {
  background: #fbfdff;
}

.empty-table-message {
  text-align: center;
  color: #65758a !important;
  padding: 30px !important;
}

.admin-event-type-badge {
  display: inline-block;
  background: #eaf4ff;
  color: #005bcc;
  padding: 7px 11px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 900;
}

.payment-status {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
  margin-bottom: 5px;
}

.payment-status.success,
.payment-status.paid {
  background: #e8fff2;
  color: #13a354;
}

.payment-status.warning,
.payment-status.pending {
  background: #fff3df;
  color: #f08a00;
}

.payment-status.failed,
.payment-status.danger {
  background: #fff1f1;
  color: #d93025;
}

.view-registration-btn,
.delete-event-btn {
  border: none;
  padding: 10px 13px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}

.view-registration-btn {
  background: #eaf4ff;
  color: #005bcc;
}

.view-registration-btn:hover {
  background: #dcecff;
}

.delete-event-btn {
  background: #fff1f1;
  color: #d93025;
}

.delete-event-btn:hover {
  background: #ffe2e2;
}

/* Registration tools */
.premium-registration-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.premium-registration-tools input,
.premium-registration-tools select {
  border: 1px solid #d8e6f7;
  background: #ffffff;
  color: #102033;
  padding: 13px 14px;
  border-radius: 13px;
  font-size: 14px;
  outline: none;
}

.premium-registration-tools input {
  flex: 1;
}

.premium-registration-tools select {
  min-width: 220px;
}

.premium-registration-tools input:focus,
.premium-registration-tools select:focus {
  border-color: #005bcc;
  box-shadow: 0 0 0 4px rgba(0, 91, 204, 0.08);
}

/* Placeholder cards */
.premium-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.premium-placeholder-card {
  background: #f8fbff;
  border: 1px solid #dcecff;
  border-radius: 20px;
  padding: 22px;
}

.premium-placeholder-card h3 {
  color: #102033;
  font-size: 20px;
  margin-bottom: 8px;
}

.premium-placeholder-card strong {
  display: block;
  color: #005bcc;
  font-size: 22px;
  margin-bottom: 8px;
}

.premium-placeholder-card p {
  color: #65758a;
  font-size: 14px;
  line-height: 1.5;
}

/* Modal polish */
.registration-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.registration-modal.show {
  display: flex;
}

.registration-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 36, 0.65);
  backdrop-filter: blur(8px);
}

.registration-modal-box {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.registration-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f1f6ff;
  color: #102033;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.registration-modal-head {
  margin-bottom: 22px;
}

.registration-modal-head h2 {
  color: #102033;
  font-size: 26px;
  margin-bottom: 6px;
}

.registration-modal-head p {
  color: #65758a;
  font-size: 14px;
}

.registration-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.registration-detail-item {
  background: #f8fbff;
  border: 1px solid #dcecff;
  border-radius: 16px;
  padding: 15px;
}

.registration-detail-item span {
  display: block;
  color: #65758a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 7px;
}

.registration-detail-item strong {
  display: block;
  color: #102033;
  font-size: 15px;
  line-height: 1.4;
  word-break: break-word;
}

/* Responsive */
@media (max-width: 1250px) {
  .premium-admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .premium-event-management-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 950px) {
  .premium-admin-dashboard {
    grid-template-columns: 1fr;
  }

  .premium-admin-sidebar {
    position: relative;
    height: auto;
  }

  .premium-admin-main {
    padding: 22px;
  }

  .premium-admin-header,
  .premium-admin-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .premium-admin-header-actions {
    width: 100%;
  }

  .premium-admin-view-btn,
  .admin-reset-btn {
    flex: 1;
    text-align: center;
  }

  .premium-registration-tools {
    flex-direction: column;
  }

  .premium-registration-tools input,
  .premium-registration-tools select {
    width: 100%;
    min-width: 100%;
  }
}

@media (max-width: 650px) {
  .premium-admin-main {
    padding: 16px;
  }

  .premium-admin-header h1 {
    font-size: 32px;
  }

  .premium-admin-stats,
  .premium-placeholder-grid,
  .registration-detail-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .premium-admin-panel {
    padding: 18px;
  }

  .premium-admin-header-actions {
    flex-direction: column;
  }

  .premium-admin-view-btn,
  .admin-reset-btn {
    width: 100%;
  }
}








@media (max-width: 950px) {
  .premium-admin-sidebar {
    padding: 20px 16px;
  }

  .premium-admin-menu {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 8px;
    margin-bottom: 18px;
    scroll-snap-type: x mandatory;
  }

  .premium-admin-menu a {
    min-width: max-content;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .premium-admin-menu::-webkit-scrollbar {
    height: 4px;
  }

  .premium-admin-menu::-webkit-scrollbar-thumb {
    background: #b9dcff;
    border-radius: 50px;
  }

  .premium-admin-profile {
    padding: 18px 14px;
  }

  .premium-admin-avatar {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}





@media (max-width: 950px) {
  .dashboard-sidebar {
    padding: 20px 16px;
  }

  .dashboard-menu {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 8px;
    margin-bottom: 18px;
    scroll-snap-type: x mandatory;
  }

  .dashboard-menu a {
    min-width: max-content;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .dashboard-menu::-webkit-scrollbar {
    height: 4px;
  }

  .dashboard-menu::-webkit-scrollbar-thumb {
    background: #b9dcff;
    border-radius: 50px;
  }

  .sidebar-profile-card {
    padding: 18px 14px;
  }

  .sidebar-avatar {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }
}



@media (max-width: 768px) {
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
  }

  .admin-table {
    min-width: 900px;
  }

  .premium-admin-table-card {
    padding: 12px;
  }

  .admin-table th,
  .admin-table td {
    padding: 12px 10px;
    font-size: 13px;
  }

  .admin-table td strong {
    font-size: 13px;
  }

  .admin-table td small {
    font-size: 11px;
  }

  .view-registration-btn,
  .delete-event-btn {
    padding: 9px 11px;
    font-size: 12px;
  }
}


@media (max-width: 520px) {
  .form-group {
    margin-bottom: 16px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 14px;
    font-size: 14px;
    border-radius: 12px;
  }

  .submit-btn,
  .premium-admin-primary-btn,
  .profile-save-btn,
  .credit-btn,
  .razorpay-btn {
    padding: 15px 16px;
    font-size: 15px;
    border-radius: 13px;
  }

  .register-card,
  .payment-card,
  .auth-card,
  .thankyou-card {
    border-radius: 20px;
  }
}



@media (max-width: 520px) {
  .dynamic-event-banner {
    min-height: 180px;
    padding: 18px;
  }

  .dynamic-event-body {
    padding: 20px;
  }

  .dynamic-event-body h2 {
    font-size: 24px;
    line-height: 1.25;
  }

  .dynamic-event-body p {
    font-size: 14px;
    line-height: 1.6;
  }

  .dynamic-event-details div {
    padding: 13px;
  }

  .dynamic-countdown-box {
    padding: 15px;
  }

  .dynamic-countdown strong {
    font-size: 20px;
  }

  .dynamic-register-btn {
    padding: 15px 16px;
    font-size: 15px;
  }
}



@media (max-width: 520px) {
  .event-pass-modal {
    padding: 12px;
  }

  .event-pass-modal-box {
    width: 100%;
    max-width: 100%;
    padding: 14px;
    border-radius: 20px;
  }

  .event-pass-card {
    border-radius: 18px;
  }

  .event-pass-header {
    padding: 18px;
    gap: 14px;
  }

  .event-pass-header h2 {
    font-size: 22px;
  }

  .event-pass-logo {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .event-pass-body {
    padding: 18px;
  }

  .event-pass-user {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-pass-avatar {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }

  .event-pass-details-grid {
    grid-template-columns: 1fr;
  }

  .event-pass-qr-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-pass-actions {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 520px) {
  .events-page-header,
  .payment-header {
    border-radius: 22px;
  }

  .events-page-header h1,
  .payment-header h1,
  .thankyou-card h1 {
    line-height: 1.15;
  }

  .events-header-actions,
  .thankyou-actions,
  .payment-options {
    gap: 12px;
  }

  .event-badge {
    font-size: 12px;
    padding: 8px 13px;
  }
}




html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
canvas {
  max-width: 100%;
}

button,
a,
input,
select,
textarea {
  max-width: 100%;
}

strong,
p,
span,
small,
h1,
h2,
h3 {
  word-break: break-word;
}





.premium-events-hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.premium-events-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -80px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  max-width: 760px;
}

.hero-content p {
  max-width: 760px;
}

.hero-feature-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.hero-feature-card {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 18px;
  color: #ffffff;
  box-shadow: 0 16px 38px rgba(0, 32, 75, 0.12);
}

.hero-feature-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #005bcc;
  border-radius: 13px;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
}

.hero-feature-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 5px;
}

.hero-feature-card small {
  display: block;
  font-size: 13px;
  opacity: 0.88;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .premium-events-hero {
    grid-template-columns: 1fr;
  }

  .hero-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .hero-feature-grid {
    grid-template-columns: 1fr;
  }

  .premium-events-hero {
    gap: 22px;
  }
}




.dynamic-event-badges {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.registration-open-badge {
  background: #e8fff2;
  color: #13a354;
  padding: 9px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 32, 75, 0.12);
}

@media (max-width: 520px) {
  .dynamic-event-badges {
    justify-content: flex-start;
  }

  .registration-open-badge,
  .dynamic-event-tag {
    font-size: 12px;
    padding: 8px 13px;
  }
}


.success-icon {
  animation: successPop 0.7s ease both;
}

.thankyou-card {
  animation: cardFadeUp 0.6s ease both;
}

@keyframes successPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  70% {
    transform: scale(1.12);
    opacity: 1;
  }

  100% {
    transform: scale(1);
  }
}

@keyframes cardFadeUp {
  0% {
    transform: translateY(18px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}






.how-it-works-section {
  margin-bottom: 30px;
}

.section-title-box {
  text-align: center;
  margin: 10px auto 26px;
  max-width: 720px;
}

.section-title-box span {
  display: inline-block;
  background: #eaf4ff;
  color: #005bcc;
  padding: 9px 15px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-title-box h2 {
  color: #003b86;
  font-size: 34px;
  margin-bottom: 10px;
}

.section-title-box p {
  color: #65758a;
  line-height: 1.7;
  font-size: 15px;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}

.how-step-card {
  background: #ffffff;
  border: 1px solid #dcecff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(0, 58, 140, 0.07);
  transition: 0.3s ease;
}

.how-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 58, 140, 0.12);
}

.how-step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #005bcc, #00a2ff);
  color: #ffffff;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 18px;
}

.how-step-card h3 {
  color: #003b86;
  font-size: 20px;
  margin-bottom: 10px;
}

.how-step-card p {
  color: #65758a;
  line-height: 1.6;
  font-size: 14px;
}

@media (max-width: 950px) {
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .section-title-box h2 {
    font-size: 28px;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
}





.dynamic-event-card {
  transition: 0.3s ease;
}

.dynamic-event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(0, 58, 140, 0.16);
}

.dynamic-event-card:hover .dynamic-event-banner::before {
  background: linear-gradient(135deg, rgba(0, 64, 150, 0.7), rgba(0, 145, 230, 0.42));
}

.dynamic-register-btn {
  position: relative;
  overflow: hidden;
}

.dynamic-register-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.22);
  transform: skewX(-22deg);
  transition: 0.5s ease;
}

.dynamic-register-btn:hover::after {
  left: 120%;
}





.featured-events-section {
  margin-bottom: 34px;
}

.home-slider-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 16px;
  align-items: center;
}

.home-slider-window {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.home-events-slider-track {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 24px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.home-events-slider-track .dynamic-event-card {
  flex: 0 0 calc((100% - 24px) / 2);
}

.home-slider-btn {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: #005bcc;
  font-size: 34px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(0, 58, 140, 0.12);
  transition: 0.25s ease;
}

.home-slider-btn:hover {
  background: #005bcc;
  color: #ffffff;
  transform: translateY(-2px);
}

.home-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
}

.home-slider-dots button {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: #b9dcff;
  cursor: pointer;
  transition: 0.25s ease;
}

.home-slider-dots button.active {
  width: 28px;
  border-radius: 50px;
  background: #005bcc;
}

.home-all-events-action {
  text-align: center;
  margin-top: 24px;
}

.home-all-events-action a {
  display: inline-block;
  background: #005bcc;
  color: #ffffff;
  text-decoration: none;
  padding: 15px 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  transition: 0.25s ease;
}

.home-all-events-action a:hover {
  background: #003f91;
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .home-slider-wrapper {
    grid-template-columns: 42px 1fr 42px;
    gap: 10px;
  }

  .home-events-slider-track .dynamic-event-card {
    flex: 0 0 100%;
  }

  .home-slider-btn {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }
}

@media (max-width: 520px) {
  .home-slider-wrapper {
    grid-template-columns: 1fr;
  }

  .home-slider-btn {
    display: none;
  }

  .home-slider-dots {
    margin-top: 16px;
  }
}



.mobile-auth-link {
  display: none;
}

@media (max-width: 820px) {
  .nav-links .mobile-auth-link {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    text-align: center;
  }

  .nav-links .mobile-login-link {
    background: #eaf4ff;
    color: #005bcc;
    border: 1px solid #b9dcff;
  }

  .nav-links .mobile-signup-link {
    background: #005bcc;
    color: #ffffff;
  }
}