@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
}

.title,
.subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 600;
  padding: 10px;
  padding-left: 0px;
}

.title {
  /* position: absolute; */
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="time"],
input[type="date"],
select {
  width: 50%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  /* margin-bottom: 10px; */
  position: relative;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="time"]:focus,
input[type="date"]:focus,
select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}


.subtitle {
  font-size: 28px;
  font-weight: 600;
}

.start-image {
  position: absolute;
  width: 50%;
  top: 25%;
  /* padding: 15px; */
  filter: opacity(0.5);
  /* object-fit: cover; */
}

.image-wrapper {

  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

header {
  background-color: #333;
  color: #fff;
  padding: 10px;
  text-align: center;
  /* dropshadow */
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
  position: fixed;
  width: 100%;
  top: 0px;
  z-index: 1;
  height: 45px;

}

.account {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  /* top: 7px;
  left: 5px; */
  padding: 8px;
  border: 2px solid #555555;
  /* background-color: #555555; */
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  color: #fff;
}

.account:hover {
  background-color: #444;
}

.account::before {
  background-image: url(icons/user.svg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  content: "";
  margin-right: 10px;

}

.topleft-container {
  display: flex;
  flex-direction: row;
  /* justify-content: space-between; */
  align-items: center;
  margin-bottom: 20px;
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 999;
  /* width: 200px; */
  /* height: 100px; */
}

.home {
  background-image: url(icons/home.svg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 10px;
  height: 10px;
  position: relative;
  cursor: pointer;
  background-color: #2c2c2c;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  z-index: 999;
  margin-right: 10px;
}

aside {
  width: 200px;
  height: 100vh;
  background-color: #555;
  float: left;
  padding-top: 30px;
  box-sizing: border-box;
  position: fixed;
  z-index: 0;
  top: 0px;
  margin-top: 45px;
  height: 100%;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.16);
}

.welcome-message {
  font-size: 17px;
  font-weight: 300;
  padding: 10px;
  padding-left: 0px;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
  /* border-bottom: 2px solid #444; */
  /* border-radius: 5px; */
  /* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3); */
  width: 85%;
  margin-left: 7px;

}

#name {
  font-size: 1.6em;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-top: 5px;

}

nav {
  display: flex;
  flex-direction: column;
}

.manageRooms {
  display: none;
}

.manageUsers {
  display: none;
}

.main-button {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;

}

.main-button:hover {
  background-color: #444;
}



.sub-button {
  color: #fff;
  text-decoration: none;
  padding: 8px;
  margin: 3px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  /* justify-content: space-between; */
  transition: all 0.3s ease;

}

.material-symbols-outlined {
  margin-right: 10px;
  transition: all 0.2s ease;
}


.sub-button:hover {
  background-color: #444;
}

.sub-button:hover .material-symbols-outlined {
  margin-right: 20px;
}

.sub-buttons {
  display: none;
  flex-direction: column;
  margin-left: 30px;
  font-size: small;
  animation: fadeIn 0.1s ease-in-out;
  /* Added fade-in animation */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

.room-item {
  border: 2px solid #ccc;
  border-radius: 8px;
  margin: 8px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin-left: 0PX;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
}

.room-item:hover {
  /* background-color: #f0f0f0; */
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0);
}

.room-content {
  display: flex;
  align-items: center;
  /* width: 500px; */
}

.room-content p {
  width: 200px;
  font-weight: 500;
  font-size: 18px;
}

.edit-delete-room {
  display: flex;
  flex-direction: row;

}

.room-delete {
  background-image: url(icons/delete.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  cursor: pointer;
  padding: 0;
  background-color: #fff;
}

.room-edit {
  background-image: url(icons/edit.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  cursor: pointer;
  padding: 0;
  background-color: #fff;

}

.room-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  /* margin-left: 20%; */
  width: 450px;
}

.eye-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* border: 2px solid #e2e2e2; */
  /* padding: 5px; */
  border-radius: 5px;

  width: 70px;
}

.eye-btn {
  transform: scale(0.8);
  padding: 0;
  margin: 0;
  background: none;
}

.add-btn {
  border: 1px solid #ccc;
  border-radius: 8px;
  margin: 0;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 53%;
  height: 50%;
  text-align: center;

  font-size: 16px;
  cursor: pointer;
}

#content {
  padding: 10px;
  left: 200px;
  margin-left: 218px;
  margin-top: 74px;
  height: 100%;
}

