/* ==========================================================================
   Neon UI Theme — Surprise Me
   Generated: 2026-05-14
   Navbar:  #38C9FA  rgb(56, 201, 250)   hsl(195°)
   Tables:  #CA47F5  rgb(202, 71, 245)   hsl(285°)
   Buttons: #31F6B5  rgb(49, 246, 181)   hsl(160°)
   Forms:   #FAC938  rgb(250, 201, 56)   hsl(45°)
   Modals:  #F64CBD  rgb(246, 76, 189)   hsl(320°)
   Paging:  #42BDFA  rgb(66, 189, 250)   hsl(200°)
   Confirm: #3FF37B  rgb(63, 243, 123)   hsl(140°)
   Destroy: #F76345  rgb(247, 99, 69)    hsl(10°)
   ========================================================================== */

body {
  background-color: #0a0a0f;
  color: #e2e8f0;
}

/* ==========================================================================
   Banner/Navigation Styles
   ========================================================================== */

.banner-header {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #0a0a0f;
  border-bottom: 1px solid rgba(56, 201, 250, 0.25);
  box-shadow: 0 2px 20px rgba(56, 201, 250, 0.08);
  display: flex;
  width: 100%;
}

.banner-header a {
  color: #38C9FA !important;
  text-shadow: 0 0 8px rgba(56, 201, 250, 0.5);
  padding: 0 15px;
  text-decoration: none !important;
  font-family: fantasy !important;
  font-size: 16px !important;
  transition: all 0.2s ease;
}

.banner-header a:hover {
  color: #f0abfc !important;
  text-shadow: 0 0 12px rgba(240, 171, 252, 0.7) !important;
}

.banner-header ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.banner-header li {
  float: left;
  border-right: 1px solid rgba(56, 201, 250, 0.2) !important;
  border-left: 1px solid rgba(56, 201, 250, 0.2) !important;
  border-collapse: collapse !important;
  height: 100%;
  align-content: center;
  transition: all 0.2s ease;
}

.banner-header li:hover {
  background-color: rgba(56, 201, 250, 0.08) !important;
  cursor: pointer;
}

.banner-header table,
.banner-header tr,
.banner-header td {
  border-left: 1px solid rgba(56, 201, 250, 0.2) !important;
  border-right: 1px solid rgba(56, 201, 250, 0.2) !important;
  border-collapse: collapse !important;
  height: 100% !important;
  padding: 8px !important;
}

.banner-dropdown-content {
  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #12121a;
  border: 1px solid rgba(56, 201, 250, 0.2);
  box-shadow: 0 4px 20px rgba(56, 201, 250, 0.1);
  min-width: 100px;
  z-index: 1;
}

.dropdown-content a {
  float: none;
  padding: 12px 16px;
  margin-left: 0px !important;
  margin-right: 0px !important;
  text-decoration: none;
  display: block;
  text-align: left;
  color: #94a3b8 !important;
  text-shadow: none !important;
}

