* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #000;
  color: #fff;
}

/* Shared page background (all pages except Team Panel) */
body.site-page {
  min-height: 100vh;
}

body.site-page::before,
body.site-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body.site-page::before {
  z-index: -2;
  background: url("/images/background.png") center / cover no-repeat fixed;
}

body.site-page::after {
  z-index: -1;
  background: rgba(0, 0, 0, 0.726);
}

/* Team Panel background (separate custom image) */
body.team-panel-page {
  min-height: 100vh;
}

body.team-panel-page::before,
body.team-panel-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body.team-panel-page::before {
  z-index: -2;
  background: url("/images/background2.png") center / cover no-repeat fixed;
}

body.team-panel-page::after {
  z-index: -1;
  background: rgba(0, 0, 0, 0.72);
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background: rgba(0, 0, 0, 0.397);
  z-index: 1000;
}

/* Language Selector Styles */
.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-btn img {
  width: 20px;
  height: auto;
  border-radius: 2px;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-btn:hover img {
  opacity: 1;
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lang-btn.active img {
  opacity: 1;
}

.lang-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  user-select: none;
}

.header-inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.header-left {
  display: flex;
  align-items: center;
  justify-self: start;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  min-width: 0;
}

.header-logo-link {
  display: inline-flex;
  line-height: 0;
}

.logo-img {
  width: 38px;
}

.logo-text span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

.nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 14px;
  font-size: 15px;
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.nav-group-item[hidden] {
  display: none !important;
}

.nav-apply--driver-hidden .nav-group-dropdown {
  min-width: 220px;
}

.nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0 14px;
}

.nav-group-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  opacity: 0.9;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav-group-trigger:hover,
.nav-group.is-open .nav-group-trigger,
.nav-group.is-active .nav-group-trigger {
  opacity: 1;
}

.nav-group-icon,
.nav-group-item-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav-group-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.nav-group.is-open .nav-group-chevron {
  transform: rotate(180deg);
}

.nav-group-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(18, 18, 18, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 1100;
}

.nav-group-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.88;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.nav-group-item:hover,
.nav-group-item.is-active {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.nav-group-item-icon {
  opacity: 0.7;
}

/* Blinking/pulsing status indicators for open applications */
.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}


@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.pulse-indicator--red {
  background-color: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}


.badge-pulse {
  background-color: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: auto;
  letter-spacing: 0.5px;
  animation: badge-glow 2s infinite ease-in-out;
}

@keyframes badge-glow {
  0%, 100% {
    opacity: 0.6;
    box-shadow: 0 0 4px rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
    border-color: rgba(16, 185, 129, 0.6);
  }
}

.badge-pulse--red {
  background-color: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  animation: badge-glow-red 2s infinite ease-in-out;
}

@keyframes badge-glow-red {
  0%, 100% {
    opacity: 0.6;
    box-shadow: 0 0 4px rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
    border-color: rgba(239, 68, 68, 0.6);
  }
}



.discord-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  background: #5865f2;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.discord-login-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

.discord-login-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.header-auth-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-user-menu {
  position: relative;
}

.header-notifications {
  position: relative;
}

.header-notifications-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.header-notifications-trigger:hover,
.header-notifications-trigger.is-active {
  background: rgba(255, 255, 255, 0.12);
}

.header-notifications-trigger.has-unread {
  background: rgba(231, 76, 60, 0.14);
  box-shadow: 0 0 0 1px rgba(231, 76, 60, 0.25);
}

.header-notifications-trigger.has-unread:hover,
.header-notifications-trigger.has-unread.is-active {
  background: rgba(231, 76, 60, 0.22);
  box-shadow: 0 0 18px rgba(231, 76, 60, 0.35);
}

.header-notifications-icon {
  width: 22px;
  height: 22px;
}

.header-notifications-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  border: 2px solid #121212;
  background: linear-gradient(145deg, #ff6b6b 0%, #e74c3c 55%, #c0392b 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow:
    0 0 10px rgba(231, 76, 60, 0.75),
    0 2px 6px rgba(0, 0, 0, 0.35);
  animation: header-notif-badge-glow 2.2s ease-in-out infinite;
}

.header-notifications-trigger.has-unread::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.55);
  animation: header-notif-ring-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes header-notif-badge-glow {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 8px rgba(231, 76, 60, 0.65),
      0 2px 6px rgba(0, 0, 0, 0.35);
  }
  50% {
    transform: scale(1.1);
    box-shadow:
      0 0 16px rgba(255, 107, 107, 0.95),
      0 0 28px rgba(231, 76, 60, 0.45),
      0 2px 8px rgba(0, 0, 0, 0.4);
  }
}

@keyframes header-notif-ring-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
  }
}

.header-notifications-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 24px));
  max-height: 420px;
  overflow: hidden;
  flex-direction: column;
  border-radius: 12px;
  background: rgba(18, 18, 18, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 1100;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.header-notifications-dropdown[hidden] {
  display: none !important;
}

.header-notifications-dropdown.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.header-notifications-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-notifications-head strong {
  font-size: 14px;
  font-weight: 700;
  padding-top: 2px;
}

.header-notifications-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 10px;
}

