:root {
  --text-1: #75788D;
  --text-2: #1D1E25;
  --text-3: #2F2F2F;
  --primary: #ffb300;
  --success: #279745;
  --info: #0dcaf0;
}

* {
  box-sizing: border-box;
}

body {
  margin-inline: auto;
  padding: 0;
  /* font-family: 'Urbanist', 'Roboto', 'Arial', sans-serif; */
  width: 100%;
  position: relative;
  max-width: 500px;
}


p {
  margin: 0;
  padding: 0;
}

.login-container {
  max-width: 420px;
  margin: 60px auto;
  border: 1px solid #0000001a;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
}

.logo-wrapper {
  text-align: center;
  margin-bottom: 20px;
}

.logo-wrapper img {
  width: 150px;
}

.dashboard-container {
  background-color: var(--primary);
  color: #fff;
  padding: 0.75rem;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.guard-box {
  color: black;
  width: 70%;
  background-color: white;
  border: 1px groove #0000001a;
  padding: 0.5rem;
  border-radius: 0.25rem;
}

.task-count {
  font-weight: bold;
  border: 1px solid #0000001a;
  padding-inline: 2px;
}

.guard-name {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}

.logout-box {
  width: 30%;
  text-align: center;
}

.nav {
  width: 100%;
  display: flex;
  height: 8vh;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 2vh;
}

.nav .nav-btn {

  flex: 1;
  padding: 0.4vh 0;
  border: 1px groove #0000001a;
  border-radius: 0;
  background-color: #ffffff;
  font-size: .8rem;
  font-weight: 600;
  color: black;

  cursor: pointer;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.nav .nav-btn i {
  font-size: 1rem;

}


.nav .nav-btn.first {
  border-bottom-left-radius: 15px;
}

.nav .nav-btn.last {
  border-bottom-right-radius: 15px;
}

.nav .nav-btn.active {
  background-color: rgb(226, 225, 225);
  border: 1px groove #0000001a;
  color: rgb(121, 121, 121);
}


.btn-complete,
.btn-complete:hover {
  border: 1px solid transparent;
  background-color: var(--success);
  color: #FFFFFF;
  font-weight: 500;
}


.btn-back,
.btn-back:hover {
  background-color: white;
  border: 2px solid rgba(0, 0, 0, 0.478);
  text-decoration: none;
  color: black;
}

.btn-back:hover {
  cursor: pointer;
}

.btn-bcg {
  background-color: var(--primary);
  color: #FFF;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
  padding: .5rem;
}

.floating-box {
  background-color: #f7f7f7ff;
  overflow: hidden;
  border: 1px groove #0000001a;
  border-radius: 15px 15px 0 0;
  padding: .5rem;
  min-height: 70vh;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}


.dropdown-content {
  display: none;
  margin-left: auto;
  width: 96%;
}

.filter {
  display: flex;
  justify-content: space-around;
  border: 2px groove #0000001a;
  border-radius: 8px;
  padding: 5px;
  background-color: #ffffffff;
}

.radio-box {
  opacity: 0;
  position: absolute;
}

.radiomark {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #808080;
  position: relative;
  overflow: hidden;
  /* important */
}

.radio-box:checked+.radiomark::after {
  content: "";
  position: absolute;
  inset: 0;
  /* fill entire circle */
  background-color: #808080;
  border-radius: 50%;
}

.bcg-card {
  border: 2px groove #0000001a;
  border-radius: 15px;
  background-color: white;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.05rem;
  font-family: 'Manrope', sans-serif;
  margin-bottom: 1rem;

  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}


.bcg-card.inbound {
  background-color: rgb(190, 236, 252);
}

.bcg-card.outbound {
  background-color: lightyellow;
}



.bcg-card .card-body {
  font-size: 0.9rem;
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.bcg-card.checked {
  background-color: #c2c2c2;
  color: white;
  border: 1px solid #0000001a;
  cursor: unset;
}


.card-nav-link,
.card-nav-link:hover {
  font-size: .8rem;
  text-align: center;
  /* width: calc(100%/3); */

  padding: .3rem .5rem;
  font-weight: bold;
  text-decoration: none;
  color: black;
  background-color: #f9f9f9;
  border: 2px solid #cececeff;
  border-radius: 8px;
}

.bcg-card .queue ,
.bcg-card .queue:hover {
  background-color: yellow;
  border: 2px solid rgb(174, 174, 0);
}

.bcg-card .bayready ,
.bcg-card .bayready:hover {
  background-color: rgb(0, 184, 0);
  border: 2px solid green;
}

.card-nav-link.check-in {
  border: 2px solid rgb(0, 102, 5);
  background-color: var(--success);
  color: white;
}

.bcg-card.guest-checked-in {
  background-color: var(--success);
  color: white;
  cursor: unset;
}


.bcg-card .card-nav {
  display: flex;
  width: 100%;
  justify-content: end;
  overflow: hidden;
  padding: .5rem;
  gap: 2px;
}

.utility-btn-wrapper {
  text-align: center;
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
}

.bcg-info-box {
  border: 1px solid #f7f7f7;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-nav-link.notification {
  position: relative;
}

.card-nav-link.notification::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  background: #dc3545;
  border-radius: 50%;
}

/* pulse ring */
.card-nav-link.notification::before {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  background: rgba(220, 53, 69, 0.6);
  border-radius: 50%;
  z-index: 1;
  animation: notif-pulse 1.5s ease-out infinite;
}

@keyframes notif-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.quick-link-container {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  gap: 1rem;
  margin-top: 1rem;
  z-index: 5000;
}

.quick-link-btn,
.quick-link-btn:hover {
  background-color: #007bff;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 15px;
  text-decoration: none;
  font-size: 1.5rem;
}

.task {
  border: 0.5px solid #0000001a;
  border-radius: 8px;
  padding: 0.5rem;
  color: var(--text-2);
  display: flex;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
  background-color: #ffffffff;
  gap: 5px;
}

.task:hover {
  cursor: pointer;
}

.task-time {
  font-weight: 500;
  font-size: 14px;
  color: #45382b;
  margin-block: auto;
  padding-right: 10px;
  margin-right: 10px;

  /* divider */
  border-right: 1px solid #0000001a;
  white-space: nowrap;
}

.task-info {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
}

.task-info-name {
  font-weight: 500;
  font-size: 16px;
  color: black;

  /* allow line break */
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.3;

  /* push status to the right */
  flex: 1;
}

.task-info-date {
  font-size: 0.875rem;
  color: var(-text-1);
}

.task-info-remark {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #F00000;
}

.task-info-status span {
  font-weight: 400;
  margin: auto;
  margin-left: 0;
  font-size: 18px;
}

.task-status-container {
  /* margin-left: 2rem; */
  display: flex;
  align-items: center;
}

.task-status {
  font-size: 8.7px;
  font-weight: 900;
  padding: 0.2rem 0.25rem;
  border-radius: 4px;
}

.task-status.pending {
  background-color: #FDFFA5;
  color: #8b7d00;
}

/* .task-status.pending {
    background-color: #E8E8E8;
    color: #414141;
  } */

.task-status.completed {
  background-color: #BEFFC1;
  color: #008205;
}

.task-status.failed {
  background-color: #FBD3D0;
  color: #800A20;
}

.task-status.defer {
  background-color: #FFA500;
  color: #E8E8E8;
}

.overdue {
  background-color: #e65555;
  color: white;
}

.card-nav-link.link-btn {
  background-color: var(--info);
  padding: 10px 12px;
  font-size: 20px;
  border: #0aa7c7 2px solid;
}