.delete-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.add-room-popup-content {

  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;

}

.version-number{
  font-size: 12px;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
}


.delete-message {
  font-size: 14px;
}

.room-name {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

.button-container {
  margin-top: 20px;
  flex-direction: row;
}

button {
  padding: 10px 20px;
  margin: 0 10px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.1s ease;
}

button:hover {
  filter: brightness(0.9);
}

button span {
  margin-left: 5px;

}

.user-popup-button-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.popup-user-change-pin {
  padding: 8px;
  margin: 0 10px;
  cursor: pointer;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  background-color: #007bff;
  color: #fff;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-user-change-pin:hover {
  background-color: #0056b3;
}

.cancel-btn {
  background: #ccc;
  color: #000;
  font-weight: bold;
  border-radius: 20px;
}

.confirm-btn {
  background: #ff0000;
  color: #fff;
  font-weight: bold;
  border-radius: 20px;
}

.cancel-btn:hover,
.confirm-btn:hover {
  filter: brightness(0.9);
}

.loading-text {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 999;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  font-weight: 700;
  color: white;
}

.add-popup {
  position: fixed;
  top: 100px;
  left: 200px;
  margin-left: 200px;


  background-color: white;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  display: none;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

#add-room-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#roomName {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

#fullName {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

#image-drop {
  border: 2px dashed #ccc;
  padding: 20px;
  margin: 10px 0;
  border-radius: 8px;
  cursor: pointer;
}

#image-drop:hover {
  border: 2px solid #ccc;
}

#image-preview {
  width: 350px;
  height: 100px;
  /* margin-bottom: 10px; */
  display: flex;
  margin: 0;
  /* keep aspect ratio */
  object-fit: cover;
  object-position: center;
  display: none;
}

.user {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 13px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  justify-content: space-between;
}

.user.Admin {
  /* border: 2px solid #ff6347; */
}

.user.Member {
  /* border: 1px solid #32cd32; */
}

.user.staff {
  /* border: 2px solid #8c32cd; */
}

.user:hover {
  background-color: #f0f0f0;
}

/* .user.Admin:hover{
  border-color: #ff6347;
}

.user.Member:hover{
  border-color: #32cd32;
}

.user.staff:hover{
  border-color: #8c32cd;
} */

.user-icon {
  width: 36px;
  height: 36px;
  background-color: #007bff;
  border-radius: 50%;
  margin-right: 10px;
  display: flex;
  /* margin-top: 8px; */
}

.user-icon.admin {
  background-color: #ff6347;
}

.user-icon.member {
  background-color: #32cd32;
}

.user-icon.staff {
  background-color: #8c32cd;
}

.user-icon.exec {
  background-color: #3498db;
}


.user-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.user-details-title {
  font-size: 200%;
  font-weight: bold;
}

.user-details-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  margin: 10px;
}

.new-user-details-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;

}

.user-name {
  font-weight: bolder;
  margin-bottom: 5px;
  padding-right: 20px;
  margin: 0;
}

.user-email {
  font-size: 0.9em;
}

.access-level {
  border-radius: 5px;
  padding: 5px 10px;
  color: rgb(255, 255, 255);
  margin-left: 20px;
  font-size: x-small;
  min-width: 50px;
  text-align: center;
}

.access-level.admin {
  background-color: #ff6347;
}

.access-level.member {
  background-color: #32cd32;
}

.access-level.staff {
  background-color: #8c32cd;
}

.access-level.exec {
  background-color: #3498db;
}


.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  position: relative;
}


/* ... existing CSS styles ... */

.search-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

#searchInput {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  flex-grow: 1;
  margin-right: 10px;

}

#filterDropdown {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  background-color: #fff;
  color: #333;
  width: 150px;
}

/* Styles for the black fade background */
.user-popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Styles for the actual popup */
.user-popup {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  width: 500px;
  position: relative;
  margin-top: 20px;
}

.user-popup-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;



}

.user-popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-user-icon {
  width: 130px;
  height: 130px;
  background-image: url('user.svg');
  background-size: cover;
  border-radius: 5px;
  background-color: #007bff;
  z-index: 999;
}

