    body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background: #0a0a0a;
      color: #f9fafb;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    /* Navbar */
.navbar {
  background: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #6b7a91;
}

/* Force 3 zones: left, middle, right */
.nav-left,
.nav-center,
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav-center {
  justify-content: center;  /* centers nav-links */
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

/* Links reset */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

    .nav-logo {
      height: 40px;
    }
    .nav-title {
      font-size: 1.2rem;
      font-weight: bold;
      color: #6b7a91;
    }

    .nav-links li {
      position: relative;
    }
    .nav-links a {
      color: #f9fafb;
      text-decoration: none;
      font-weight: 500;
      padding: 8px 12px;
      transition: 0.2s;
    }
    .nav-links a:hover {
      background: #6b7a91;
      border-radius: 4px;
    }
    .dropdown-content {
      display: none;
      position: absolute;
      top: 40px;
      left: 0;
      background: #1f2937;
      border: 1px solid #6b7a91;
      border-radius: 6px;
      min-width: 160px;
      z-index: 1001;
    }
    .dropdown-content li {
      width: 100%;
    }
    .dropdown-content a {
      display: block;
      padding: 10px;
      color: white;
    }
    .dropdown-content a:hover {
      background: #374151;
    }
.dropdown-content.show {
  display: block;
}

    .nav-right {
      display: flex;
      align-items: center;
      gap: 15px;
    }
    .btn-nav {
      padding: 6px 14px;
      background: #6b7a91;
      color: white;
      border-radius: 4px;
      font-size: 0.9rem;
      text-decoration: none;
    }
    .btn-nav:hover {
      background: #55606f;
    }
    .user {
      color: #9ca3af;
      font-size: 0.9rem;
    }

    /* Hero Banner */
.hero {
  position: relative;
  background: 
    url("../images/Banner.png") center/cover no-repeat;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
}

    .hero::before {
      content: "";
  background: 
    linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(10,10,10,0.9) 100%); 	  
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: repeating-linear-gradient(
        -45deg,
        rgba(107,122,145,0.08),
        rgba(107,122,145,0.08) 40px,
        transparent 40px,
        transparent 80px
      );
      opacity: 0.3;
      pointer-events: none;
    }
    .logo {
      width: 240px;
      margin-bottom: 20px;
      z-index: 2;
      filter: drop-shadow(0 0 15px rgba(107,122,145,0.6));
    }
    h1 {
      font-size: 3rem;
      margin: 0;
      text-transform: uppercase;
      letter-spacing: 2px;
		color: #f9fafb;
		text-shadow: 0 0 10px rgba(0,0,0,0.8);
		z-index: 2;
    }
    p {
      font-size: 1.2rem;
      margin: 10px 0 20px;
      opacity: 0.9;
      z-index: 2;
      max-width: 650px;
    }
    .buttons {
      z-index: 2;
    }
    .btn {
      padding: 14px 35px;
      margin: 10px;
      border-radius: 6px;
      border: none;
      font-size: 1.1rem;
      font-weight: bold;
      cursor: pointer;
      transition: 0.3s;
    }
    .btn-blue {
      background: #6b7a91;
      color: white;
    }
    .btn-blue:hover {
      background: #55606f;
    }
    .btn-gray {
      background: #374151;
      color: white;
    }
    .btn-gray:hover {
      background: #4b5563;
    }

    /* Footer */
    .footer {
      background: #0a0a0a;
      color: #f9fafb;
      padding: 40px 20px 0;
      font-family: 'Poppins', sans-serif;
    }
    .footer-content {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      gap: 40px;
      margin-bottom: 30px;
    }
    .footer-section {
      flex: 1;
      min-width: 250px;
    }
    .footer-section h3 {
      margin-bottom: 15px;
      color: #6b7a91;
      font-size: 1.3rem;
    }
    .footer-section p {
      font-size: 0.9rem;
      line-height: 1.4;
      opacity: 0.9;
    }
    .footer-section ul {
      list-style: none;
      padding: 0;
    }
    .footer-section ul li {
      margin: 8px 0;
    }
    .footer-section ul li a {
      text-decoration: none;
      color: #f9fafb;
      transition: 0.2s;
    }
    .footer-section ul li a:hover {
      color: #6b7a91;
    }
    .footer-images {
      display: flex;
      gap: 10px;
    }
    .footer-images img {
      width: 70px;
      height: 70px;
      object-fit: cover;
      border-radius: 6px;
      border: 2px solid #6b7a91;
    }
