/* Navbar outer */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #2c3e50; /* midnight blue */
/*	background: #3B4F66; /* slate blue */
/*	background: #43576E; /* soft slate */
/*	background: #475569; /* indigo grey */
/*	background: #3F5A73; /* blue slate */
/*	background: #44546A; /* muted navy */
    z-index: 1000;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Inner container (MATCH Tailwind container) */
.nav-container {
    max-width: 1024px;   /* \u2b05\ufe0f THIS is the key fix */
    margin: 0 auto;
    padding: 0 1.5rem;   /* \u2b05\ufe0f matches Tailwind px-6 */

    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Left */
.nav-left a {
    /* color: white; */
	color: #F3F7FB;
    font-weight: 600;
    font-size: 24px;
    text-decoration: none;
}

/* Right */
.nav-right {
    display: flex;
    gap: 20px;
	align-items:center;
}

.nav-right a {
/*    color: white; */
	color: #F3F7FB;	
    text-decoration: none;
    font-size: 16px;
}

.nav-right a:hover {
    color: #1abc9c;
}

.nav-login {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border: 1px solid #2563eb;
    border-radius: 0.375rem;
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-login:hover {
    background-color: #2563eb;
    color: white;
}

/* Brand */
.brand {
    display: flex;
    flex-direction: column;
    justify-content: center;

    text-decoration: none;
    color: white;

    line-height: 1;
}

.brand-name {
    font-size: 2rem;          /* 32px */
    font-weight: 700;
    letter-spacing: 0.03em;
}

.brand-tagline {
    margin-top: 6px;

    font-size: 1rem;          /* 16px */
    font-weight: 500;

    color: rgba(255,255,255,0.82);

    letter-spacing: 0.02em;
}

body {
    padding-top: 40px;
}


/* Force default link styling inside test pages */
.navigation a {
    color: #2563eb;           /* blue */
    text-decoration: underline;
}

.navigation a:hover {
    color: #1d4ed8;           /* darker blue on hover */
}

/* Comment out below or remove to restore the original data-tables look */

  /* Restore classic bordered table look */
  table.dataTable {
    border-collapse: collapse !important;
    width: 100%;
    border: 1px solid #ddd !important;
  }

  table.dataTable thead th {
    border-bottom: 2px solid #ccc !important;
    background-color: #f9fafb; /* subtle gray */
    font-weight: 600;
    padding: 10px 12px !important;
  }

  table.dataTable tbody td {
    border: 1px solid #e5e7eb !important; /* light gray borders */
    padding: 10px 12px !important;
    vertical-align: top;
  }

  table.dataTable tbody tr:nth-child(even) {
    background-color: #f8fafc; /* faint zebra striping */
  }

  table.dataTable tbody tr:hover {
    background-color: #f1f5f9 !important;
  }

  /* Adjust DataTables search + pagination spacing */
  .dataTables_wrapper .dataTables_filter input {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 8px;
  }
  .dataTables_wrapper .dataTables_length select {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 3px 6px;
  }

  .fade-card {
      transition: opacity 0.25s ease, transform 0.25s ease,
				  height 0.25s ease, margin 0.25s ease;
  }
  
  /* Visible state */
  .fade-show {
      opacity: 1;
      transform: scale(1);
      height: auto;
  }
  
  /* Hidden (collapsed) state */
  .fade-hide {
      opacity: 0;
      transform: scale(0.98);
      height: 0;
      margin: 0;
      padding-top: 0 !important;
      padding-bottom: 0 !important;
  }
  
  /* FAQ page */
  .question {
      font-family: "IBM Plex Sans", system-ui, sans-serif;
      font-size: 1.15rem;
      font-weight: 500;
      line-height: 1.5;
      color: #111827;
  }
  
  /* FAQ answer content */
  .answer {
      margin: 0.75rem 1rem 0.25rem 1.5rem;
	  
      font-family: "IBM Plex Sans", system-ui, sans-serif;
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.65;
      color: #374151;
  }

  .section-title {
	  font-family: "IBM Plex Sans", system-ui, sans-serif;
      font-size: 1.6rem;
      font-weight: 700;
      color: #1f2937;
      border-bottom: 2px solid #dbeafe;
      padding-bottom: .3rem;
      margin-top: 2.5rem;
      margin-bottom: 1rem;
  }

  /* Content block */

  .content-block {
	  margin-top: 50px;
  }
/* -------------------------------------------------------
   User menu
   ------------------------------------------------------- */

.user-menu-slot {
    width: 220px;      /* match your dropdown width */
    display: flex;
    justify-content: flex-end;
}
  
.account-menu {
    position: relative;
	margin-left: 18px;
	width: 14rem;
	box-sizing: border-box;
}

.account-menu summary {
    list-style: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    gap: .5rem;

    padding: .55rem 1rem;

	background: rgba(255,255,255,.10);
	border: 1px solid rgba(255,255,255,.12);
	color: #F8FAFC;
	backdrop-filter: blur(6px);
    border-radius: .6rem;

    font-weight: 500;

    transition: background .15s ease;
	box-sizing: border-box;
}

.account-menu summary:hover {
	background: rgba(255,255,255,.15);
	border-color: rgba(255,255,255,.22);
}

.account-menu summary::-webkit-details-marker {
    display: none;
}

/* -------------------------------------------------------
   Dropdown
   ------------------------------------------------------- */

.account-menu > div {
    position: absolute;

    left: 0;
    top: calc(100% + 6px);

    background: #f8fafc;
	width: calc(100% + 2px);
	
    border: 1px solid #cbd5e1;
    border-top: none;

    border-radius: .6rem;
	margin-top: .4rem;
	
    box-shadow: 0 6px 12px rgba(0,0,0,.08);

    z-index: 1000;
	box-sizing: border-box;
}

.account-menu a {
    display: block;
    padding: .75rem 1rem;
    color: #334155;
    text-decoration: none;
    transition: background .15s;
}

.account-menu a:hover {
    background: #eff6ff;
}

.account-menu[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* For the divider between file and URL in the form */
.form-divider {
    display: flex;
    align-items: center;
    margin: 1.25rem 0;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-divider::before,
.form-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid #d1d5db;
}

.form-divider span {
    margin: 0 0.75rem;
}

/* ==========================================================
   Tests Table
   ========================================================== */

.test-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    font-size: 0.95rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.test-table thead {
	background: #f1f5f9;
    color: #1e293b;
}

.test-table th {
    padding: .9rem 1rem;
    text-align: left;
    font-weight: 600;
    letter-spacing: .02em;
	border-bottom: 2px solid #cbd5e1;
}

.test-table td {
    padding: .85rem 1rem;
    border-top: 1px solid #e5e7eb;
}

.test-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.test-table tbody tr:hover {
    background: #eff6ff;
}

.test-table a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.test-table a:hover {
    text-decoration: underline;
}

.test-id {
    font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
    font-size: .88rem;
    white-space: nowrap;
    color: #475569;
}

/* Card title */
.header-title {
    display: inline-block;

    /* Typography */
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.015em;

    /* Wrapping */
    white-space: normal;
    overflow-wrap: break-word;

    /* Appearance */
    color: inherit;
}

/* Common div for auth and password pages */
.auth-card {
    width: 448px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.1),
                0 1px 2px rgba(0,0,0,.06);
}

/* Filter buttons */

.filter-btn {
    box-shadow:
        0 1px 2px rgba(0,0,0,.08);
}

.filter-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 4px 10px rgba(0,0,0,.12);
}

.filter-btn.active {

    transform: translateY(1px);
    box-shadow:
        inset 0 3px 8px rgba(0,0,0,.22);

}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 0.45rem;

    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;

    border-radius: 9999px;

    background: rgba(255, 255, 255, 0.9);
    color: #374151;              /* dark gray */

    font-size: 0.9rem;
    font-weight: 700;
}