.delete-warning {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  color: #ff0000;
}

.popup-user-icon.admin {
  background-color: #ff6347;
}

.popup-user-icon.member {
  background-color: #32cd32;
}

.popup-user-icon.staff {
  background-color: #8c32cd;
}

.popup-user-icon.staff {
  background-color: #3498db;
}


.popup-user-details {
  margin-left: 10px;


  /* transform: translateY(-25px); */
}

.popup-user-access {
  padding: 10px;
  border-radius: 20px;
  color: #fff;
  background-color: #007bff;
  width: fit-content;
}

.popup-user-access.admin {
  background-color: #ff6347;
}

.popup-user-access.member {
  background-color: #32cd32;
}

.popup-user-access.staff {
  background-color: #8c32cd;
}

.popup-user-access.exec {
  background-color: #3498db;
}

.user-popup-container {
  display: none;

}

.user-popup-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.popup-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  margin-top: 10px;
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
  background-color: #ff6347;
  border-radius: 15px;
  padding: 10px;
  cursor: pointer;
}

.popup-buttons:hover {
  filter: brightness(0.8);

}

.popup-button-title {
  margin: 0px;
  font-weight: 600;
  color: #fff;
}


.user-room {
  position: absolute;
  right: 120px;
  font-size: 14px;
  font-weight: bold;
  color: #333;

}



.edit-user {}

.delete-user {}

.popup-user-name {
  font-weight: bold;
  font-size: xx-large;
  margin-bottom: -4px;

}

.popup-user-email {
  font-size: 15px;
  margin-bottom: 5px;
  margin-top: 5px;
}

.popup-user-room {
  font-size: 15px;
  margin-bottom: 5px;
  margin-top: 5px;
}



.pin-section {
  text-align: center;
  margin-bottom: 30px;
}

.pin-label {
  font-weight: bold;
}

.pin-number {
  font-size: 24px;
  letter-spacing: 8px;
  margin-top: 5px;
  margin-bottom: 0;

}

.activity-section {
  border-top: 1px solid #ccc;
  padding-top: 10px;
  overflow: auto;
  height: 150px;

}

.activity-section h3 {
  margin-bottom: 15px;
}

.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
  font-weight: bold;
  z-index: 999;
}

.custom-alert.accept {
  background-color: #2ecc71;
  /* Green */
  border: 3px solid #27ae60;
  /* Darker green */
}

.custom-alert.reject {
  background-color: #e74c3c;
  /* Red */
  border: 3px solid #c0392b;
  /* Darker red */
}

.custom-alert img {
  margin-right: 10px;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25%,
  75% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }
}

.edit-input {
  border: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
  outline: none;
  padding: 0;
  margin: 0;
  border: #000 2px solid;
  border-radius: 2px;
  /* margin: 3px;
  padding: 4px; */
  width: 100%;
}

#access.edit-input {
  border: 0;
}

#popup-user-icon {
  width: 130px;
}

#name.edit-input {
  font-size: 32px;
  font-weight: bold;
  color: #000;
  width: 80%;
  text-align: start;
}

#email.edit-input {
  width: 80%;
  text-align: start;
}

#room_number.edit-input {
  width: 80%;
  text-align: start;
}

/*   Open state of the dialog  */
dialog[open] {
  opacity: 1;
  transform: scale(1);
}


/*   Closed state of the dialog   */
dialog {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.1s ease;

}

/*   Before-open state  */
/* Needs to be after the previous dialog[open] rule to take effect,
    as the specificity is the same */
@starting-style {
  dialog[open] {
    opacity: 0;
    transform: scale(0.9);
  }
}

/* Transition the :backdrop when the dialog modal is promoted to the top layer */
dialog::backdrop {
  background-color: rgb(0 0 0 / 0);
  transition: all 0.1s ease;
}

dialog[open]::backdrop {
  background-color: rgb(0 0 0 / 0.35);
}

/* This starting-style rule cannot be nested inside the above selector
because the nesting selector cannot represent pseudo-elements. */

@starting-style {
  dialog[open]::backdrop {
    background-color: rgb(0 0 0 / 0);
  }
}