.footer-bottom {
  background: #111;
  text-align: center;
  padding: 15px;
  font-size: 0.85rem;
  border-top: 1px solid #222;

  display: flex;
  flex-direction: column;
  align-items: center;   /* ensures horizontal centering */
  justify-content: center;
  gap: 6px;
}

.footer-bottom .copyright {
  color: #9ca3af;
  margin: 0;   /* remove default p margin */
}

.footer-bottom .legal-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom .legal-links a {
  color: #6b7a91;
  text-decoration: none;
  transition: 0.2s;
}

.footer-bottom .legal-links a:hover {
  color: #f9fafb;
  text-decoration: underline;
}

.main {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}
.main h2 {
  color: #6b7a91;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}
.main p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto 40px;
}
.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.card {
  background: #111;
  border: 1px solid #6b7a91;
  border-radius: 8px;
  padding: 20px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
  transition: 0.3s;
}
.card:hover {
  background: #1a1a1a;
  transform: translateY(-5px);
}
.join {
  text-align: center;
  margin-top: 40px;
}

/* Login Container */
.login-container {
  max-width: 400px;
  margin: 100px auto;
  padding: 30px;
  background: #111;
  border: 1px solid #6b7a91;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

/* Title */
.login-container h2 {
  color: #6b7a91;
  margin-bottom: 20px;
  font-size: 1.8rem;
  text-transform: uppercase;
}

/* Inputs */
.login-container input[type="email"], {
  width: 95%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 6px;
  background: #1f2937;
  color: #f9fafb;
  font-size: 1rem;
  transition: 0.2s;
}

.login-container input[type="password"] {
  width: 95%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 6px;
  background: #1f2937;
  color: #f9fafb;
  font-size: 1rem;
  transition: 0.2s;
}

.login-container input:focus {
  outline: none;
  background: #2d3748;
  box-shadow: 0 0 0 2px #6b7a91;
}

/* Button */
.login-container button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border: none;
  border-radius: 6px;
  background: #6b7a91;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.login-container button:hover {
  background: #55606f;
}

/* Register link */
.login-container p {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #9ca3af;
}

.login-container p a {
  color: #6b7a91;
  text-decoration: none;
  font-weight: bold;
}

.login-container p a:hover {
  color: #f9fafb;
  text-decoration: underline;
}

/* Error box */
.error {
  background: #dc2626;
  color: white;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}
.terms {
  display: block;
  margin: 15px 0;
  font-size: 0.85rem;
  color: #9ca3af;
  text-align: left;
}

.terms input {
  margin-right: 8px;
}

.terms a {
  color: #6b7a91;
  text-decoration: none;
  font-weight: bold;
}

.terms a:hover {
  text-decoration: underline;
  color: #f9fafb;
}
.login-container input[type="email"],
.login-container input[type="password"],
.login-container input[type="text"] {
  width: 95%;
  width: 95%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 6px;
  background: #1f2937;
  color: #f9fafb;
  font-size: 1rem;
  transition: 0.2s;
}

.login-container input[type="email"]:focus,
.login-container input[type="password"]:focus,
.login-container input[type="text"]:focus {
	
  outline: none;
  background: #2d3748;
  box-shadow: 0 0 0 2px #6b7a91;
}
/* User Menu */
.user-menu {
  position: relative;
  display: inline-block;
  cursor: pointer;
  color: #f9fafb;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #6b7a91;
  vertical-align: middle;
  margin-right: 6px;
}

.user-name {
  vertical-align: middle;
  font-size: 0.95rem;
  font-weight: 500;
}

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

