  body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background: linear-gradient(180deg, #0b1222, #11192e);
    color: #f5f7fa;
  }

  /* Page container for proper width */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
  }

  /* Header Section */
  .header-card {
    margin-top: 20px;
    background: #1c253a;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .header-info {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .header-info img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #0a182f;
    object-fit: cover;
  }

  .header-text h2 {
    margin: 0;
    font-size: 1.6rem;
    color: #ffffff;
  }

  .header-text span {
    display: block;
    color: #9db2d4;
    font-size: 0.9rem;
  }

  .header-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .tag {
    background: #2a354f;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: background 0.3s;
    cursor: default;
  }

  .tag:hover {
    background: #3c4a6b;
  }

  .tag.cta {
    background: #1f2a43;
    color: #9bd1ff;
    font-weight: 600;
    cursor: not-allowed;
    border: 1px solid #2d3c60;
  }

  /* Dropdown section */
  .layer-section {
    width: 100%;
    margin-top: 20px;
  }

  .layer-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }

  .layer-grid.active {
    display: grid;
  }

  .layer-card {
    background: #1b253a;
    border: 1px solid #2b3755;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s, background 0.3s;
  }
   
  .layer-card h3 {
    margin: 0;
    font-size: 1rem;
    color: #00bfff;
  }

  .layer-card h4 {
    margin: 8px 0 6px;
    font-size: 1.05rem;
  }

  .layer-card p {
    font-size: 0.9rem;
    color: #b6c2da;
  }

  @media (max-width: 600px) {
    .header-info {
      flex-direction: column;
      align-items: flex-start;
    }

    .header-top {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }
  }

/*stop*/
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(180deg, #1e2a44, #1b243a);
  color: #fff;
  margin: 0;
  padding: 0px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

h2 {
  margin-bottom: 8px;
  font-size: 1.8rem;
}

p.subtitle {
  color: #aeb8d0;
  margin-bottom: 40px;
}

.form-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.card h3 {
  margin-top: 0;
  color: #fff;
}

.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #d0d6e0;
}