.activity-card {
  border: 1px solid #ddd;
  padding: 10px;
  margin: 10px;
  border-radius: 5px;
}


/* Add more styles for other statuses as needed */
.activity-list {
  display: flex;
  flex-direction: column;

}

.activity-box {
  border: 1px solid #9d9d9d;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 3px;

}

.activity-created-at {
  font-size: 15px;
  color: #6f6f6f;
  font-family: monospace;
}

.confidential-banner {
  display: flex;
  flex-direction: row;
  background-color: red;
  color: darkred;
  padding: 5px;
  border-radius: 5px;
  font-weight: bold;
  z-index: -10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* space evenly */


  /* Add the following styles to make it ignore parent padding and margin */
  position: absolute;
  top: 65px;
  /* Adjust top positioning as needed */
  left: -100px;
  /* Adjust left positioning as needed */
  width: fit-content;
  transition: all 0.3s ease;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  padding: 10px;

  /* shadow */
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}

.confi-icon {
  width: 20px;
  height: 20px;
  margin-right: 13px;
  transform: translateY(-2px);

}




.controls-section {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.section {
  display: flex;
  flex-direction: column;
}

.section-icon {
  width: 50px;
  height: 50px;
  background-color: #000000;
  /* border: 3px solid #000000; */
  border-radius: 50%;
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;

}

.section-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 700;
  margin-bottom: 10px;

}


.option-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 5px;
  width: 250px;
  height: 40px;
  justify-content: space-between;
  text-align: center;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.1s ease;
}

.option-wrapper label {
  cursor: pointer;
}

.option-wrapper:hover {
  transform: scale(1.045);
}

.option-wrapper:active {
  transform: scale(1);
}

.option-wrapper input {
  transform: scale(1.5);
  /* padding: 50px; */
}

.date-select-container {
  display: flex;
}

.date-picker {
  padding: 20px;
  font-size: large;
  border: 2px solid #ccc;
  border-radius: 2px;
  align-self: center;
  justify-self: center;
  border-radius: 10px;
  background-color: aliceblue;
  transform: translateY(87px);
  transition: all 0.3s ease;
}




.date-picker:hover {
  border: 2px solid #333;
}

#options-form {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  align-items: start;
  width: fit-content;
  font-weight: 500;
  color: #fff;
}

.select-all-btn {
  margin: 0;
  margin-bottom: 5px;
  width: 100%;
  border: 2px solid #ccc;
}

.blacklist-select {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: start;
}

.blacklist-submit-btn {
  align-self: center;
  padding: 25px;
  width: 130px;
  /* green background colour */
  background-color: #5bd05f;
  font-weight: 700;
  color: #fff;
  transition: all 0.1s ease;
  transform: translateY(87px);
  align-self: center;
}

.blacklist-submit-btn:hover {
  background-color: #4ac04e;
  transform: scale(1.05) translateY(83px);
}

.blacklist-submit-btn:active {
  background-color: #3ab03e;
  transform: scale(1) translateY(87px);
}

.blacklisted-days {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: start;
  margin-top: 30px;
}

.blacklisted-entry {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  width: 90%;
}

.blacklisted-entry p {
  margin: 0px;
  margin-bottom: 3px;
}

.blacklisted-entry div {
  margin: 0px;
  margin-bottom: 3px;
}

.blacklisted-entry button {
  margin: 0px;
  margin-bottom: 3px;
}

nav {
  overflow-y: auto;
}



.stats-box {
  width: 220px;
  height: 120px;
  border: #ccc 2px solid;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 5px;
  transition: all 0.3s ease;

}

.stats-box:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0);
}

.stats-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

.stats-number {
  font-weight: 700;
  font-size: 24px;
  text-align: center;
}

.graph-box {
  width: fit-content;
}

.graphs-section {
  display: flex;
  flex-direction: row;
  /* wrap */
  flex-wrap: wrap;
  justify-content: space-around;

}

.dashboard-button {
  width: 150px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 10px;
  text-align: left;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  border: #ccc 2px solid;
  height: 90px;
}

.dashboard-button:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0);
}