.header-notifications-action {
  border: none;
  background: none;
  color: #a8c7ff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}

.header-notifications-action:hover {
  text-decoration: underline;
}

.header-notifications-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.header-notifications-action--danger {
  color: #ff8a8a;
}

.header-notifications-action--danger:hover {
  color: #ff6b6b;
}

.header-notifications-list {
  overflow-y: auto;
  padding: 6px;
}

.header-notifications-empty {
  margin: 0;
  padding: 18px 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  text-align: center;
}

.header-notification-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.header-notification-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-notification-item.is-unread {
  background: rgba(168, 199, 255, 0.08);
}

.header-notification-title {
  font-size: 13px;
  font-weight: 700;
}

.header-notification-body {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.header-notification-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.header-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 4px 4px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.header-user-trigger:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.header-user-name {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-user-chevron {
  width: 16px;
  height: 16px;
  opacity: 0.8;
  flex-shrink: 0;
}

.header-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(18, 18, 18, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 1100;
}

.header-user-link {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  color: #a8c7ff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  transition: background 0.2s ease;
}

.header-user-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-user-logout {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.header-user-logout:hover {
  background: rgba(231, 76, 60, 0.2);
  color: #ff8a7a;
}

.tp-access-denied {
  min-height: 100vh;
  padding: 120px 24px 48px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.tp-access-denied h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.tp-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  padding-top: 70px;
}

.tp-sidebar {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 20px;
}

.tp-sidebar-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.55;
  margin-bottom: 6px;
}

.tp-sidebar-user {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  opacity: 0.9;
}

/* Sidebar Header */
.tp-sidebar-header {
  margin-bottom: 16px;
}

/* Sidebar Profile Card */
.tp-sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.tp-sidebar-profile:hover {
  background: rgba(231, 76, 60, 0.04);
  border-color: rgba(231, 76, 60, 0.2);
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.1);
  transform: translateY(-2px);
}

/* Avatar Wrapper with Status dot */
.tp-sidebar-avatar-wrapper {
  position: relative;
  display: flex;
}

.tp-sidebar-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.tp-sidebar-profile:hover .tp-sidebar-avatar {
  border-color: #e74c3c;
  transform: rotate(5deg) scale(1.05);
}

.tp-status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: #2ecc71; /* active green */
  border: 2px solid #141414; /* matching dark background to give cut-out look */
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.6);
}

/* Profile Info details */
.tp-sidebar-profile-info {
  display: flex;
  flex-direction: column;
  min-width: 0; /* allows text truncation if name is too long */
}

.tp-sidebar-username {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.tp-sidebar-role {
  font-size: 10px;
  font-weight: 600;
  color: #e74c3c; /* VTC Red accent */
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tp-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tp-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tp-nav-group-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.45;
  margin: 0 0 8px;
  padding: 0 6px;
}

.tp-nav-group-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tp-nav-empty {
  margin: 0;
  padding: 10px 14px;
  font-size: 13px;
  opacity: 0.45;
  font-style: italic;
}

.tp-home-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  max-width: 520px;
}

.tp-home-card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.tp-home-card p {
  margin: 0;
  opacity: 0.75;
  line-height: 1.6;
}

.tp-home-legend {
  margin: 16px 0 0;
  padding-left: 20px;
  opacity: 0.7;
  line-height: 1.7;
  font-size: 14px;
}

.tp-menu-item {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tp-nav-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  flex-shrink: 0;
}

.tp-nav-badge[hidden] {
  display: none;
}

.tp-menu-item:hover,
.tp-menu-item.is-active {
  background: rgba(255, 255, 255, 0.1);
}

.tp-main {
  padding: 32px 28px 48px;
  overflow-x: auto;
  overflow-y: visible;
}

.tp-flash {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  border: 1px solid transparent;
}

.tp-flash--success {
  background: rgba(46, 204, 113, 0.12);
  border-color: rgba(46, 204, 113, 0.35);
  color: #7dffb0;
}

.tp-flash--error {
  background: rgba(231, 76, 60, 0.12);
  border-color: rgba(231, 76, 60, 0.4);
  color: #ff9a8a;
}

.tp-view-header h1 {
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 8px;
}

.tp-view-header p {
  opacity: 0.7;
  margin-bottom: 24px;
  max-width: 720px;
}

.tp-table-wrap {
  overflow-x: auto;
  overflow-y: visible;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.tp-table th,
.tp-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tp-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.6;
}

.tp-user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tp-user-avatar {
  border-radius: 50%;
  object-fit: cover;
}

.tp-role-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: color-mix(in srgb, var(--role-color) 25%, transparent);
  border: 1px solid var(--role-color);
  color: #fff;
}

.tp-user-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  min-width: 200px;
}

.tp-role-dropdown {
  position: relative;
  min-width: 160px;
  flex: 1;
  z-index: 1;
}

.tp-role-dropdown.is-open {
  z-index: 10001;
}

.tp-role-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
}

.tp-role-dropdown-trigger:hover,
.tp-role-dropdown.is-open .tp-role-dropdown-trigger {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.tp-role-dropdown-label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.tp-role-dropdown-placeholder {
  opacity: 0.55;
  white-space: nowrap;
}

.tp-role-dropdown-more {
  font-size: 11px;
  opacity: 0.7;
  white-space: nowrap;
}

.tp-role-dropdown-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.tp-role-dropdown.is-open .tp-role-dropdown-chevron {
  transform: rotate(180deg);
}

.tp-role-dropdown-panel {
  display: none;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #141820;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  max-height: 220px;
}

.tp-role-dropdown-panel:not([hidden]) {
  display: flex;
}

.tp-role-dropdown-scroll {
  flex: 1 1 auto;
  min-height: 0;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.tp-role-dropdown-scroll::-webkit-scrollbar {
  width: 6px;
}

.tp-role-dropdown-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.tp-role-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.tp-role-option:hover {
  background: rgba(255, 255, 255, 0.06);
}

.tp-role-option-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.tp-role-option-mark {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  background: transparent;
  position: relative;
}

.tp-role-option-input:checked + .tp-role-option-mark {
  border-color: #5865f2;
  background: #5865f2;
}

.tp-role-option-input:checked + .tp-role-option-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.tp-role-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
}

.tp-role-check input {
  accent-color: #5865f2;
}

.tp-role-badge--inline {
  font-size: 12px;
  padding: 3px 8px;
}

.tp-role-empty {
  margin: 0;
  font-size: 12px;
}

.tp-perm-indicators {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 110px;
}

.tp-perm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  opacity: 0.4;
  white-space: nowrap;
}

.tp-perm-chip.is-on {
  opacity: 1;
  color: #a8f0c0;
}

.tp-perm-icon {
  display: inline-flex;
  width: 14px;
  justify-content: center;
  font-weight: 700;
}

.tp-select,
.tp-input {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
}

.tp-input--inline {
  min-width: 120px;
}

.tp-input--narrow {
  width: 80px;
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: none;
  border-radius: 8px;
  background: #5865f2;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.tp-btn:hover {
  background: #4752c4;
}

.tp-btn--small {
  padding: 7px 12px;
  font-size: 12px;
}

.tp-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
}