.dropdown-content a:hover {
  background-color: rgba(56, 201, 250, 0.08);
  color: #38C9FA !important;
  text-shadow: 0 0 8px rgba(56, 201, 250, 0.5) !important;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.banner-category {
  height: 100%;
  text-align: center;
  align-content: center;
  display: block;
  width: 100%;
  padding: 15px 0;
  box-sizing: border-box;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.page-top {
  margin-top: 100px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.center-div {
  justify-content: center;
  text-align: center;
}

.space {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* ==========================================================================
   Button Styles
   ========================================================================== */

.link-butt {
  padding: 10px;
  margin: 5px;
  background: transparent;
  border: 1px solid rgba(49, 246, 181, 0.35);
  color: #31F6B5;
  box-shadow: 0 0 8px rgba(49, 246, 181, 0.12);
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.link-butt:hover {
  background-color: rgba(49, 246, 181, 0.08);
  box-shadow: 0 0 14px rgba(49, 246, 181, 0.28);
}

.link-butt:active {
  background-color: rgba(49, 246, 181, 0.15);
  box-shadow: 0 0 6px rgba(49, 246, 181, 0.2);
}

.neon-butt {
  padding: 6px 12px;
  margin: 4px;
  background: transparent;
  border: 1px solid rgba(49, 246, 181, 0.35);
  color: #31F6B5;
  box-shadow: 0 0 8px rgba(49, 246, 181, 0.12);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.neon-butt:hover {
  background-color: rgba(49, 246, 181, 0.08);
  box-shadow: 0 0 14px rgba(49, 246, 181, 0.28);
}

.confirm-butt {
  padding: 6px 12px;
  margin: 4px;
  background: transparent;
  border: 1px solid rgba(63, 243, 123, 0.5);
  color: #3FF37B;
  box-shadow: 0 0 8px rgba(63, 243, 123, 0.2);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.confirm-butt:hover {
  background-color: rgba(63, 243, 123, 0.1);
  box-shadow: 0 0 14px rgba(63, 243, 123, 0.35);
}

.destroy-butt {
  padding: 6px 12px;
  margin: 4px;
  background: transparent;
  border: 1px solid rgba(247, 99, 69, 0.5);
  color: #F76345;
  box-shadow: 0 0 8px rgba(247, 99, 69, 0.2);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.destroy-butt:hover {
  background-color: rgba(247, 99, 69, 0.1);
  box-shadow: 0 0 14px rgba(247, 99, 69, 0.35);
}

/* ==========================================================================
   Table Utility
   ========================================================================== */

.default-table {
  border-collapse: collapse;
  border: 1px solid rgba(202, 71, 245, 0.2);
  border-radius: 10px;
  background-color: #12121a;
  box-shadow: 0 0 20px rgba(202, 71, 245, 0.05);
}

.default-table th,
.default-table td {
  padding: 10px;
  border: 1px solid rgba(202, 71, 245, 0.2);
  color: #e2e8f0;
}

.default-table th {
  background: linear-gradient(45deg, rgba(124, 58, 237, 0.5), rgba(202, 71, 245, 0.3));
  text-shadow: 0 0 8px rgba(202, 71, 245, 0.4);
}

.default-table tr:nth-child(odd) {
  background-color: rgba(202, 71, 245, 0.04);
}

.default-table tr:hover {
  background-color: rgba(202, 71, 245, 0.08);
}

/* ==========================================================================
   Form Element Styles
   ========================================================================== */

input[type="text"],
input[type="date"],
input[type="number"],
input[type="email"],
textarea,
select {
  background-color: #12121a;
  color: #e2e8f0;
  border: 1px solid rgba(250, 201, 56, 0.25);
  border-radius: 4px;
  padding: 4px 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(250, 201, 56, 0.6);
  box-shadow: 0 0 10px rgba(250, 201, 56, 0.2);
}

input::placeholder,
textarea::placeholder {
  color: #4a5568;
}

select option {
  background-color: #12121a;
  color: #e2e8f0;
}

input[type="checkbox"] {
  accent-color: #FAC938;
}

/* ==========================================================================
   Table centering + mobile scroll utility
   ========================================================================== */

.table-center {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   Mobile nav — separate from desktop nav, shown only on small screens
   ========================================================================== */

.mobile-nav {
  display: none;
  margin-left: auto;
  align-self: center;
  position: relative;
  margin-right: 10px;
}

.nav-toggle {
  background: transparent;
  border: 1px solid rgba(56, 201, 250, 0.3);
  color: #38C9FA;
  font-size: 20px;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background-color: rgba(56, 201, 250, 0.08);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #0a0a0f;
  border: 1px solid rgba(56, 201, 250, 0.2);
  box-shadow: 0 4px 20px rgba(56, 201, 250, 0.1);
  z-index: 200;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: #38C9FA !important;
  text-decoration: none !important;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(56, 201, 250, 0.08);
  font-family: fantasy !important;
  font-size: 15px !important;
  text-shadow: 0 0 8px rgba(56, 201, 250, 0.4);
  transition: all 0.2s ease;
  display: block;
}

.mobile-menu a:hover {
  background-color: rgba(56, 201, 250, 0.08);
  color: #f0abfc !important;
  text-shadow: 0 0 12px rgba(240, 171, 252, 0.7) !important;
}

.mobile-menu .mobile-sub {
  padding-left: 36px;
  font-size: 13px !important;
  color: #94a3b8 !important;
  text-shadow: none;
}

.mobile-menu .mobile-sub:hover {
  color: #38C9FA !important;
}

@media (max-width: 768px) {
  #nav-links {
    display: none !important;
  }

  .mobile-nav {
    display: block;
  }

  .page-top {
    margin-top: 60px !important;
  }

  .auth-panel {
    display: none !important;
  }
}

/* ==========================================================================
   Auth Panel
   ========================================================================== */

.auth-panel {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.auth-btn {
  color: #38C9FA !important;
  text-decoration: none !important;
  padding: 5px 14px !important;
  border: 1px solid rgba(56, 201, 250, 0.4);
  border-radius: 4px;
  font-family: fantasy !important;
  font-size: 14px !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.auth-btn:hover {
  background: rgba(56, 201, 250, 0.1) !important;
  border-color: #38C9FA;
  color: #f0abfc !important;
  text-shadow: 0 0 8px rgba(240, 171, 252, 0.5) !important;
}

.auth-btn-register {
  border-color: rgba(202, 71, 245, 0.4) !important;
  color: #CA47F5 !important;
  text-shadow: 0 0 6px rgba(202, 71, 245, 0.4) !important;
}

.auth-btn-register:hover {
  background: rgba(202, 71, 245, 0.1) !important;
  border-color: #CA47F5 !important;
  color: #f0abfc !important;
}

.user-dropdown {
  position: relative;
}

.user-btn {
  background: none;
  border: 1px solid rgba(56, 201, 250, 0.35);
  border-radius: 4px;
  color: #38C9FA;
  font-family: fantasy;
  font-size: 14px;
  padding: 5px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.user-btn:hover {
  background: rgba(56, 201, 250, 0.08);
  border-color: #38C9FA;
  color: #f0abfc;
}

.user-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  background: #0a0a0f;
  border: 1px solid rgba(56, 201, 250, 0.25);
  border-radius: 4px;
  min-width: 160px;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.user-menu.open {
  display: block;
}

.user-menu-item {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #38C9FA;
  font-family: fantasy;
  font-size: 15px;
  padding: 12px 16px !important;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
  box-sizing: border-box;
}

.user-menu-item:hover {
  background: rgba(56, 201, 250, 0.08);
  color: #f0abfc !important;
  text-shadow: none !important;
}

/* Mobile auth links inside mobile-menu */
.mobile-username {
  display: block;
  padding: 10px 20px;
  color: #CA47F5 !important;
  font-family: fantasy;
  font-size: 14px;
  border-top: 1px solid rgba(56, 201, 250, 0.15);
}

.mobile-logout {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #38C9FA !important;
  font-family: fantasy;
  font-size: 14px;
  padding: 10px 20px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-logout:hover {
  background: rgba(56, 201, 250, 0.08);
  color: #f0abfc !important;
}