.download-icon {
  background-image: url(icons/download.svg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  padding-right: 10px;

}

.manage-users-icon {
  background-image: url(icons/users.svg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  padding-right: 10px;
}

.manage-laundry-icon {
  background-image: url(icons/washing-machine.svg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  padding-right: 10px;
}

.otago-icon {
  background-image: url(icons/otago.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  padding-right: 17px;
}

.buttons-section {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 30px;
}

#addOtagoDates-popup {
  width: 60%;
}

/* first button green */
#addOtagoDates-popup button:nth-child(1) {
  background-color: #5bd05f;
}


.close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  padding: 5px;

}

#new-pin-input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  text-align: center;
  height: 60px;
  font-size: 24px;
  font-weight: bold;
  font-family: monospace;
  letter-spacing: 10px;
}

#change-pin-popup {
  width: 50%;
}

.generate-new-pin {
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  border-radius: 20px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  /* margin-top: 10px; */
  /* width: 100%; */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;

}

.popup-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.stats-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 20px;
}

.settings-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;



}



.good-button:hover {
  filter: brightness(0.85);
}

.setting-box {
  width: 90%;
  height: 80%;
  border: #ccc 2px solid;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.23);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 5px;
  transition: all 0.1s ease;
  padding: 10px;
  margin-bottom: 20px;
  position: relative;
}

.setting-box::after {
  content: "MAX";
  position: absolute;
  top: 5px;
  left: 5px;
  color: #7c7c7c;
  padding: 5px;
  border-radius: 5px;
  font-weight: 700;
  z-index: 999;
  font-size: small;

  display: none;
  /* change if needed*/
}

.setting-box:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0);
}


.setting-save-button {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: none;
  background-color: #5bd05f;
  color: #fff;
  font-weight: 700;
  transition: all 0.3s ease;
  margin-top: 10px;

}

.setting-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 90%;
}

.setting-value {
  font-weight: 700;
  font-size: 18px;
  height: 50px;
  width: 50px;
  border: 3px solid #ccc;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  padding-left: 15px;
}

.setting-title {
  font-weight: 700;
  font-size: 18px;
  /* margin-bottom: 10px; */
}

.setting-subtitle {
  font-weight: 400;
  font-size: 14px;
  margin-top: 3px;
}



.setting-value-type {
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  margin-top: 3px;

}

.users-buttons-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

/* buttons */
.users-buttons-container button {
  width: 150px;
  padding: 10px;
  border-radius: 20px;
  border: none;
  color: #fff;
  font-weight: 700;
  transition: all 0.3s ease;
  /* margin-top: 10px; */
}

.users-buttons-container button:hover {
  filter: brightness(0.85);
}

#bulkImport-popup {}

#bulkImport-popup .popup-content {
  text-align: left;
  padding-top: 0;
}

/* button */
#bulkImport-popup button[type="submit"] {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: none;
  background-color: #5bd05f;
  color: #fff;
  font-weight: 700;
  transition: all 0.3s ease;
  margin-top: 10px;
}

#previewTable {
  width: fit-content;
  border-collapse: collapse;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
  justify-self: center;
  align-self: center;
  margin-top: 20px;
}

#previewTable td,
#previewTable th {
  border: 1px solid #ccc;
  padding: 5px;
}

#previewTable th {
  background-color: #ccc;
  border-bottom: 3px solid #9d9d9d;
}


#addUser-popup {
  width: 60%;
  /* display: flex; */
  flex-direction: column;
  /* display: none; */

}

#addUser-password {
  width: 50%;
}

#addUser-popup .popup-content {
  text-align: left;
  padding-top: 0;
}

/* form */
#addUser-popup form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  width: 100%;
  gap: 5px;
  text-align: start;
}

#addUser-popup form input {
  width: 50%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

#clearSearch {
  background-image: url(icons/backspace.svg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  position: absolute;
  right: 130px;
  cursor: pointer;
}

.back-btn {
  background-image: url(icons/back.svg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  position: absolute;
  left: 210px;
  top: 70px;
  cursor: pointer;
}

.machines-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 20px;
}

/* General styling for machine element */
.machine {
  border: 2px solid #ccc;
  padding: 10px;
  margin: 10px;
  text-align: center;
  width: 200px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.045);
  /* align-items: center; */
  transition: all 0.3s ease;
}