.tp-btn--danger {
  background: #c0392b;
  margin-left: 6px;
}

.tp-btn--success {
  background: #27ae60;
}

.tp-btn--success:hover {
  background: #219a52;
}

.tp-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tp-icon-btn svg {
  width: 18px;
  height: 18px;
}

.tp-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.tp-app-actions {
  text-align: right;
  width: 56px;
}

.tp-app-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tp-app-status--pending {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
}

.tp-app-status--claimed {
  background: rgba(52, 152, 219, 0.15);
  color: #5dade2;
}

.tp-app-status--accepted {
  background: rgba(46, 204, 113, 0.15);
  color: #7dffb0;
}

.tp-app-status--rejected {
  background: rgba(231, 76, 60, 0.15);
  color: #ff9a8a;
}

.tp-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tp-modal[hidden] {
  display: none;
}

.tp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.tp-modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141820;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.tp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-modal-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.tp-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.tp-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tp-modal-body {
  padding: 20px;
  overflow-y: auto;
}

.tp-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-modal-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.tp-app-meta p {
  margin: 0 0 8px;
  font-size: 14px;
}

.tp-app-responses {
  margin-top: 20px;
}

.tp-app-responses h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.tp-app-response-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.tp-app-response-q {
  opacity: 0.65;
}

.tp-app-response-a {
  font-weight: 600;
  text-align: right;
}

.tp-back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14px;
}

.tp-back-link:hover {
  color: #fff;
}

.tp-app-detail-card {
  margin-top: 8px;
  padding: 24px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tp-app-detail-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}

.tp-app-detail-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.tp-app-reject-reason {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.28);
  line-height: 1.55;
}

.tp-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.tp-dialog {
  width: min(480px, 100%);
  padding: 24px;
  border-radius: 14px;
  background: #121820;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.tp-dialog h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.tp-dialog textarea {
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
  resize: vertical;
  min-height: 110px;
}

.tp-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.tp-muted {
  opacity: 0.5;
  font-size: 13px;
}

.tp-role-form {
  margin-bottom: 28px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-role-form h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

.tp-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}

.tp-form-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  opacity: 0.8;
}

.tp-checkbox-label {
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
}

.tp-loa-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
}

.tp-loa-status {
  color: #a8c7ff;
  margin-bottom: 16px;
}

.tp-loa-placeholder h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.tp-loa-placeholder ul {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.tp-loa-form {
  margin-bottom: 32px;
}

.tp-loa-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.tp-loa-form input,
.tp-loa-form textarea {
  font-weight: 400;
  width: 100%;
  max-width: 420px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
}

.tp-form-row--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.tp-loa-my-requests h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.tp-loa-reason {
  white-space: pre-wrap;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .tp-layout {
    grid-template-columns: 1fr;
  }

  .tp-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .tp-menu,
  .tp-nav-group-items {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    padding: 0 20px;
    gap: 12px;
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
  }

  .header-right {
    justify-self: end;
  }
}

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero-content h2 {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 400;
  opacity: 0.9;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
}

.badge {
  background: rgba(255,255,255,0.15);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
}

.apply-btn {
  background: rgba(255,255,255,0.85);
  color: #000;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
/* GENEL GEÇİŞ */
.apply-btn,
.badge {
  transition: 
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease,
    color 0.25s ease;
}

/* APPLY NOW */
.apply-btn {
  background: rgba(255,255,255,0.85);
  color: #000;
}

.apply-btn:hover {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(255,255,255,0.35);
  transform: translateY(-2px) scale(1.02);
}

/* BADGE HOVER */
.badge:hover {
  background: rgba(255,255,255,0.28);
  box-shadow: 0 6px 20px rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

/* TIKLAMA HİSSİ */
.apply-btn:active,
.badge:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}
.badge-logo {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-logo img {
  height: 20px;   /* burayla oynayarak boyut ayarlarsın */
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.badge-logo:hover img {
  opacity: 1;
  transform: scale(1.08);
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
}
.hero-title {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero-title .night {
  color: #a3a3a3; /* siyah */
}

.hero-title .way {
  color: rgb(97, 97, 97); /* gri */
  margin-left: 2px;
}

.hero-title .logistics {
  color: rgb(134, 134, 134); /* gri */
  margin-left: 2px;
}
.hero-title .beyond {
  color: rgb(134, 134, 134); /* gri */
  margin-left: 2px;
}

/* EVENTS SECTION */
.events-section {
  padding: 50px 20px 20px;
  min-height: 100vh;
  position: relative;
}

.events-container {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0);
  border-radius: 15px;
  padding: 40px 60px;
  position: relative;
  z-index: 1;
}

.events-title {
  text-align: center;
  font-size: 38px;
  margin-bottom: 26px;
  font-weight: 800;
  position: relative;
  padding-bottom: 16px;
}

.events-title::after {
  content: "";
  display: block;
  width: 220px;
  height: 2px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}

.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 380px));
  justify-content: center;
  gap: 25px;
}

/* EVENT CARD */
.event-card {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 14px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.8);
}

.event-card:hover {
  transform: scale(1.015);
}

/* IMAGE */
.event-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* CONTENT */
.event-content {
  padding: 20px;
}

.event-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.event-info {
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.5;
}

.attendance-boxes {
  display: flex;
  gap: 12px;
  margin: 10px 0;
}

.attendance-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 10px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  min-height: 36px;
}