.user-menu {
  position: relative;
  display: inline-block;
  cursor: pointer;
  color: #f9fafb;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #6b7a91;
  vertical-align: middle;
  margin-right: 6px;
}

.user-name {
  vertical-align: middle;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Dropdown base (applies to nav + user menu) */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 48px;
  background: #1f2937;
  border: 1px solid #6b7a91;
  border-radius: 6px;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  z-index: 999;
}

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

.dropdown-content .user-info {
  padding: 12px;
  color: #f9fafb;
  text-align: center;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  color: #f9fafb;
  text-decoration: none;
  transition: 0.2s;
}

.dropdown-content a:hover {
  background: #374151;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  background: #1f2937;
  border: 1px solid #6b7a91;
  border-radius: 6px;
  min-width: 180px;
  z-index: 999;
}

.dropdown-content.show {
  display: block;
}
.user-trigger {
  background: none;
  border: none;
  cursor: pointer;
  color: #f9fafb;
  font: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
}
.user-trigger:hover {
  opacity: 0.9;
}
.member-avatar {
  width: 128px;     /* or 256px if you want bigger */
  height: 128px;
  object-fit: cover; /* crops nicely without stretching */
  border-radius: 6px; /* keep square with slight rounded corners, or 0 for sharp */
  border: 2px solid #6b7a91;
  background: #111; /* fallback if no image */
}
/* Search form inside hero */
.search-form {
  margin-top: 20px;
}
.search-form input {
  padding: 10px;
  width: 250px;
  border-radius: 6px;
  border: 1px solid #6b7a91;
  background: #1f2937;
  color: #f9fafb;
}
.search-form button {
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  background: #6b7a91;
  color: white;
  margin-left: 8px;
  cursor: pointer;
  transition: 0.2s;
}
.search-form button:hover {
  background: #55606f;
}

/* Pagination tweaks */
.pagination {
  text-align: center;
  margin: 20px 0;
}
.pagination a, .pagination span {
  display: inline-block;
  margin: 0 4px;
  padding: 8px 12px;
  background: #1f2937;
  color: #f9fafb;
  border-radius: 4px;
  text-decoration: none;
  transition: 0.2s;
}
.pagination a:hover {
  background: #374151;
}
.pagination a.active {
  background: #6b7a91;
  font-weight: bold;
}
.pagination span {
  background: transparent;
  color: #9ca3af;
}
.member-card {
  cursor: pointer;
  transition: 0.2s;
}
.member-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.member-card h3, 
.member-card p {
  color: #f9fafb; /* keep white/gray instead of blue links */
}
/* Profile Header */
.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #111;
  border: 1px solid #6b7a91;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 800px;
}

.profile-avatar {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #6b7a91;
}

.profile-info h2 {
  margin: 0;
  color: #f9fafb;
}

.profile-info p {
  margin: 4px 0;
  color: #d1d5db;
}

/* Profile Tabs */
.profile-tabs {
  text-align: center;
  margin: 20px 0;
}

.tab-link {
  background: #1f2937;
  color: #f9fafb;
  border: 1px solid #6b7a91;
  padding: 10px 16px;
  margin: 0 4px;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.2s;
}

.tab-link:hover {
  background: #374151;
}

.tab-link.active {
  background: #6b7a91;
  font-weight: bold;
}

/* Tab Content */
.tab-content {
  display: none;
  padding: 20px;
  background: #111;
  border: 1px solid #6b7a91;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto 20px;
  color: #f9fafb;
}

.subrole-container {
  margin-top: 8px;
}

.subrole {
  display: inline-block;
  background: #374151;
  color: #f9fafb;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
  margin-right: 6px;
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.avatar-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.avatar-card {
  background: #111;
  border: 1px solid #6b7a91;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  max-width: 180px;
}

.avatar-card img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #333;
}
/* Officer root dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background: #1a1a1a;
  min-width: 200px;
  border: 1px solid #2d3748;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  padding: 6px 0;
  z-index: 999;
  animation: fadeIn 0.2s ease-in-out;
}

.dropdown-content li {
  list-style: none;
}

.dropdown-content a {
  color: #f9fafb;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s, padding-left 0.2s;
}

/* Hover animation */
.dropdown-content a:hover {
  background: #6b7a91;
  padding-left: 22px;
  border-radius: 6px;
}

