:root{
  --bg: #070707;
  --white: #fefefe;
  --grey: #3A3A3A;
  --lgrey: #999999;
  --green: #008000;
  --orange: #E6AF2E;
  --red: #C80000;
  
  --status-info:     #E6AF2E;
  --status-error:    #C80000;
  --status-success:  #008000;
  --border-soft: rgba(255,255,255,.14);
  --border-strong: rgba(255,255,255,.20);
  --panel-bg: rgba(255,255,255,.04);
  --muted: rgba(227,229,227,.70);
  
  --fmain: 'Poppins', 'Segoe UI', sans-serif;
  --fsecond: 'Nunito Sans', 'Segoe UI', sans-serif;
  --color-primary:   #333333;
  --color-secondary: #606060;
  --color-background: #070707;
  --color-text:      #E3E5E3;
}

html,body{ height:100%; }
*{ box-sizing:border-box; }

.app-body{
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family:"PT Sans","Hind Siliguri",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.app-container{ 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 0 1rem; 
}

.main-header {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 94%;
    margin: 1rem auto 0px auto;
    padding: 0;
}

.main-header .app-title {
    margin: 0;
}

header p.title {
    margin: 0;
    padding: 0;
    margin-left: 2rem;
}

header img.logo {
  height: 8rem;
}

.main-header .app-title a {
    color: var(--white);
    text-decoration: none;
}

.main-header .app-title h2 {
    text-transform: uppercase;
    font-family: var(--fmain);
    letter-spacing: 1px;
    font-size: 26px;
    margin: 0;
    color: var(--lgrey);
}

.main-content {
    min-height: calc(100vh - 200px);
    padding: 8px 12px;
    position: relative;
}

.app-title{
  font-family: "Hind Siliguri", system-ui, sans-serif;
  color: var(--color-text);
}

.main-footer {
    position: fixed;
    bottom: 0;
    height: 30px;
    display: flex;
    gap: 10px;
    background-color: var(--grey);
    padding: 6px 12px;
    border-radius: 6px 0 0 0;
    width: auto;
    right: 0;
}

.main-footer p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--lgrey);
    font-family: var(--fsecond);
}

.gate--free  { background: var(--status-success); }
.gate--busy  { background: var(--status-error); }
.gate--check { background: var(--status-info); animation: gatePulse .6s ease-in-out infinite; }

@keyframes gatePulse{
  0% { filter: brightness(.95); }
  50%{ filter: brightness(1.12); }
  100%{ filter: brightness(.95); }
}

.dot--success{ background: var(--status-success); }
.dot--error{   background: var(--status-error); }
.dot--info{    background: var(--status-info); }

.gate .label{
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  text-shadow: 0 1px 0 rgba(0,0,0,.18);
  pointer-events: none;
  z-index: 1;
}

.grid {
  display: grid;
}

.grid-cols-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.grid-cols-\[1fr_auto_1fr\] {
  grid-template-columns: 1fr auto 1fr;
}

.place-items-center {
  place-items: center;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.p-3 {
  padding: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.border {
  border-width: 1px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-full {
  border-radius: 9999px;
}

.text-\[var\(--muted\)\] {
  color: var(--muted);
}

.text-\[var\(--color-text\)\] {
  color: var(--color-text);
}

.bg-\[var\(--panel-bg\)\] {
  background-color: var(--panel-bg);
}

.border-\[var\(--border-soft\)\] {
  border-color: var(--border-soft);
}

.border-\[var\(--border-strong\)\] {
  border-color: var(--border-strong);
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inline-block {
  display: inline-block;
}

.inline-flex {
  display: inline-flex;
}

.hidden {
  display: none;
}

.shrink-0 {
  flex-shrink: 0;
}

.min-w-0 {
  min-width: 0;
}

.h-full {
  height: 100%;
}

.w-auto {
  width: auto;
}

.h-3 {
  height: 0.75rem;
}

.w-3 {
  width: 0.75rem;
}

.opacity-80 {
  opacity: 0.8;
}

.shadow {
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.will-change-transform {
  will-change: transform;
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

.select-none {
  user-select: none;
}

.pointer-events-none {
  pointer-events: none;
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.bg-transparent {
  background-color: transparent;
}

.m-0 {
  margin: 0;
}

@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:items-center {
    align-items: center;
  }
  
  .md\:justify-between {
    justify-content: space-between;
  }
}