.event-buttons {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slot-btn,
.event-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  background: #bfbfbf;
  color: #000;
  text-align: center;
  text-decoration: none;
  padding: 12px 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.slot-btn:hover,
.event-btn:hover {
  opacity: 0.9;
}

@media (max-width: 1200px) {
  .events-container {
    padding: 30px 20px;
  }

  .event-list {
    grid-template-columns: repeat(auto-fill, minmax(340px, 340px));
    justify-content: center;
  }

  .events-title {
    font-size: 34px;
  }
}

@media (max-width: 700px) {
  .events-section {
    padding: 90px 12px 20px;
  }

  .events-title {
    font-size: 30px;
  }
}

@media (max-width: 420px) {
  .event-list {
    grid-template-columns: minmax(0, 1fr);
    max-width: min(380px, 100%);
    margin-inline: auto;
  }
}

/* ABOUT */
.about-section {
  padding: 88px 32px 56px;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.about-panel {
  position: relative;
  z-index: 1;
  width: min(1580px, 96vw);
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.about-title {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  margin: 0;
  padding-bottom: 16px;
}

.about-title::after {
  content: "";
  display: block;
  width: 220px;
  height: 2px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}

.about-intro {
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 52px 72px;
  text-align: center;
}

.about-intro p {
  font-size: 21px;
  line-height: 1.9;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.94);
  margin: 0 auto;
}

.about-intro strong {
  font-weight: 700;
  color: #fff;
}

.about-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-stat-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 40px 28px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-height: 165px;
  justify-content: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.about-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
}

.about-stat-value {
  font-size: 62px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.about-stat-label {
  font-size: 17px;
  font-weight: 500;
  opacity: 0.78;
}

.about-partners-title {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin: 8px 0 0;
  width: 100%;
}

.about-partners {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  padding: 4px 0 8px;
}

.about-partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: min(260px, 100%);
  min-height: 290px;
  padding: 32px 28px 24px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.about-partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.62);
}

.about-partner-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.about-partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-partner-logo .about-partner-fallback {
  font-size: 28px;
  font-weight: 800;
  opacity: 0.7;
}

.about-partner-name {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 8px;
}

.about-partner-owner {
  font-size: 15px;
  opacity: 0.72;
  text-align: center;
  margin: 0 0 4px;
}

.about-partner-owner strong {
  font-weight: 700;
  color: #fff;
  opacity: 1;
}

.about-partner-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  width: 100%;
}

.about-partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.about-partner-badge--verified {
  background: linear-gradient(180deg, #e74c3c 0%, #c0392b 100%);
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.35);
}

.about-partner-badge--validated {
  background: linear-gradient(180deg, #f1c40f 0%, #d4ac0d 100%);
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(212, 172, 13, 0.35);
}

.about-partner-badge svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-partner-badge--verified svg {
  stroke: #fff;
}

.about-partners-empty {
  text-align: center;
  opacity: 0.6;
  font-size: 17px;
  width: 100%;
}

@media (max-width: 1100px) {
  .about-intro p {
    font-size: 18px;
  }

  .about-stat-value {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 78px 16px 40px;
  }

  .about-panel {
    width: 100%;
    gap: 28px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .about-intro {
    padding: 32px 24px;
  }

  .about-intro p {
    font-size: 16px;
    line-height: 1.75;
  }

  .about-title {
    font-size: 30px;
  }

  .about-partners-title {
    font-size: 30px;
  }

  .about-stat-value {
    font-size: 40px;
  }

  .about-stat-label {
    font-size: 14px;
  }

  .about-stat-card {
    min-height: 120px;
    padding: 28px 16px 24px;
  }
}

/* GALLERY */
.gallery-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 82px 16px 24px;
  position: relative;
}

.gallery-title {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
  flex-shrink: 0;
}

.gallery-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
}

.gallery-container {
  position: relative;
  z-index: 1;
  flex: 1;
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 0 8px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-subtitle {
  text-align: center;
  font-size: 15px;
  opacity: 0.85;
  margin-top: 8px;
}

.gallery-subtitle code {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92em;
}

.gallery-carousel {
  width: 100%;
  max-width: 1400px;
}

.gallery-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.gallery-viewport {
  position: relative;
  width: 100%;
  height: min(calc(100vh - 210px), 860px);
  max-height: calc(100vh - 210px);
  overflow: hidden;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.55));
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-slide a:hover img {
  transform: scale(1.015);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0.85;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.gallery-nav--prev {
  left: 12px;
}

.gallery-nav--next {
  right: 12px;
}

.gallery-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-viewport:hover .gallery-nav {
  opacity: 1;
}

.gallery-nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.08);
}

.gallery-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.gallery-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
}

.gallery-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}

.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.gallery-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.gallery-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

.gallery-counter {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  opacity: 0.55;
  margin: 0;
}

@media (max-width: 768px) {
  .gallery-section {
    padding: 76px 10px 20px;
  }

  .gallery-title {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .gallery-container {
    padding: 0 4px 12px;
  }

  .gallery-nav {
    width: 44px;
    height: 44px;
  }

  .gallery-nav--prev {
    left: 6px;
  }

  .gallery-nav--next {
    right: 6px;
  }

  .gallery-viewport {
    height: min(calc(100vh - 250px), 520px);
    max-height: calc(100vh - 250px);
  }

  .gallery-controls {
    padding: 10px 16px 4px;
  }
}

/* APPLY — hub & driver pages */
.apply-hub {
  min-height: 100vh;
  padding: 110px 24px 64px;
  max-width: 920px;
  margin: 0 auto;
}

.apply-hub-header,
.apply-header {
  text-align: center;
  margin-bottom: 40px;
}

.apply-hub-eyebrow,
.apply-driver-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.5;
  margin-bottom: 10px;
}

.apply-hub-title,
.apply-title {
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 10px;
}

.apply-hub-subtitle,
.apply-subtitle {
  opacity: 0.72;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

.apply-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.apply-choose-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.apply-choose-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.apply-choose-card--driver:hover {
  border-color: rgba(46, 204, 113, 0.45);
}

.apply-choose-card--staff:hover {
  border-color: rgba(155, 89, 182, 0.45);
}

.apply-choose-icon {
  font-size: 28px;
  line-height: 1;
}

.apply-choose-title {
  font-size: 1.35rem;
  margin: 0;
}

.apply-choose-desc {
  margin: 0;
  opacity: 0.72;
  line-height: 1.6;
  font-size: 14px;
  flex: 1;
}

.apply-choose-cta {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.85;
  margin-top: 4px;
}

.apply-back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.apply-back-link:hover {
  color: #fff;
}

.apply-driver-page {
  min-height: 100vh;
  padding: 100px 24px 64px;
  max-width: 1040px;
  margin: 0 auto;
}

.apply-driver-hero {
  text-align: center;
  margin-bottom: 32px;
}

.apply-driver-title {
  font-size: clamp(30px, 4.5vw, 42px);
  margin: 0 0 12px;
}

.apply-driver-lead {
  max-width: 620px;
  margin: 0 auto;
  opacity: 0.75;
  line-height: 1.65;
  font-size: 15px;
}

.apply-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}

