@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');



/* === NAVBAR STYLES === */
.navbar {
  background-color: #1e1e1e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Burger button (hidden on desktop) */
.burger {
  font-size: 1.8rem;
  color: #e0e0e0;
  cursor: pointer;
  display: none;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 32px;
  width: auto;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

/* .nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.3s ease;
} */
a {
  text-decoration: none;
} 

.nav-links a {
  color: #e0e0e0;
/* text-decoration: none; */ 
  margin-left: 1rem;
  font-weight: 500;
  padding: 6px 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background-color: #2196f3;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
  transform: translateY(-2px);
}

.nav-links.show {
  transition: all 0.3s ease-in-out;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
}

header {
  background-color: #1e1e1e;
  padding: 1rem 2rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

i {
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

header h1 {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.container {
  max-width: 50rem;
  margin: 2rem auto;
  background: #1f1f1f;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(71, 127, 233, 0.482);
  animation: fadeIn 1s ease-out;
}

.tnea-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.tnea-link button{
  width: 10rem;
}

.tnea-link:hover {
  background-color: #2196f3;
  transform: scale(1.01);
  transition: all 0.3s ease;
}

.tnea-link h2 {
  margin-left: 1rem;
}

.container h2,
.cutoff-container h2 {
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.65rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.5px;
}


.grey_con:hover {
  background-color: #2a2a2a;
  transform: scale(1.01);
  transition: all 0.3s ease;
}

label {
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  margin-top: 1rem;
  gap: 8px;
  color: #ffffff;
}

input, select, button {
  width: 95%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border-radius: 8px;
  background: #2c2c2c;
  border: 1px solid #555;
  color: #ffffff;
  font-size: .75rem;
  transition: all 0.3s ease;
}

input:focus, select:focus {
  outline: none;
  border-color: #2196f3;
  box-shadow: 0 0 6px rgba(33, 150, 243, 0.5);
}

button {
  background-color: rgba(240, 147, 71, 0.984);
  color: white;
  margin-top: 1.5rem;
  cursor: pointer;
  border: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

button:hover {
  background-color: rgb(240, 114, 12);
  transform: scale(1.02);
}

#results {
  margin-top: 2rem;
  animation: slideUp 0.6s ease;
}

#results ul {
  list-style-type: none;
  padding: 0;
}

#results li {
  background: #263238;
  padding: 1rem;
  margin: 0.5rem 0;
  border-radius: 10px;
  color: #e0f2f1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInList 0.4s ease-in-out;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px; /* Adds space between rows */
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  background-color: #fff;
  table-layout: auto; /* or 'fixed' for more control */
  word-wrap: break-word;
}

thead tr {
  background-color: #e9ecef;
  border-radius: 6px;
}

th, td {
  padding: 6px 8px;
  background: #232323;
  border: 1px solid #818181;
  text-align: center;
}

tr {
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

tbody tr:nth-child(even) td {
  background-color:  #232323;
}

tbody tr:hover td {
  background-color: #db6918;
  transition: background-color 0.3s;
}

#cutoff:focus {
  outline: none;
  border-color: #2196f3;
}

input.invalid {
  border-color: red;
}


.container ul {
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.container ul li {
  margin-bottom: 0.5rem;
}


blockquote {
  margin-top: 2rem;
  padding: 1rem;
  border-left: 4px solid #2196f3;
  background-color: #2a2a2a;
  font-style: italic;
  color: #cfe9ff;
}

#branchNote {
  color: #0f0;
  font-size: 0.95rem;
  font-style: italic;
  margin-top: 5px;
}


@media (max-width: 1200px) {

  .container {
    max-width: 80%;
    margin: 2rem auto;
    padding: 1rem;
  }

  .container h1 {
    font-size: 1.3rem;
    letter-spacing: 0.2rem;
  }
  .container h2 {
    font-size: 1.3rem;
    letter-spacing: 0.2rem;
  }

  .container p {
    font-size: 13px;
  }

  input, select, button, label {
  width: 95%;
  padding: 0.5rem;
  margin-top: 0.3rem;
  font-size: .75rem;
}

  table {
    font-size: 10px;
  }
  th, td {
    padding: 4px 4px;
  }

  /* for burger option visibility in Phone page*/
  .nav-links {
    position: absolute;
    top: 60px; /* or adjust to match navbar height */
    left: 5%;
    right: 5%;
    background-color: #1e1e1e;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
    z-index: 99;
    box-shadow: 0 5px 8px #2196f3;
  }

  .nav-links.show {
  display: flex;
}

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
  }

  .burger {
    display: block;
  }
  /* for burger option visibility in Phone page*/


}

@media (max-width: 768px) {

  .container {
    max-width: 90%;
    margin: 1.5rem auto;
    padding: 0.5rem;
  }

  .container p {
    font-size: 10px;
  }

  .container h1 {
    font-size: 1rem;
    letter-spacing: 0.1rem;
  }

  .container h2 {
    font-size: 0.75rem;
    letter-spacing: 0.25px;
  }

  input, select, button, label {
    width: 95%;
    padding: 0.3rem;
    margin-top: 0.3rem;
    font-size: .60rem;
  }

  table {
    font-size: 8px;
  }
  th, td {
    padding: 2px 2px;
  }

  /* for burger option visibility in Phone page*/
  .nav-links {
    position: absolute;
    top: 60px; /* or adjust to match navbar height */
    left: 5%;
    right: 5%;
    background-color: #1e1e1e;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
    z-index: 99;
    box-shadow: 0 5px 8px #2196f3;
  }

  .nav-links.show {
  display: flex;
}

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
  }

  .burger {
    display: block;
  }
  /* for burger option visibility in Phone page*/
  
}



/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInList {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Notification Scroll Bar ===== */
.notification-bar {

  max-width: 100%;
  background: #1f1f1f;
  overflow: hidden;
  padding: 0.6rem 0;
  position: relative;
  box-shadow: 0 0 15px rgba(178, 24, 24, 0.718);
 /*  box-shadow: 8px 5px 8px #2196f3; */
}

.notification-track {
  display: inline-block;
  white-space: nowrap;
  animation: scrollLeft 40s linear infinite;
  font-size: 1.1rem;
  color: #ffffff;
  padding-left: 100%; /* Creates the scroll offset */
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.cutoff-box {
  background-color: #2a2a2a;
  border: 1px solid #ff6600;
  padding: 15px;
  margin-top: 15px;
  border-radius: 8px;
  color: rgb(255, 255, 255); /* applies to all inner text */
  text-align: center;
  font-size: 1.1rem;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.3);
}