/* Sub dropdown container */
.dropdown-sub {
  position: relative;
}

/* Sub dropdown menu */
.dropdown-subcontent {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #1a1a1a;
  min-width: 200px;
  border: 1px solid #2d3748;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  padding: 6px 0;
  animation: fadeIn 0.2s ease-in-out;
}

.dropdown-sub a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Show sub-menu on hover */
.dropdown-sub:hover .dropdown-subcontent {
  display: block;
}

/* Small arrow for submenu */
.dropdown-sub > a::after {
  content: "▶";
  font-size: 0.7rem;
  margin-left: auto;
  color: #9ca3af;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-content {
  background: #1a1a1a;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  color: #f9fafb;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  max-width: 900px;
}
.table-log {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #1a1a1a;
  border: 1px solid #2d3748;
  border-radius: 8px;
  overflow: hidden;
}

.table-log th, .table-log td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #2d3748;
}

.table-log th {
  background: #6b7a91;
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table-log tr:nth-child(even) {
  background: #222;
}

.table-log tr:hover {
  background: #333;
}
.loa-active {
  color: #eab308; /* yellow */
  font-weight: bold;
}

.table-log td.reason {
  font-style: italic;
  color: #d1d5db;
}
.patrol-duration {
  font-weight: bold;
  color: #22c55e; /* green */
}
.charge {
  display: inline-block;
  background: #ef4444;
  color: white;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  margin: 2px;
}
.training-status.completed {
  color: #22c55e;
  font-weight: bold;
}

.training-status.pending {
  color: #eab308;
  font-weight: bold;
}
.note-entry {
  padding: 12px;
  border-left: 3px solid #6b7a91;
  margin: 10px 0;
  background: #111;
  border-radius: 6px;
}

.note-entry small {
  display: block;
  color: #9ca3af;
  margin-top: 4px;
  font-size: 0.8rem;
}
.avatar-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
}

.avatar-card {
  background: #111;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  max-width: 180px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.avatar-card img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #333;
  margin-bottom: 8px;
}
.tab-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  border-bottom: 2px solid #6b7a91;
  padding-bottom: 6px;
  color: #f9fafb;
}

.empty-msg {
  color: #9ca3af;
  font-style: italic;
  text-align: center;
  margin: 20px 0;
}

/* Consistent card look */
.tab-content {
  background: #1a1a1a;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  max-width: 900px;
}
/* Charges in Arrests */
.charge {
  display: inline-block;
  background: #ef4444; /* red */
  color: white;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  margin: 2px 4px 2px 0;
}

/* Training status */
.training-status.completed {
  color: #22c55e; /* green */
  font-weight: bold;
}

.training-status.pending {
  color: #eab308; /* yellow */
  font-weight: bold;
}
/* LOA specific */
.loa-active {
  color: #eab308;
  font-weight: bold;
}

/* Avatars */
.avatar-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 15px;
}

.avatar-card {
  background: #111;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 12px;
  width: 180px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.avatar-card:hover {
  transform: translateY(-4px);
}

.avatar-card img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #333;
  margin-bottom: 8px;
}

.avatar-meta {
  font-size: 0.8rem;
  color: #9ca3af;
}
/* Prevent wrapping */
.nav-links li {
  position: relative !important;
  white-space: nowrap !important;
}

.nav-links a {
  white-space: nowrap !important;
  color: #f9fafb !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  transition: 0.2s !important;
}