.apply-step {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.45;
}

.apply-step.is-active {
  opacity: 1;
}

.apply-step.is-done {
  opacity: 0.85;
}

.apply-step.is-done .apply-step-num {
  background: rgba(46, 204, 113, 0.25);
  border-color: rgba(46, 204, 113, 0.5);
  color: #7dffb0;
}

.apply-step-num {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 800;
}

.apply-step-label {
  font-size: 13px;
  font-weight: 600;
}

.apply-step-line {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 12px;
}

.apply-steps[hidden],
.apply-driver-layout[hidden] {
  display: none !important;
}

.apply-driver-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.apply-driver-page--member {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px);
  padding: 108px 24px 64px;
}

.apply-driver-page--member .apply-driver-hero,
.apply-driver-page--member .apply-steps,
.apply-driver-page--member .apply-driver-layout,
.apply-driver-page--member .apply-flash {
  display: none !important;
}

.apply-driver-page--member .apply-member-gate {
  width: 100%;
  max-width: 500px;
  margin: 0;
}

.apply-member-gate {
  max-width: 560px;
  margin: 0 auto 48px;
}

.apply-member-card {
  padding: 44px 36px 36px;
  border-radius: 22px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(46, 204, 113, 0.14), transparent 58%),
    rgba(12, 12, 12, 0.72);
  border: 1px solid rgba(46, 204, 113, 0.28);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.apply-member-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.14);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #7dffb0;
  box-shadow: 0 0 24px rgba(46, 204, 113, 0.18);
}

.apply-member-icon {
  width: 34px;
  height: 34px;
}

.apply-member-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(125, 255, 176, 0.85);
}

.apply-member-title {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
}

.apply-member-lead {
  margin: 0 auto 24px;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.78;
}

.apply-member-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 28px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.apply-member-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.apply-member-name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}

.apply-member-role {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #7dffb0;
}

.apply-member-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.apply-member-actions .apply-member-btn--primary {
  grid-column: 1 / -1;
}

.apply-member-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.apply-member-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.apply-member-btn--primary {
  border-color: rgba(46, 204, 113, 0.45);
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.28), rgba(39, 174, 96, 0.18));
}

.apply-member-btn--primary:hover {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.38), rgba(39, 174, 96, 0.28));
}

@media (min-width: 520px) {
  .apply-driver-page--member .apply-member-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.apply-info-card {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.apply-info-card:last-child {
  margin-bottom: 0;
}

.apply-info-card h2 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.apply-info-card p {
  margin: 0;
  font-size: 13px;
  opacity: 0.72;
  line-height: 1.6;
}

.apply-info-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.8;
}

.apply-info-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #8ea7ff;
  text-decoration: none;
}

.apply-info-link:hover {
  text-decoration: underline;
}

.apply-card--form {
  padding: 28px;
}

.apply-section {
  min-height: 100vh;
  padding: 110px 24px 64px;
  max-width: 760px;
  margin: 0 auto;
}
.apply-section--wide {
  max-width: 1200px;
}

.apply-flash {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.apply-flash--success {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #7dffb0;
}

.apply-flash--error {
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.4);
  color: #ff9a8a;
}

.apply-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px 24px;
}

.apply-card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.apply-card-desc {
  margin: 0 0 24px;
  opacity: 0.75;
  line-height: 1.65;
}

.apply-auth-checking {
  padding: 28px 24px;
  text-align: center;
  opacity: 0.7;
  font-size: 14px;
}

.apply-auth-checking p {
  margin: 0;
}

.apply-login-box {
  padding: 24px;
  border-radius: 12px;
  background: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(88, 101, 242, 0.25);
  text-align: center;
}

.apply-login-box h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.apply-login-box p {
  margin: 0 0 18px;
  opacity: 0.75;
  font-size: 14px;
  line-height: 1.5;
}

.apply-discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 10px;
  background: #5865f2;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.apply-discord-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

.apply-discord-icon {
  width: 22px;
  height: 22px;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.apply-form[hidden],
.apply-login-gate[hidden],
.apply-user-banner[hidden],
.apply-auth-checking[hidden],
.apply-login-box[hidden] {
  display: none !important;
}

.apply-user-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.apply-user-avatar {
  border-radius: 50%;
  object-fit: cover;
}

.apply-user-label {
  margin: 0;
  font-size: 12px;
  opacity: 0.55;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.apply-user-name {
  margin: 2px 0 0;
  font-weight: 700;
}

.apply-user-discord {
  margin: 2px 0 0;
  font-size: 13px;
  opacity: 0.65;
}

.apply-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.apply-field input:not([type="checkbox"]),
.apply-field textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  min-height: 48px;
}

.apply-field textarea {
  resize: none;
  overflow: hidden;
  line-height: 1.5;
}

.apply-field textarea::placeholder,
.apply-field input:not([type="checkbox"])::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.apply-field input:not([type="checkbox"]):focus,
.apply-field textarea:focus {
  outline: none;
  border-color: rgba(88, 101, 242, 0.6);
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.15);
}

.apply-field-hint {
  font-weight: 400;
  opacity: 0.6;
  font-size: 13px;
}

.apply-field-hint a {
  color: #8ea7ff;
}

.apply-field--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  cursor: pointer;
}

.apply-field--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  border: none;
  background: transparent;
  accent-color: #5865f2;
  cursor: pointer;
}

.apply-field--checkbox span {
  line-height: 1.5;
}

.apply-dlc-field {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.apply-dlc-field legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  padding: 0;
}

.apply-dlc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apply-dlc-btn {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.apply-dlc-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.apply-dlc-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  user-select: none;
}

.apply-dlc-btn:hover span {
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.12);
}

.apply-dlc-input:checked + span {
  border-color: #5865f2;
  background: rgba(88, 101, 242, 0.28);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.2);
}

.apply-dlc-input:focus-visible + span {
  outline: 2px solid #5865f2;
  outline-offset: 2px;
}

