:root {
  --primary-color: #03588c;
  --secondary-color: #012840;
  --accent-color: #05aff2;
  --tertiary-color: #0378a6;
  --light-color: #f2f2f2;
}

body.login-page {
  background-color: var(--light-color);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  position: relative;
}

body.login-page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/background.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.15;
  z-index: -1;
}

.login-container {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.card-group {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.login-form-card {
  background-color: white;
  padding: 2rem !important;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.login-form-card h1 {
  color: var(--primary-color);
  font-weight: 700;
  text-align: center;
  font-size: 1.75rem;
}

.login-form-card p.text-muted {
  color: var(--secondary-color) !important;
  margin-bottom: 2rem;
  text-align: center;
}

.input-group-text {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(5, 175, 242, 0.25);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--tertiary-color);
  border-color: var(--tertiary-color);
}

.btn-link {
  color: var(--tertiary-color);
}

.btn-link:hover {
  color: var(--accent-color);
}

.login-logo {
  margin-bottom: 2rem;
  text-align: center;
}

.login-logo img {
  max-width: 200px;
  height: auto;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 10% auto;
  max-width: 500px;
}

.modal-content {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.modal-body {
  padding: 1rem;
}

.modal-footer {
  padding: 1rem;
  border-top: 1px solid #e9ecef;
  text-align: right;
}

.close {
  color: #aaa;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}