.machine button {
  width: 80%;
  /* padding: 10px; */
  border-radius: 20px;
  border: none;
  /* background-color: gray; */
  color: #fff;
  font-weight: 700;
  transition: all 0.3s ease;
  margin: 0px;
  margin-bottom: 3px;


}


/* Styling for machine icon */
.machine-icon {
  margin-bottom: 10px;
  width: 50px;
  height: 50px;

}

.machine-icon img {
  width: 50px;
  /* Adjust the size as needed */
  height: 50px;
  /* Adjust the size as needed */
}


/* Styling for machine name */
.machine-name {
  font-weight: bold;
  font-size: 30px;
  font-family: Arial, Helvetica, sans-serif;
  /* height: 100px; */
  width: fit-content;
  position: absolute;
  /* top: 10px; */
  /* right: 10px; */
  margin-left: 90px;
  margin-top: 8px;
  border-bottom: 2px solid #ccc;
}

/* Styling for machine status */
.machine-status {
  color: #fff;
  padding: 5px;
  border-radius: 20px;
  width: 50%;
  margin: 5px auto;
  border: 2px solid;
  color: #000;
  font-weight: 700;
  /* capitalise */
  text-transform: capitalize;
  /* transition: all 0.3s ease; */
}

/* Different status styles */
.done {
  border-color: green;
}

.running {
  border-color: orange;
}

.broken {
  border-color: rgb(255, 60, 0);
}

.machine-button-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 10px;
  gap: 10px;
}

.edit-machine-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
}

/* input type text */
.edit-machine-form input[type="text"] {
  width: 80%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  height: fit-content;
}

/* type select */
.edit-machine-form select {
  width: 60%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  height: fit-content;
  margin-left: 10px;
}

.add-room-popup-content input {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;

}

.add-room-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.add-room-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid #ccc;
  border-radius: 8px;
  margin: 8px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin-left: 0PX;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 50px;
}

.add-room-button:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.209);
}


#logsSearchInput {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;

}

#logsFilterDropdown {
  width: 15%;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  background-color: #fff;
  color: #333;
  margin-left: 20px;
}

#logsClearSearch {
  background-image: url(icons/backspace.svg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  position: absolute;
  right: 140px;
  margin-bottom: 8px;
  cursor: pointer;
}

.highlight {
  /* highlight yellow */
  background-color: #ffff00;
}

.underline {
  text-decoration: underline;
}

.bulk-import-icon {
  background-image: url(icons/bulk-import.svg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  padding-right: 10px;
}

#edit-image-preview {
  width: 350px;
  height: 200px;
  /* margin-bottom: 10px; */
  display: flex;
  margin: 0;
  /* keep aspect ratio */
  object-fit: cover;
  object-position: center;
  margin: 10px;

}


#edit-room-popup {
  /* display: none; */
  width: 400px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.popup-header h2 {
  margin: 0;
}

.editRoomForm {
  display: flex;
  flex-direction: column;
}

.editRoomForm input {
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#edit-image-drop {
  border: 2px dashed #ccc;
  padding: 20px;
  text-align: center;
  cursor: pointer;
}

#edit-image-preview {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
}

#edit-room-btn {
  background-color: #007BFF;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#edit-room-btn:hover {
  background-color: #0056b3;
}

.drop-area {
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  /* Hide the image overflow */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.drop-area.dragging {
  border: 2px dashed #2196F3;
}

.drop-area:hover {
  border: 2px dashed #2196F3;
}

.drop-area label {
  cursor: pointer;
}

.image-preview {
  max-width: 100%;
  max-height: 150px;
  /* Adjust the maximum height for a smaller preview */
  margin-top: 20px;
  display: none;
  cursor: pointer;
  /* Add cursor pointer to indicate clickability */
  transition: transform 0.3s ease-in-out;
  /* Add smooth transition on hover */
}

.image-preview:hover {
  transform: scale(1.1);
  /* Add a slight scale effect on hover */
}

.fileInput {
  display: none;
}

.report-list-title {
  font-size: 30px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  margin-top: 10px;
  text-align: center;

}

#report-list-table {
  width: 100%;
  border-collapse: collapse;
  /* border: #ccc solid 1px; */
  margin-bottom: 20px;
}

#report-list-table td,
.report-list-table th {
  border: #ccc solid 1px;
  padding: 2px;
  text-align: center;
}