.apply-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: none;
  border-radius: 10px;
  background: #5865f2;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
}

.apply-submit-btn:hover {
  background: #4752c4;
}

.apply-submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.apply-submit-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.apply-submit-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.apply-placeholder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.apply-placeholder p {
  margin: 0;
  opacity: 0.7;
  line-height: 1.6;
}

/* Application comments (team panel + my applications) */
.app-comments-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.app-comments-section h3 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.app-comments-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 420px;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 4px;
}

.app-comment {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-comment--applicant {
  border-color: rgba(88, 101, 242, 0.25);
  background: rgba(88, 101, 242, 0.08);
}

.app-comment--staff {
  border-color: rgba(46, 204, 113, 0.25);
  background: rgba(46, 204, 113, 0.06);
}

.app-comment--management {
  border-color: rgba(155, 89, 182, 0.3);
  background: rgba(155, 89, 182, 0.08);
}

.app-comment-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
  font-size: 13px;
}

.app-comment-header strong {
  font-size: 14px;
}

.app-comment-role {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.app-comment-header time {
  margin-left: auto;
  opacity: 0.55;
  font-size: 12px;
}

.app-comment-body {
  margin: 0;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.app-comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-comment-form-label {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.75;
}

.app-comment-form textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  min-height: 72px;
}

.app-comment-form textarea:focus {
  outline: none;
  border-color: rgba(88, 101, 242, 0.6);
}

/* My Applications page */
.my-apps-page {
  min-height: 100vh;
  padding: 110px 24px 64px;
  max-width: 960px;
  margin: 0 auto;
}

.my-apps-hero {
  margin-bottom: 28px;
}

.my-apps-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 36px);
}

.my-apps-hero p {
  margin: 0;
  opacity: 0.72;
}

.my-apps-card {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.my-apps-table-wrap {
  overflow-x: auto;
}

.my-apps-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.my-apps-table th,
.my-apps-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.my-apps-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

.my-app-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.my-app-status--pending {
  background: rgba(241, 196, 15, 0.15);
  color: #ffe08a;
}

.my-app-status--claimed {
  background: rgba(88, 101, 242, 0.18);
  color: #a8b4ff;
}

.my-app-status--accepted {
  background: rgba(46, 204, 113, 0.15);
  color: #7dffb0;
}

.my-app-status--rejected {
  background: rgba(231, 76, 60, 0.15);
  color: #ff9a8a;
}

.my-apps-link {
  color: #8ea7ff;
  font-weight: 600;
  text-decoration: none;
}

.my-apps-link:hover {
  text-decoration: underline;
}

.my-apps-back {
  display: inline-block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14px;
}

.my-apps-back:hover {
  color: #fff;
}

.my-apps-muted {
  opacity: 0.6;
}

.my-apps-detail-header h2 {
  margin: 0 0 8px;
}

.my-apps-detail-header p {
  margin: 0 0 8px;
}

.my-apps-reject-reason {
  margin-top: 12px !important;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.28);
  line-height: 1.55;
}

.my-apps-responses {
  margin-top: 24px;
}

.my-apps-responses h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.my-apps-response-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.my-apps-response-row span:first-child {
  opacity: 0.65;
}

.my-apps-response-row span:last-child {
  font-weight: 600;
  text-align: right;
}

@media (max-width: 768px) {
  .apply-choose-grid {
    grid-template-columns: 1fr;
  }

  .apply-driver-layout {
    grid-template-columns: 1fr;
  }

  .apply-step-label {
    display: none;
  }

  .apply-step-line {
    width: 32px;
    margin: 0 8px;
  }

  .apply-member-card {
    padding: 32px 22px;
  }

  .apply-member-profile {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .apply-section,
  .apply-hub,
  .apply-driver-page {
    padding-top: 96px;
  }

  .mtt-page {
    padding-top: 96px;
  }
}

/* MEET THE TEAM */
.mtt-page {
  min-height: 100vh;
  padding: 108px 24px 96px;
  max-width: 1280px;
  margin: 0 auto;
}

.mtt-hero {
  margin-bottom: 48px;
  text-align: center;
}

.mtt-hero-divider {
  width: min(520px, 82%);
  height: 2px;
  margin: 20px auto 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 18%,
    rgba(255, 255, 255, 0.55) 38%,
    #ffffff 50%,
    rgba(255, 255, 255, 0.55) 62%,
    rgba(255, 255, 255, 0.12) 82%,
    transparent 100%
  );
  border-radius: 999px;
}

.mtt-title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mtt-content {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.mtt-loading,
.mtt-empty {
  margin: 0;
  padding: 32px 0;
  text-align: center;
  opacity: 0.7;
  font-size: 15px;
}

.mtt-empty--error {
  color: #ff9a8a;
}

.mtt-section {
  scroll-margin-top: 100px;
  text-align: center;
}

.mtt-section-head {
  margin-bottom: 36px;
}

.mtt-section-title {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.mtt-section-accent {
  width: 56px;
  height: 4px;
  margin: 0 auto 18px;
  background: #6fcf97;
  border-radius: 2px;
}

.mtt-section-desc {
  margin: 0 auto;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.58);
}

.mtt-member-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: center;
  gap: 48px 32px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.mtt-member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  flex: 0 0 min(260px, calc((100% - 3 * 32px) / 4));
  max-width: 260px;
  padding: 8px 12px 16px;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mtt-member-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.03);
}

.mtt-member-avatar {
  width: 176px;
  height: 176px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mtt-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mtt-member-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 42px;
  font-weight: 800;
  color: #6fcf97;
  background: rgba(255, 255, 255, 0.04);
}

.mtt-member-name {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  color: #6fcf97;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  word-break: break-word;
}

.mtt-member-role-tag {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45);
}

.mtt-member-role-tag em {
  font-style: italic;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .mtt-member-card {
    flex: 0 0 min(260px, calc((100% - 2 * 32px) / 3));
  }
}

@media (max-width: 720px) {
  .mtt-member-grid {
    gap: 36px 24px;
    max-width: 100%;
  }

  .mtt-member-card {
    flex: 0 0 min(240px, calc((100% - 24px) / 2));
    max-width: 240px;
  }

  .mtt-member-avatar {
    width: 152px;
    height: 152px;
  }
}

