  #menu-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 2000;
  }
input, select, textarea {
  background: #222;
  color: #39ff14;
  border: 1px solid #39ff14;
  padding: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border-radius: 8px;
}

button {
  background: #222;
  color: #39ff14;
  border: 1px solid #39ff14;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 8px;
  margin-top: 0.5rem;
}

body {
  background: #111; 
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body, #root {
  min-height: 100vh;
  background-image: url("./Assets/ZEPHA RACING.PNG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#title {
  position: fixed;
  top: 10px;
  left: 10px;
  text-align: left;
  font-size: 2rem;
  color: #39ff14;
  margin: 0;
  letter-spacing: 2px;
  z-index: 2100;
}

.nav {
  background: #222;
  color: #fff;
  width: 220px;
  min-height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
  transition: width 0.3s;
}

.nav.collapsed {
  width: 60px;
}

.nav .nav-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.1rem;
  border-bottom: 1px solid #333;
}

.nav .nav-item .emoji {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.nav.collapsed .nav-item .label {
  display: none;
}


#main {
  padding: 2rem;
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* ...existing code... */
  padding-bottom: 120px; /* Add extra space for bottom buttons */
}


/* Make modals scrollable on mobile */

.modal-scrollable {
  max-height: 80vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 600px) {
  .modal-scrollable {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    max-height: 80vh !important;
    min-height: 40vh !important;
    padding: 4vw 2vw 4vw 2vw !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-family: 'Segoe UI', Arial, sans-serif !important;
    font-size: 1.08rem !important;
    border-radius: 16px !important;
    z-index: 2100 !important;
    background: #222 !important;
    color: #39ff14 !important;
    box-shadow: 0 4px 24px #000 !important;
  }
  .modal-scrollable p, .modal-scrollable div, .modal-scrollable h2 {
    word-break: break-word !important;
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-x: auto !important;
    font-family: 'Segoe UI', Arial, sans-serif !important;
    font-size: 1.08rem !important;
  }
}

/* If you have a container for the bottom buttons, make sure it's fixed and above other content */
.bottom-nav {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  background: rgba(34, 34, 34, 0.95);
  z-index: 1001;
  padding: 0.5rem 0;
}

  