/* every second, change bg col */
#report-list-table tr:nth-child(even) {
  background-color: #f2f2f2;
}



#report-text {
  /* this is the text input */

  width: 100%;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  resize: none;
  transition: all 0.2s ease;


}

.close {
  position: absolute;
  top: 0px;
  right: 12px;
  font-size: 30px;
  cursor: pointer;
}

.open-report-button {
  background-color: #007BFF;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  /* margin-bottom: 20px; */
  transition: all 0.2s ease;
}

#report-details-popup {
  width: 300px;
}

#report-details-popup .report-details-title {
  font-weight: bold;
  /* text-align: center; */
}

#report-details-popup .report-details-segment {
  margin-bottom: 15px;
}

#report-details-popup .report-details-info {
  margin-bottom: 20px;
}

#report-details-popup .report-details-button {
  cursor: pointer;
  background-color: #007bff;
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  text-align: center;
}

#report-details-popup .report-details-button:hover {
  background-color: #0056b3;
}

.laundry-reports-btn {
  background-color: #007BFF;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: all 0.2s ease;
  width: 200px;
  height: 40px;
  position: absolute;
  top: 92px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.199);
}

.laundry-reports-btn span {
  margin-left: 5px;

}

.laundry-reports-btn:hover {
  background-color: #0056b3;
}

.logout-p-btn {
  color: white;
}

.changed {
  /* a nice orange */
  background-color: #ff8c00;

}

#logout-popup button {
  /* color: white; */
  font-weight: bold;
}

#addUserForm {}

.form-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

#addUserForm label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  /* text-align: end; */
  /* width: 50%; */
}



#addUserForm input[type="submit"] {}

label {
  font-weight: bold;
}

.cont {
  position: relative;
  width: 50%;
  height: none;

}

.refresh {
  background-image: url(icons/loading.svg);
  background-size: cover;
  background-repeat: no-repeat;
}

#refresh-password-new-user {
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
}

#refresh-password-new-user:hover {
  filter: brightness(0.8);
}

/* active = spin around */
#refresh-password-new-user.spin {
  animation: spin 1s ease forwards;
}

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

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

#addUserForm input[type="submit"]:hover {
  background-color: #0056b3;
}

.submit-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
  width: 100%;
}

.blanked {
  background-color: #818181;
  color: #3a3a3a;
  cursor: default;
}

dialog[open] {
  opacity: 1;
  transform: scale(1);
  /* transform: scaleY(1); */
}

/*   Closed state of the dialog   */
dialog {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s ease;
  border-radius: 10px;
  border: 3px solid #00000025;

}

.add-machine {
  height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 20px;
  /* font-weight: bold; */
  cursor: pointer;
  width: 200px;
  margin: 0;
  /* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); */

}

.add-machine:hover {
  border: 2px dashed #007bff;
}

.bad-button {
  background-color: #e74c3c;
  color: #fff;
  font-weight: bold;
}

.medium-button {
  background-color: #f1c40f;
}

.good-button {
  background-color: #5bd05f;
  color: #fff;
  font-weight: bold;
}

.basic-button {
  background-color: #8b8b8b;
}


/*   Before-open state  */
/* Needs to be after the previous dialog[open] rule to take effect,
    as the specificity is the same */
@starting-style {
  dialog[open] {
    opacity: 0;
    transform: scale(0.9);
  }
}

/* Transition the :backdrop when the dialog modal is promoted to the top layer */
dialog::backdrop {
  background-color: rgb(0 0 0 / 0);
  transition: all 0.1s ease;
}

dialog[open]::backdrop {
  background-color: rgb(0 0 0 / 0.35);
}

/* This starting-style rule cannot be nested inside the above selector
because the nesting selector cannot represent pseudo-elements. */

@starting-style {
  dialog[open]::backdrop {
    background-color: rgb(0 0 0 / 0);
  }
}

/* flash red animation for border  twice*/
@keyframes flashRed {
  0% {
    border: 3px solid #ff0000;
  }

  50% {
    border: 3px solid #fff;
  }

  100% {
    border: 3px solid #ff0000;
  }


}

#user-info-popup {
  width: 40%;
  max-width: 675px;
}