@media (max-width: 420px) {
  .mtt-member-card {
    flex: 0 0 min(210px, 100%);
    max-width: 210px;
  }

  .mtt-member-avatar {
    width: 132px;
    height: 132px;
  }
}

/* SITE FOOTER */
.site-footer {
  background: rgba(0, 0, 0, 0.514);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 40px 30px 40px;
  margin-top: auto;
  font-family: 'Montserrat', sans-serif;
  color: #a3a3a3;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: 42px;
  height: auto;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
}

.footer-logo-text .brand-night {
  color: #fff;
}

.footer-logo-text .brand-way {
  color: #494949; /* Red accent color matching VTC style */
}

.footer-tagline {
  font-size: 14px;
  font-style: italic;
  color: #e0e0e0;
  letter-spacing: 0.5px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  max-width: 400px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #474747;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #a3a3a3;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  font-size: 13px;
}

.footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-socials a {
  color: #a3a3a3;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
}

.footer-socials a:hover {
  color: #fff;
  transform: scale(1.1);
}

.social-icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 20px 20px 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Tabs in Team Panel */
.tp-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 2px solid #2d2d2d;
  padding-bottom: 8px;
}
.tp-tab-btn {
  background: none;
  border: none;
  color: #888;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -11px;
}
.tp-tab-btn:hover {
  color: #fff;
}
.tp-tab-btn.is-active {
  color: #00bcd4;
  border-bottom-color: #00bcd4;
}

/* Staff Recruitment Grid */
.rec-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin: 40px auto 0;
  max-width: 1200px;
}
.rec-card {
  width: 340px;
  background: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.rec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}
.rec-card-header {
  padding: 24px 16px;
  text-align: center;
  color: #fff;
  min-height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.rec-card-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}
.rec-card-subtitle {
  font-size: 12px;
  font-style: italic;
  margin: 4px 0 0 0;
  opacity: 0.8;
  letter-spacing: 0.05em;
}
.rec-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #141414;
}
.rec-card-status-row {
  text-align: center;
  margin-bottom: 8px;
}
.rec-status-label {
  font-size: 38px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Montserrat', sans-serif;
}
.rec-status--open {
  color: #2de28d;
}
.rec-status--closed {
  color: #e24343;
}
.rec-card-info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.rec-card-info-icon {
  color: #2de28d; /* Set icon color to green exactly like the photo */
  flex-shrink: 0;
  margin-top: 2px;
}
.rec-card-info-row:nth-of-type(3) .rec-card-info-icon {
  color: #00bcd4;
}
.rec-card-desc, .rec-card-status-detail {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #aaaaaa;
}
.rec-card-status-detail {
  font-weight: 600;
}
.rec-card-btn {
  width: 100%;
  background: #00bcd4;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
  text-decoration: none;
  display: block;
}
.rec-card-btn:hover {
  background: #0097a7;
}
.rec-card-btn--discord {
  background: #5865f2;
}
.rec-card-btn--discord:hover {
  background: #4752c4;
}
.rec-card-eligibility-error {
  color: #e24343;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin: 0;
  background: rgba(226, 67, 67, 0.1);
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid rgba(226, 67, 67, 0.2);
}
.rec-card-eligibility-warning {
  color: #a0a0a0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin: 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.rec-card-footer {
  margin-top: auto;
  padding-top: 10px;
}

