/* Loader */

.loaderWrapper {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background-color: #fffcfccc;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Pagination */
.paginater svg {
  height: 25px;
}

.paginater nav div.hidden div:nth-child(2) span {
  display: flex;
}

.paginater nav div.hidden div:nth-child(1) {
  margin-top: 10px;
}

/* Fix pagination link visibility */
.pagination .page-link {
  color: #333 !important;
  background-color: #fff !important;
  border: 1px solid #ddd !important;
}

.pagination .page-item.active .page-link {
  color: #fff !important;
  background-color: #2196f3 !important;
  border-color: #2196f3 !important;
}

.pagination .page-link:hover {
  color: #333 !important;
  background-color: #e1e5eb !important;
  border-color: #bac4d1 !important;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d !important;
  background-color: #f8f9fa !important;
  border-color: #dee2e6 !important;
}


/* LOGIN */

#loginContainer {
  background-color: #FFE167;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  
}

#loginContainer #loginBox {
  padding: 30px;
  width: 30%;
}


.loginBtn {
  width: 100%;
  text-align: center;
  background-color: gray;
  border-radius: 5px;
  color: white;
  padding: 10px 0px 10px 0px;
  font-size: 12px;
}

.microsoft-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 20px;
  background-color: white;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid lightgray;
  border-radius: 6px;
  cursor: pointer;
}

.microsoft-login-btn img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.microsoft-login-btn:hover {
  background-color: #e1dfdd;
  border-color: #605e5c;
}

.microsoft-login-btn:active {
  background-color: #d2d0ce;
}

/* MANUFACTURING DEPLOYMENT */

#sidebar-date-navigation .picker {
  z-index: 1000;
}


.error-badge {
    background-color: red;
    padding: 5px 15px;
    color: white;
    font-weight: bold;
}

.success-badge {
    background-color: rgb(0, 104, 0);
    padding: 5px 15px;
    color: white;
    font-weight: bold;
}

@media screen and (max-width: 1200px) {
  #loginContainer #loginBox {
    padding: 30px;
    width: 50%;
  }
}

@media screen and (max-width: 992px) {
  #loginContainer #loginBox {
    padding: 30px;
    width: 60%;
  }
}


@media screen and (max-width: 768px) {
  #loginContainer #loginBox {
    padding: 30px;
    width: 90%;
  }
}


