<style > * {
  box-sizing: border-box;
}

:root {
  --bg: #f3f7fa;
  --panel: #ffffff;
  --panel2: #f8fbfd;

  --primary: #0099cc;
  --primary-light: #e8f8fd;

  --text: #26343d;
  --muted: #7b8b94;

  --green: #00a878;
  --yellow: #e0a800;
  --red: #e74c3c;

  --border: #d5e3e9;
}

body {
  margin: 0;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  font-family: Arial, sans-serif;

  background: radial-gradient(
    circle at top,
    #ffffff 0%,
    #eef5f8 60%,
    #e5edf1 100%
  );

  color: var(--text);
}

/* MAIN CONTAINER */
.container {
  width: 100%;
  max-width: 360px;
  min-height: 620px;

  background: var(--panel);

  border: 1px solid #cbdde4;

  border-radius: 6px;

  box-shadow: 0 8px 30px rgba(40, 80, 100, 0.12);

  display: flex;
  flex-direction: column;

  position: relative;
  overflow: hidden;
}

/* FUTURISTIC CORNERS */

.container::before,
.container::after {
  content: '';

  position: absolute;

  width: 30px;
  height: 30px;

  pointer-events: none;
}

.container::before {
  top: 0;
  left: 0;

  border-top: 3px solid var(--primary);
  border-left: 3px solid var(--primary);
}

.container::after {
  bottom: 0;
  right: 0;

  border-bottom: 3px solid var(--primary);
  border-right: 3px solid var(--primary);
}

/* HEADER */

.header {
  height: 90px;

  display: flex;
  align-items: center;

  padding: 12px 18px;

  border-bottom: 1px solid var(--border);

  background: linear-gradient(90deg, #eaf9fd, #ffffff);
}

.logo {
  width: 62px;
  height: 62px;

  object-fit: contain;

  margin-right: 20px;

  filter: drop-shadow(0 3px 5px rgba(0, 150, 200, 0.15));
}

.system-info {
  display: flex;
  flex-direction: column;

  gap: 5px;
}

.system-name {
  font-size: 15px;

  font-weight: bold;

  letter-spacing: 2px;

  color: #26343d;
}

.online {
  font-size: 9px;

  color: var(--green);

  letter-spacing: 1.5px;
}

.online::before {
  content: '●';

  margin-right: 5px;

  text-shadow: 0 0 5px rgba(0, 168, 120, 0.5);
}

/* MAIN */

.main {
  flex: 1;

  padding: 15px;
}

/* TOOLBAR */

.toolbar {
    flex-shrink: 0;

    display: flex;

    gap: 14px;

    padding: 8px 37px;

    align-items: center;
}


.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    width: 100%;
    padding: 8px 17px;
}

.toolbar input {
    height: 25px; 
    flex: 1 1 50px;
    min-width: 100px; 
    border: 1px solid #111; 
    padding: 5px 10px;

    outline: none;

    font-size: 12px;

    background: white;

    width: auto;
}


/* ADD BUTTON */

.btn-add {
    height: 23px; 
    flex: 0 1 50px; 
    border: 1px solid #111;  
    border-radius: 8px;  
    cursor: pointer;
}

.btn-edit,
.btn-add,
.btn-delete { 
    display: inline-flex;
    align-items: center;
    justify-content: center; 
    background: white;
    cursor: pointer;
    text-decoration: none;
}

.btn-edit {
	 
}

.btn-delete {
	 color: #e74c3c; 
    cursor: pointer; 
}

.btn-add {
    padding: 0 20px;
    border-radius: 18px;
}

/* TABS */

.tabs {
  display: flex;

  background: #f7fafb;

  border: 1px solid var(--border);

  border-radius: 5px 5px 0 0;
}

.tab {
  flex: 1;

  padding: 9px 5px;

  background: transparent;

  color: var(--muted);

  border: none;

  border-right: 1px solid var(--border);

  font-size: 11px;

  font-weight: bold;

  letter-spacing: 1px;

  cursor: pointer;

  transition: 0.2s;
}

.tab:last-child {
  border-right: none;
}

.tab:hover {
  background: var(--primary-light);

  color: var(--primary);
}

.tab.active {
  color: var(--primary);

  background: #ffffff;

  box-shadow: inset 0 -2px 0 var(--primary);

  text-shadow: 0 0 5px rgba(0, 153, 204, 0.15);
}

/* TAB CONTENT */

.tab-content {
  display: none;

  min-height: 600px;

  padding: 12px;

  border: 1px solid var(--border);

  border-top: none;

  background: #ffffff;

  border-radius: 0 0 5px 5px;
}

.tab-content.active {
  display: block;

  animation: fade 0.2s ease;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLE */

table {
  width: 100%;

  border-collapse: collapse;

  font-size: 11px;
}

th {
  padding: 8px 5px;

  color: var(--primary);

  text-align: left;

  font-size: 9px;

  letter-spacing: 1px;

  background: #f5fafc;

  border-bottom: 1px solid var(--border);
}

td {
  padding: 9px 5px;

  border-bottom: 1px solid #edf1f3;

  color: #40515a;
}

tbody tr {
  transition: 0.2s;
}

tbody tr:hover {
  background: #f0faff;

  box-shadow: inset 2px 0 0 var(--primary);
}

/* STATUS */

.status {
  display: inline-flex;

  align-items: center;

  gap: 5px;

  font-size: 9px;

  font-weight: bold;

  letter-spacing: 1px;
}

.status::before {
  content: '';

  width: 6px;
  height: 6px;

  border-radius: 50%;
}

/* EMPTY */

.empty {
  color: var(--green);
}

 

/* FULL */
.hfull {
  color: var(--yellow);
}
.afull {
  color: var(--orange);
}

.full {
  color: var(--red);
 
  box-shadow: 0 0 5px rgba(224, 168, 0, 0.5);
}
 
.full::before {
  background: var(--red);

  box-shadow: 0 0 6px rgba(0, 168, 120, 0.5);
}

/* FOOTER */

.footer {
  height: 35px;

  display: flex;

  align-items: center;

  padding: 0 15px;

  border-top: 1px solid var(--border);

  color: var(--muted);

  font-size: 9px;

  letter-spacing: 1px;

  background: #f7fafb;
}

.footer span {
  color: var(--primary);
}

/* MOBILE */

@media (max-width: 500px) {
  body {
    align-items: flex-start;

    padding: 10px;
  }

  .container {
    max-width: 100%;

    min-height: calc(100vh - 20px);
  }

  .header {
    height: 80px;
  }

  .logo {
    width: 52px;
    height: 52px;

    margin-right: 15px;
  }

  .tab-content {
    min-height: 600px;
    height: 100%;
  }
}
