body,
h1,
h2,
h3,
h4,
h5,
h6,
.btn {
  font-family: "Inter", sans-serif !important;
}

.bg-custom {
  background-color: #fafaf5;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo {
  position: absolute;
  top: 25px;
  left: 20px;
  width: 256px;
  height: 50px;
}

.img-fluid {
  max-width: 50%;
  height: auto;
}

@media (max-width: 768px) {
  .logo {
    top: 25px;
    left: 25px;
    width: 128px;
    height: 25px;
  }
}

.login-box {
  background-color: #f8f9fa;
  border: 1px solid #b8b8b5;
  border-radius: 12px;
  padding: 20px;
  width: 600px;
}

.button-container {
  width: 100%;
  text-align: center;
}

.btn-darkblue {
  background-color: #183F73;
  color: white;
  width: 50%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .btn-darkblue {
    width: 100%;
  }
}

.btn-darkblue:hover {
  background-color: #183F73;
  color: white;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.giga-lightblue {
  color: #183F73;
}

.input-icon {
  padding-left: 40px;
  position: relative;
}

.user-input::before {
  content: "\f007";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #0095db;
}

.password-input::before {
  content: "\f023";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #0095db;
}

.form-control:focus {
  background-color: transparent;
}

.headline-login {
  font-size: 2rem;
  font-weight: 700;
  color: #0095db;
}

.input-group.mb-4 input.form-control {
  padding-left: 40px;
}

.btn-sec {
  background-color: white;
  color: #0095db;
  width: 45%;
  margin: 0 auto;
  margin-right: 10px;
  border: 1px solid #0095db;
}

.btn-sec:hover {
  background-color: white;
  color: #0095db;
  border: 1px solid #0095db;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.btn-prim {
  background-color: #0095db;
  color: white;
  width: 45%;
  margin: 0 auto;
  margin-left: 10px;
}

.btn-prim:hover {
  background-color: #0095db;
  color: white;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

/* colorize the cards when hovering */
.card:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.ward-card {
  border: 1px solid #b8b8b5;
  cursor: pointer;
}

#available-wards {
  display: flex;
  flex-wrap: wrap;
}

/* the cards should all have the same height depending on the biggest one */
.card {
  height: 100%;
  display: flex;
  flex-direction: wrap;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#roleContainer {
  display: flex;
  justify-content: space-around;
  align-items: center;
}


/* size the role icons */
.role-icon {
  height: 50px;
}

/* border around each role */
.role-element {
  border: 1px solid #b8b8b5;
  padding: 15px;
  cursor: pointer;
  border-radius: 10%;
}

.role-element:hover {
  cursor: pointer;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

#usage-mode {
  gap: 20px;
  display: flex;

}


/* Inter-Regular */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* Inter-Bold */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

#status-message {
  color: #d13626;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

/* Styles for the version footer */
.version-footer {
  position: fixed;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
}

/* Styles for data privacy link */
.version-footer a {
  color: #6c757d;
  text-decoration: none;
}