/* Modal Form Overlays */
.rec-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
  padding: 20px;
}
.rec-modal-overlay[hidden] {
  display: none !important;
}
.rec-modal {
  background: #1a1a1a;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.rec-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: #888;
  font-size: 32px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.rec-modal-close:hover {
  color: #fff;
}
.rec-modal-header {
  padding: 30px 30px 15px 30px;
  border-bottom: 1px solid #2d2d2d;
}
.rec-modal-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.rec-modal-subtitle {
  margin: 6px 0 0 0;
  font-size: 13px;
  color: #888;
}
.rec-modal .apply-form {
  padding: 30px;
  background: none;
  margin: 0;
}
.rec-svg-icon {
  display: block;
}

/* ==========================================================================
   Live Map Styles (Embedded & Standalone)
   ========================================================================== */
.map-container-wrap {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px); /* Adjust based on site header height */
  margin-top: 80px; /* Offset for sticky header */
  background: #0d0d0d;
  overflow: hidden;
}
.live-map-section {
  padding: 80px 0 100px;
  background: transparent;
  position: relative;
}
.map-section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.map-section-header {
  text-align: center;
}
.map-section-title {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #fff, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.map-section-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}
.map-container-desktop-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  width: 100%;
}
.map-card-wrap {
  position: relative;
  width: 100%;
  height: 600px;
  background: #0d0d0d;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.map-sidebar-card {
  display: flex;
  flex-direction: column;
  height: 600px;
  background: rgba(18, 18, 18, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.map-sidebar-card .map-sidebar-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.map-sidebar-card .map-sidebar-header h2 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.map-sidebar-card .map-sidebar-content {
  overflow-y: auto;
  flex: 1;
  padding: 10px 0;
}
#map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Mobile & Tablet Responsiveness for Homepage Map Section */
@media (max-width: 992px) {
  .map-section-inner {
    padding: 0 20px;
  }
  .map-container-desktop-row {
    grid-template-columns: 1fr 280px;
    gap: 20px;
  }
  .map-card-wrap,
  .map-sidebar-card {
    height: 500px;
  }
}
@media (max-width: 768px) {
  .live-map-section {
    padding: 50px 0;
  }
  .map-section-title {
    font-size: 24px;
  }
  .map-section-subtitle {
    font-size: 14px;
  }
  .map-container-desktop-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .map-card-wrap {
    height: 380px;
  }
  .map-sidebar-card {
    height: 280px;
  }
}
/* Custom dark theme leaflet styling */
.leaflet-container {
  background: #0d0d0d !important;
}
.leaflet-bar {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}
.leaflet-bar a {
  background-color: rgba(30, 30, 30, 0.8) !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: background 0.2s;
}
.leaflet-bar a:hover {
  background-color: rgba(0, 188, 212, 0.3) !important;
  color: #00bcd4 !important;
}
.leaflet-control-attribution {
  background: rgba(13, 13, 13, 0.8) !important;
  color: rgba(255, 255, 255, 0.4) !important;
}
.leaflet-control-attribution a {
  color: #00bcd4 !important;
}
/* Live Sidebar Panel - Glassmorphic */
.map-sidebar {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 320px;
  max-height: calc(100% - 40px);
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  z-index: 10;
  color: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.map-sidebar-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.map-sidebar-header h2 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.driver-count-badge {
  background: rgba(0, 188, 212, 0.2);
  color: #00bcd4;
  border: 1px solid rgba(0, 188, 212, 0.4);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
}
.map-sidebar-content {
  overflow-y: auto;
  flex: 1;
  padding: 10px 0;
}
.driver-list-item {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s;
  border-left: 3px solid transparent;
  gap: 12px;
}
.driver-list-item:hover {
  background: rgba(255, 255, 255, 0.03);
}
.driver-list-item.is-selected {
  background: rgba(0, 188, 212, 0.08);
  border-left-color: #00bcd4;
}
.driver-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 188, 212, 0.5);
  object-fit: cover;
}
.driver-details-mini {
  flex: 1;
  min-width: 0;
}
.driver-name-mini {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.driver-status-mini {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.driver-speed-mini {
  font-size: 12px;
  font-weight: bold;
  color: #2de28d;
}
/* Leaflet popup customization */
.leaflet-popup-content-wrapper {
  background: rgba(20, 20, 20, 0.9) !important;
  backdrop-filter: blur(8px) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 0 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}
.leaflet-popup-content {
  margin: 0 !important;
  width: 260px !important;
}
.leaflet-popup-tip {
  background: rgba(20, 20, 20, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
/* Popup interior styles */
.map-popup-card {
  padding: 16px;
  font-family: inherit;
}
.map-popup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.map-popup-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #00bcd4;
  object-fit: cover;
}
.map-popup-name {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}
.map-popup-server {
  font-size: 11px;
  color: #00bcd4;
  margin: 2px 0 0 0;
}
.map-popup-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.map-popup-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.map-popup-label {
  color: rgba(255, 255, 255, 0.5);
}
.map-popup-value {
  font-weight: 600;
  text-align: right;
}
.map-popup-value--highlight {
  color: #2de28d;
}
/* Marker styles */
.truck-marker-icon {
  background: none;
  border: none;
}
.truck-marker-container {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.truck-marker-arrow {
  width: 24px;
  height: 24px;
  background: #00bcd4;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); /* Point top-right before rotation */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: transform 0.2s ease;
}
.truck-marker-inner {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 8px;
}
.truck-marker-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 188, 212, 0.4);
  animation: markerPulse 1.5s infinite ease-out;
  z-index: -1;
}
@keyframes markerPulse {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
/* City and country label styling */
.map-country-label {
  background: none !important;
  border: none !important;
}
.country-label-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.country-label-inner img {
  width: 16px;
  height: 12px;
  border-radius: 1px;
  object-fit: cover;
  display: inline-block;
}
.map-city-label {
  background: none !important;
  border: none !important;
  transition: opacity 0.2s ease;
}
.city-label-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.city-dot {
  width: 5px;
  height: 5px;
  background: #fff;
  border: 1px solid #111;
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
  display: inline-block;
}
.city-name {
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-shadow: 0 0 3px #000, 0 0 5px #000;
  white-space: nowrap;
}

/* Pagination Styling */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 10px;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.pagination-btn.is-active {
  background: #5865f2;
  border-color: #5865f2;
  box-shadow: 0 0 12px rgba(88, 101, 242, 0.4);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Events Page Layout Grid */
.events-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 1024px) {
  .events-layout {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.events-main {
  display: flex;
  flex-direction: column;
}

.events-sidebar {
  position: sticky;
  top: 100px;
}

/* ==========================================
   FEEDBACK TICKETING SYSTEM STYLES
   ========================================== */

.feedback-filters-bar {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  background: rgba(18, 24, 32, 0.95);
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.feedback-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feedback-filter-group label {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feedback-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #2ecc71;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.feedback-search-btn:hover {
  background: #27ae60;
}

.feedback-search-btn:active {
  transform: scale(0.96);
}

.feedback-plus-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #3498db;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  margin-left: auto;
  transition: background 0.2s ease, transform 0.1s ease;
}

.feedback-plus-btn:hover {
  background: #2980b9;
}

.feedback-plus-btn:active {
  transform: scale(0.96);
}

.feedback-eye-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #fff;
  color: #121820;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.feedback-eye-btn:hover {
  opacity: 0.9;
}

.feedback-eye-btn:active {
  transform: scale(0.96);
}

.feedback-cat-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-upper-mgmt {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.badge-report-driver {
  background: rgba(230, 126, 34, 0.15);
  color: #e67e22;
  border: 1px solid rgba(230, 126, 34, 0.3);
}

.badge-report-staff {
  background: rgba(155, 89, 182, 0.15);
  color: #9b59b6;
  border: 1px solid rgba(155, 89, 182, 0.3);
}

.feedback-claimed-text {
  color: #3498db;
  font-weight: 600;
}

.feedback-unclaimed-text {
  color: #7f8c8d;
  font-style: italic;
}

.feedback-reply-label {
  font-weight: 600;
  color: #2ecc71;
}

.feedback-author-text {
  color: #2ecc71;
  font-weight: 600;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.feedback-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feedback-form-group label {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
}

.feedback-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  min-height: 140px;
  transition: border-color 0.2s;
}

.feedback-form-group textarea:focus {
  outline: none;
  border-color: #2ecc71;
}

.feedback-form-submit {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  background: #2ecc71;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.feedback-form-submit:hover {
  background: #27ae60;
}

.feedback-form-submit:active {
  transform: scale(0.99);
}

.feedback-original-comment {
  background: rgba(0, 0, 0, 0.15);
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #2ecc71;
  margin-top: 20px;
}

.feedback-original-comment h3 {
  margin-top: 0;
  font-size: 15px;
  opacity: 0.95;
}

.feedback-original-body {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}


