* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: Arial, sans-serif;
  background:#f4f7fa;
  color:#333;
  line-height:1.6;
}
header {
  background: #002147;  /* navy blue */
  color: #fff;
  padding: 10px 15px;
  text-align:center ;
}

header nav a {
  color:#fff;
  margin:0 10px;
  text-decoration:none;
  font-weight:bold;
}

header nav a:hover { text-decoration:underline; }

.container {
  max-width:800px;
  margin:20px auto;
  padding:15px;
  background:#fff;
  border-radius:10px;
  box-shadow:0px 2px 6px rgba(0,0,0,0.1);
}

form input, form button {
  width:100%;
  padding:10px;
  margin:8px 0;
  border-radius:6px;
  border:1px solid #ccc;
}

form button {
  background:#0066cc;
  color:#fff;
  border:none;
  cursor:pointer;
}

form button:hover { background:#004d99; }

footer {
  background:#222;
  color:#fff;
  text-align:center;
  padding:15px;
  margin-top:20px;
}

@media(max-width:600px) {
  header nav {
    display:flex;
    flex-direction:column;
  }
  header nav a { margin:5px 0; }
}
#results {
  margin-top: 15px;
  width: 100%;
}

#results ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#results li {
  background: #f9f9f9;
  margin: 8px 0;
  padding: 12px;
  border-radius: 6px;
  box-shadow: 0px 1px 3px rgba(0,0,0,0.1);
  font-size: 15px;
}

#results li .name {
  font-weight: bold;
}

#results li .email {
  color: #555;
  margin-left: 6px;
}

/* 📱 Mobile Fix */
@media (max-width: 600px) {
  #results li {
    font-size: 14px;          /* smaller text */
    padding: 10px;
  }
}
/* Spinner */
#spinner {
  margin: 15px auto;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #0066cc;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Navigation Bar */
.main-nav {
  background: #004d99;
  padding: 10px 15px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 5px 10px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.3s;
  display: inline-block;
}

.main-nav a:hover {
  background: #0066cc;
}

/* 📱 Responsive nav (mobile view) */
@media (max-width: 600px) {
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }
  .main-nav li {
    margin: 8px 0;
  }
}
.container1 {
  width:200px;
 height: 200px;
  margin:20px auto;
  padding:15px;
  background:#fff1;
  border-radius:10px;
  box-shadow:0px 2px 6px rgba(0,0,0,0.1);
}
/* Table Styles */
.table-responsive {
  overflow-x: auto;
  margin-top: 15px;
}

.members-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.members-table th,
.members-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
}

.members-table th {
  background: #0066cc;
  color: #fff;
  font-weight: bold;
}

.members-table tr:nth-child(even) {
  background: #f9f9f9;
}

/* 📱 Responsive Table */
@media (max-width: 600px) {
  .members-table th, 
  .members-table td {
    font-size: 14px;
    padding: 8px;
  }
}
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;              /* full width */
  padding: 10px 12px;       /* inner spacing */
  margin: 8px 0;            /* spacing between fields */
  border: 1px solid #ccc;   /* light border */
  border-radius: 6px;       /* rounded corners */
  font-size: 16px;
  font-family: Arial, sans-serif;
  box-sizing: border-box;   /* keeps padding inside width */
  transition: 0.3s;
}
/* Sticky Social Bar */
.social-bar {
  position: sticky;   /* stays at top when scrolling */
  top: 0;
  left: 0;
  width: 100%;
  background: #0F172B;
  padding: 8px 0;
  text-align: right;
  z-index: 2000;      /* stays above header */
}

.social-bar a {
  color: #fff;
  margin: 0 10px;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
}

.social-bar a:hover {
  color: #0066cc;  /* highlight on hover */
}

/* --- Professional Header --- */
.site-header {
  /*background: linear-gradient(90deg, #0d47a1, #1976d2);*/
  background: linear-gradient(90deg, #000, #222);
  color: #fff;
  box-shadow: 0 6px 14px rgba(13, 71, 161, 0.25);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,0.15); /* nice if logo is transparent */
  padding: 6px;                       /* remove if not needed */
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-subtitle {
  font-size: 12px;
  opacity: 0.9;
}

/* Right-side action */
.header-actions .cta {
  background: #ffffff;
  color: #0d47a1;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 12px rgba(255,255,255,0.15);
  white-space: nowrap;
}
.header-actions .cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 16px rgba(255,255,255,0.2);
}

/* Mobile consistency (keep same layout but scale nicely) */
@media (max-width: 640px) {
  .header-inner { padding: 12px 14px; }
  .brand-logo { width: 70px; height: 70px; }
  .brand-title { font-size: 20px; }
  .brand-subtitle { font-size: 11px; }
  .header-actions .cta { padding: 9px 12px; font-size: 14px; }
}

/* If your header sits under a sticky social bar, add safe offset via the page content container if needed */
/* .container { margin-top: 6px; } */

/* Social icons in header */
.header-social a {
  color: #fff !important;
  margin-left: 14px;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
}

.header-social a:hover {
  color: #ffd54f; /* golden highlight on hover */
}

@media (max-width: 640px) {
  .header-social a {
    margin-left: 10px;
    font-size: 16px;
    color: #fff !important;
  }
}