/* Dropdown menu base */
.dropdown-content {
  display: none !important;
  position: absolute !important;
  top: 100% !important;              /* directly below */
  left: 50% !important;              /* center horizontally */
  transform: translateX(-50%) !important; /* adjust back by 50% */
  background: #1f2937 !important;
  border: 1px solid #6b7a91 !important;
  border-radius: 6px !important;
  min-width: 180px !important;
  z-index: 1001 !important;
  padding: 6px 0 !important;
  text-align: left !important;
}

/* Dropdown links */
.dropdown-content a {
  display: block !important;
  padding: 10px 14px !important;
  color: #fff !important;
}

.dropdown-content a:hover {
  background: #374151 !important;
}

/* Active dropdown via JS */
.dropdown-content.show {
  display: block !important;
}
/* File Upload Styling */
input[type="file"] {
  display: block;
  width: 95%;
  padding: 10px;
  margin: 10px 0 20px 0;
  border: 1px solid #2d3748;
  border-radius: 6px;
  background: #1a1a1a;
  color: #9ca3af;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

input[type="file"]:hover {
  border-color: #6b7a91;
  background: #111;
  color: #fff;
}

input[type="file"]::-webkit-file-upload-button {
  background: #6b7a91;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 10px;
  transition: background 0.2s ease;
}

input[type="file"]::-webkit-file-upload-button:hover {
  background: #55606f;
}

/* Firefox (uses ::file-selector-button) */
input[type="file"]::file-selector-button {
  background: #6b7a91;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 10px;
  transition: background 0.2s ease;
}

input[type="file"]::file-selector-button:hover {
  background: #55606f;
}
.danger-zone {
  background: #2a0f0f;
  border: 1px solid #ef4444;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  color: #fca5a5;
}

.danger-zone h3 {
  color: #ef4444;
  margin-bottom: 10px;
}

.btn-danger {
  background: #ef4444;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s ease;
}

.btn-danger:hover {
  background: #b91c1c;
}
/* Header */
.server-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.server-header h2 {
  font-size: 2rem;
  color: #ec4899;
  margin: 0;
}
.server-location {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* Services */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: #111827;
  border-radius: 10px;
  font-size: 1.1rem;
}
.service-name {
  color: #f1f5f9;
}

/* Status Badges */
.status-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: bold;
  text-transform: uppercase;
}
.status-badge.online {
  background: #22c55e;
  color: #fff;
}
.status-badge.offline {
  background: #ef4444;
  color: #fff;
}
	/* Footer Join Button */
.server-footer {
  margin-top: auto;
  text-align: center;
}

.btn-join {
  display: inline-block;
  background: #38bdf8;         /* cyan-blue */
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.btn-join:hover {
  background: #0ea5e9;
  transform: translateY(-2px);
}

/* Type Variations */
.btn-join.steam {
  background: #0f172a;  /* dark navy */
}
.btn-join.steam:hover {
  background: #1e293b;
}

.btn-join.url {
  background: #22c55e;  /* green */
}
.btn-join.url:hover {
  background: #16a34a;
}

.btn-join.copy {
  background: #f59e0b;  /* amber/orange */
}
.btn-join.copy:hover {
  background: #d97706;
}
.form-container {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 20px;
  max-width: 500px;
  margin: 40px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.form-container h2 {
  margin-bottom: 20px;
  color: #38bdf8;
}

.form-container label {
  display: block;
  margin-bottom: 6px;
  color: #f1f5f9;
}

.form-container input,
.form-container select {
  width: 95%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #111827;
  color: #f1f5f9;
}

.form-container input:focus {
  outline: none;
  border-color: #38bdf8;
}

.btn-blue {
  display: inline-block;
  background: #38bdf8;
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-blue:hover {
  background: #0ea5e9;
}
/* Textareas (Notes, Charges, etc.) */
.form-container textarea {
  width: 95%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #111827;
  color: #f1f5f9;
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical; /* allow resize only up/down */
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-container textarea:focus {
  outline: none;
  border-color: #38bdf8;
  background: #0f172a;
}

/* Optional: Make label spacing consistent */
.form-container label {
  display: block;
  margin-bottom: 6px;
  color: #f1f5f9;
  font-weight: 500;
}
