/* === GLOBAL FONTS === */
@font-face {
  font-family: 'Geometos Neue';
  src: url('../fonts/GeometosNeue-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Geometos Neue';
  src: url('../fonts/GeometosNeue-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Helvetica';
  src: url('../fonts/Helvetica.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* === BASE BODY STYLES === */
body {
  font-family: Helvetica, sans-serif;
  background: linear-gradient(135deg, #e6f0fa 70%, #c5e3fa 100%);
  color: #002f6c;
  margin: 0;
  padding: 20px;
}


#main-content,
.main-flex {
  max-width: 1100px;
  /* pick the same value for both! */
  margin: 0 auto;
}


h1,
h2 {
  font-size: 2.4em;
  font-family: 'Geometos Neue', Helvetica, Arial, sans-serif;
  letter-spacing: 0.04em;
  color: #234789;
  text-align: center;
  margin-top: 38px;
  margin-bottom: 12px;
  font-weight: bold;
  position: relative;
}

h1::after {
  content: '';
  display: block;
  margin: 16px auto 0 auto;
  width: 130px;
  height: 4px;
  border-radius: 2px;
  background: #234789;
  opacity: 0.13;
}



.hidden {
  display: none;
}

/* === LOGIN, CARDS, CONTAINERS === */
.checklist-container,
.saved-agents,
.login-container {
  margin-top: 20px;
  border: 1px solid #c3d1e6;
  padding: 20px;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* === INPUTS & BUTTONS === */
select,
button,
input,
textarea {
  margin-top: 10px;
  padding: 8px;
  font-size: 1em;
  border: 1px solid #c3d1e6;
  border-radius: 4px;
}

input[type="text"],
textarea {
  font-family: inherit;
}

button {
  background-color: #002f6c;
  color: white;
  cursor: pointer;
  transition: background 0.18s;
}

button:hover {
  background-color: #0075C9;
}

/* === MAIN FLEX LAYOUT === */
.main-flex {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 0 48px 32px 48px;
  /* <-- horizontal padding for both */
  margin: 0;
}


/* === DEPARTMENT TABS (SIDEBAR) === */
.department-tabs.vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 170px;
}

button,
.department-btn {
  font-family: 'Geometos Neue', Helvetica, Arial, sans-serif;
  font-size: 1.08em;
  border-radius: 10px;
  padding: 12px 24px;
  border: none;
  background: #234789;
  color: #fff;
  font-weight: 500;
  transition: background 0.18s, box-shadow 0.17s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34, 71, 137, 0.08);
  margin-top: 10px;
}

button:hover,
.department-btn:hover {
  background: #183872;
  box-shadow: 0 4px 16px rgba(34, 71, 137, 0.11);
}

.department-btn.active,
.department-btn:focus {
  background: #37c871 !important;
  color: #183872 !important;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(55, 200, 113, 0.12);
  transform: scale(1.04);
}

/* === SAVED AGENTS PANEL === */
.saved-agents {
  flex: 1 1 500px;
  max-width: 600px;
  margin: 0;
  border: none;
  box-shadow: none;
  background: none;
  padding: 0;
}


.dashboard-card {
  background: #fff;
  border: 1px solid #c3d1e6;
  border-radius: 8px;
  padding: 36px 0 36px 0;
  /* Only vertical padding! */
  margin-top: 36px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.agent-list-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(34, 71, 137, 0.08);
  padding: 32px;
  margin-top: 30px;
  margin-bottom: 24px;
}


.saved-agents h2 {
  margin-top: 0;
}

/* === AGENT LIST & CHECKLIST === */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding: 16px;
  background: #f9fbff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(34, 71, 137, 0.06);
  border: 1px solid #e6eaf3;
  transition: background 0.2s;
  font-size: 1.15rem;
}

li .timestamp {
  font-size: 0.92em;
  color: #888;
  margin-left: 10px;
  font-style: italic;
}

li .bell {
  font-size: 1.4em;
  margin-right: 6px;
  cursor: pointer;
  color: #ffc107;
  transition: color 0.2s;
}

li .bell.active {
  color: #28a745;
}

#tab-employee {
  display: none;
}


/* === SPECIAL BUTTONS === */
.clickable-entry {
  color: #0075C9;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 4px;
  display: inline-block;
}

.delete-button {
  color: red;
  cursor: pointer;
  margin-left: 10px;
  font-size: 0.9em;
}

/* === OFFICE DROPDOWN === */
#office-container label {
  font-weight: bold;
  margin-right: 8px;
}

#office-select {
  border-radius: 5px;
  padding: 6px;
  background-color: #f0f4f8;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 900px) {
  .main-flex {
    flex-direction: column;
    gap: 0;
  }

  .department-tabs.vertical {
    flex-direction: row;
    gap: 10px;
    margin-bottom: 10px;
    min-width: unset;
  }

  .department-btn {
    width: auto;
    font-size: 1rem;
    padding: 10px 12px;
  }
}


.login-background {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* <--- key change: move card to top */
  background: #f6f7fb;
  padding-top: 30px;
  /* <--- adjust this number for desired spacing */
}

.login-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.07);
  padding: 40px 32px 32px 32px;
  width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-logo {
  width: 320px;
  margin-bottom: 14px;
}

.login-title {
  margin-bottom: 18px;
  color: #183661;
  letter-spacing: 1px;
}

#login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#login-form input {
  padding: 12px;
  border: 1px solid #bfc8da;
  border-radius: 8px;
  font-size: 1rem;
}

.login-btn {
  background: #224f99;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  margin-bottom: 10px;
  transition: background 0.15s;
}

.login-btn:hover {
  background: #183661;
}

.login-alt-btns {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
  justify-content: space-between;
}

.alt-btn {
  background: #e6eaf3;
  color: #224f99;
  padding: 9px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 500;
  transition: background 0.15s;
}

.alt-btn:hover {
  background: #cbd7ed;
}

@media (max-width: 700px) {
  .main-flex {
    flex-direction: column;
    gap: 0;
    padding: 0 8px 24px 8px;
  }

  .agent-list-card {
    padding: 10px;
    border-radius: 9px;
  }

  .department-tabs.vertical {
    flex-direction: row;
    gap: 7px;
    margin: 0 0 10px 0;
    min-width: unset;
    width: 100%;
    justify-content: space-between;
  }

  .department-btn {
    width: auto;
    font-size: 0.98em;
    padding: 10px 10px;
  }

  .department-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    flex-wrap: nowrap;
  }

  @media (max-width: 700px) {
    .department-tabs {
      flex-direction: row;
      width: 100%;
      padding-bottom: 10px;
    }

    .department-btn {
      min-width: 120px;
      /* Or whatever fits your labels */
      flex: 0 0 auto;
    }
  }

  .timestamp {
    font-size: 1em;
    color: #888;
    margin-left: 10px;
    white-space: normal;
    /* allows wrapping */
    word-break: break-word;
    display: inline-block;
    max-width: 140px;
    /* tweak as needed */
    vertical-align: top;
  }

  @media (max-width: 700px) {
    .timestamp {
      font-size: 0.92em;
      max-width: 100px;
    }
  }


}