.info-section-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.user-info-icon {
  width: 30%;
  height: 180px;
  background-color: #007bff;
  border-radius: 10px;
  margin-right: 10px;
  display: flex;
}




.info-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  width: 70%;
  font-size: 40px;
  /* border-left: 2px solid #ccc; */
  padding-left: 20px;
}

.info-title {
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  text-align: start;

}

.info-text {
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 20px;
  text-align: start;
  max-width: 100%;
}

.user-info-actions {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.user-info-action {
  padding: 5px;
  border-radius: 5px;
  border: none;
  color: #ffffff;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #007bff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 30%;
}

.user-access {
  background-color: #5bd05f;
  padding: 10px;
  border-radius: 5px;
  border: none;
  color: #fff;
  font-weight: 700;
  transition: all 0.3s ease;
  /* cursor: pointer; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.long-close-button {
  background-color: #e31515;
  width: 50%;
  color: white;
  font-weight: bold;
  padding: 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-top: 20px;
  margin: 0 auto;
}

.edit-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 40px;
}

.edit-button span {
  font-size: 30px;
}

/* all hovers */
.user-info-action:hover,
.long-close-button:hover {
  filter: brightness(0.85);
  scale: 0.98;
}

.admin {
  background-color: #e74c3c;
}

.member {
  background-color: #5bd05f;
}

.staff {
  background-color: #8c32cd;
}

#edit-user-popup {
  width: 50%;
  max-width: 675px;
}

.popup-title {
  font-weight: bold;
  font-size: 30px;
  margin-bottom: 20px;
  text-align: center;
}

.close-button {
  padding: 10px;
  border-radius: 5px;
  border: none;
  color: #fff;
  width: 97%;
  cursor: pointer;
}

.close-button:hover {
  filter: brightness(0.85);
}

.vote-buttons-container {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 10px;
}

.vote-event {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border: 2px solid #ccc;
  width: fit-content;
  padding: 10px;
  border-radius: 5px;
  width: 90%;
  position: relative;
}

.vote-event-edit {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 30px;
}

.vote-event-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border: 2px solid #ccc;
  padding: 7px;
  border-radius: 5px;
  font-weight: bold;
  /* be on the top right of the event */
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #fff;
  font-weight: bold;
  font-size: 15px;

  
}

.live{
  font-weight: bold;
  font-size: 20px;
  color: #ff0000;
  /* position: relative; */
}

.live::before {
  /* red live dot */
  content: "";
  width: 10px;
  height: 10px;
  background-color: #ff0000;
  border-radius: 50%;
  margin-right: 10px;
  animation: pulse 2s infinite;
  /* position: relative; */
}

/* animation for before elment. pulsing */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}




.vote-event-title {
  margin-top: 40px;

  font-weight: bold;
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.vote-event-description {
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 20px;
  text-align: center;
}

.vote-event-expiry {
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}

#add-vote-event-popup {
  width: 50%;
  max-width: 675px;
}

#add-vote-image {
  width: 180px;
}

#add-vote-options-popup {
  width: 30%;
  max-width: 675px;
}

.add-event-option {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border: 2px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  width: 96%;
  position: relative;
}

.add-event-option-name {
  font-weight: bold;
  font-size: 20px;
  /* margin-bottom: 20px; */
  text-align: center;
}

.add-event-option-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border: 2px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  width: 96%;
  position: relative;
}

.add-vote-event-option {
  width: 95%;
  padding: 10px;
  margin-bottom: 20px;
  font-weight: bold;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.1s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  position: relative;
  /* light grey */
  background-color: #f2f2f2;

}

.add-vote-event-option:hover {
  background-color: #e6e6e6;
}

.add-vote-event {
  /* width: 100%; */
  padding: 10px;
  margin-bottom: 20px;
  font-weight: bold;
  border: 4px dashed #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 20px;


}

/* slide and fade out animation */
@keyframes slideAndFadeOut {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    transform: translateX(-100px);
    opacity: 0;
  }
}

.add-event-option-delete,
.add-event-option-info {
  cursor: pointer;
}

.edit-event-option-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border: 2px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  width: 96%;
  position: relative;
}

.edit-event-option-list .add-vote-event-option {
  background-color: #f2f2f2;
  display: flex;
}