.input-group input,
.input-group textarea {
  width: 90%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1rem;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.roles label {
  background: rgba(255,255,255,0.15);
  padding: 10px 10px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.9rem;
  user-select: none;
  transition: 0.3s;
}

.roles input {
  display: none;
}

.roles input:checked + label {
  background: #007bff;
}

button {
  padding: 12px;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.join-btn {
  background: linear-gradient(90deg, #2979ff, #00b0ff);
}

.join-btn:hover {
  opacity: 0.9;
}

.submit-btn {
  background: linear-gradient(90deg, #00bfa5, #00acc1);
}

.submit-btn:hover {
  opacity: 0.9;
}


/* --- Techniques Section --- */
/* ============================
   DARK CYBER COLOR THEME
============================= */
:root{
  --bg:#0b1220;
  --card:#1b2d4b;
  --muted:#243654;

  --accent:#8c96c6;
  --accent-dark:#a8b0dd;

  --pill:#1f3558;
  --pill-border:#364a6b;
  --pill-text:#d5e6ff;

  --def-text:#7bf3c6;

  --table-border:#2a3e5d;

  --shadow:0 6px 18px rgba(0,0,0,0.35);
  --glow:0 0 12px rgba(120,160,255,0.25);
}

html,body{
  margin:0;
  font-family:"Poppins",system-ui;
  background:var(--bg);
  color:#d5e6ff;
}

/* WRAPPER */
.wrap{
  max-width:1200px;
  margin:28px auto;
  padding:24px;
}

/* SEARCH CARD */
.search-card{
  background:var(--card);
  border-radius:18px;
  padding:18px;
  box-shadow:var(--shadow);
  display:flex;
  gap:16px;
  align-items:center;
  margin-bottom:18px;
  flex-wrap:wrap;
  transition:0.25s ease;
}
.search-card:hover{
  box-shadow:var(--glow);
}

.search-input{
  flex:1;
  display:flex;
  align-items:center;
  background:#0f1c33;
  border-radius:12px;
  padding:10px 14px;
  border:1px solid var(--table-border);
}

.search-input input{
  border:0;
  outline:none;
  background:transparent;
  font-size:15px;
  padding:6px 8px;
  color:#d5e6ff;
  width:100%;
}

.search-count{
  font-size:14px;
  color:#8fa4c7;
}

/* FILTER PILLS */
.pills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0;
}

.pill{
  background:var(--pill);
  border:1px solid var(--pill-border);
  color:var(--pill-text);
  border-radius:999px;
  padding:8px 14px;
  font-size:14px;
  cursor:pointer;
  transition:0.2s ease;
}

.pill:hover{
  transform:translateY(-3px);
  background:#2b4670;
  box-shadow:var(--glow);
}

.pill.active{
  background:#3a558d;
  border-color:#536fa1;
  color:#ffffff;
  font-weight:600;
  box-shadow:var(--glow);
}

/* TABLE CARD */
/* TABLE CARD */
.table-card{
  background:var(--card);
  border-radius:12px;
  box-shadow:var(--shadow);
  border:1px solid var(--table-border);

  overflow-x: auto;   /* horizontal scroll for mobile */
  overflow-y: auto;   /* vertical scroll for sticky */
  max-height: 500px;  /* enables scrolling area */
}

/* TABLE */
table{
  width:100%;
  border-collapse:collapse;
  font-size:15px;
  table-layout:fixed;
  min-width:800px;   /* forces horizontal scroll on small screens */
}

/* STICKY HEADER */
thead th{
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--card);

  text-align:left;
  color:#ffffff;
  padding:14px 16px;
  font-weight:700;
  font-size:14px;
  border-bottom:1px solid var(--table-border);
}

/* BODY ROWS */
tbody tr{
  transition:0.18s ease;
  cursor:pointer;
}

tbody tr:hover{
  background:#23365a;
  box-shadow:var(--glow);
}

/* BODY CELLS */
tbody td{
  padding:14px 16px;
  border-bottom:1px solid var(--table-border);
  color:#d5e6ff;
  word-wrap:break-word;
}

/* CELL STYLES */
.id{
  color:#9fbaff;
  font-weight:600;
  width:90px;
}

.technique{
  font-weight:600;
}

.tactic-badge{
  display:inline-block;
  background:#394d75;
  border:1px solid #51639b;
  color:#e3eaff;
  padding:4px 8px;
  border-radius:10px;
  font-size:13px;
  font-weight:600;
}

.definition{
  color:#c2d6ff;
}

.defense{
  color:var(--def-text);
  font-weight:600;
  font-size:14px;
}

/* FOOTER */
.bottom-bar{
  margin-top:20px;
  background:#05080f;
  color:#9fbaff;
  border-radius:8px;
  padding:10px 14px;
  font-size:13px;
  display:flex;
  justify-content:center;
}

/* RESPONSIVE */
@media (max-width:900px){
  table, thead, tbody, th, td, tr{
    font-size:13px;
  }
  .wrap{
    padding:16px;
  }
  .definition,
  .defense{
    font-size:13px;
  }
}

/*tested Model */
.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #c9d1d9; /* soft grey */
}

.input-group select {
  width: 100%;
  background: #0f1628;
  color: #f5f7fa;
  border: 1px solid #1e2a47;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 15px;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s ease;
}

/* Hover */
.input-group select:hover {
  border-color: #3b82f6;
}

/* Focus */
.input-group select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.3);
}

/* Optional: Arrow styling */
.input-group {
  position: relative;
}

.input-group::after {
  position: absolute;
  right: 15px;
  top: 42px;
  pointer-events: none;
  font-size: 12px;
  color: #9ba3b4;
}

/*join message */
/* Alert message box */
.alert {
  width: 100%;
  padding: 12px 16px;
  margin: 15px 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  animation: fadeIn 0.4s ease;
}

/* Success style */
/* Alert box */
.alert {
  width: 100%;
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

/* Success */
/* Alert box */
.alert {
  width: 90%;
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

/* Success */
.alert.success {
  background: #0f8f41;
  border-left: 5px solid #0ad15e;
}

/* Error */
.alert.error {
  background: #d83434;
  border-left: 5px solid #ff5b5b;
}

/* Close button */
.alert .close-btn {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}



