:root {
    /* THEME VARIABLES*/
    --text-color: #ccc;
    --primary-color: #164a67;
    --primary-text-color: var(--text-color);
    --highlight-color: #009a9a;
    --background-gradient: linear-gradient(
      to top,
      black -5%,
      rgba(0, 38, 58, 0.88) 66%,
      rgba(54, 119, 150, 0.95) 110%
    );
  }
  
  :root {
    --easing: ease-in-out;
    --duration: 0.75s;
    --logo-delay: 0.25s;
    --form-delay: calc(var(--duration));
    --footer-delay: calc(var(--form-delay) + var(--duration) - 1.5 * var(--logo-delay));
    --form-padding: 0.75rem;
    --form-width: 300px;
    --form-element-width: calc(var(--form-width) - 2 * var(--form-padding));
  }
  
  html,
  body,
  #app,
  #app > div:first-child {
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: var(--text-color);
    font-family: sans-serif;
  }
  
  @keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes logo-in {
    from {
      opacity: 0;
      transform: translateY(-25%);
    }
    60% {
      transform: translateY(5%);
      opacity: 1;
    }
    to {
      transform: none;
    }
  }
  
  iframe {
    display: none;
  }
  
  .loginPage {
    background: var(--background-gradient), url('/static/login-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .loginContent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 50px; /* Moves content higher */
}

  
.loginForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7); /* Dark translucent background */
    padding: 3rem 2.5rem; /* Add slight horizontal padding */
    border-radius: 10px;
    width: 400px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    gap: 15px; /* Adds spacing between elements */
}

  
 .logoImg {
    width: 100%;
    max-width: 300px; /* Adjust the size */
    margin-bottom: 16px;
    border-radius: 0; /* Remove roundness */
    box-shadow: none; /* Ensure no shadow */
    background: transparent;
}


  
  .logo {
    width: var(--form-width);
    height: var(--form-width);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: logo-in var(--duration) var(--easing) var(--logo-delay);
    animation-fill-mode: both;
  }
  
  a,
  .centeredText {
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    font-size: 14px;
    max-width: 80%; /* Keep text centered and not too wide */
    margin-bottom: 20px; /* Add spacing between text and button */
  }
  a:hover {
    color: var(--highlight-color);
  }
  
  form {
    width: 100%;
    display: grid;
    grid-gap: 1rem;
  
    animation: fade-in var(--duration) var(--easing) var(--form-delay);
    animation-fill-mode: both;
  }
  
  h2 {
    animation: fade-in var(--duration) var(--easing) var(--form-delay);
    animation-fill-mode: both;
    margin-bottom: 10px; /* Adjust space between title and description */
    font-size: 18px; /* Slightly larger font */
  }
  
  button,
  input,
  select {
    border: 0;
    border-radius: 4px;
    padding: var(--form-padding);
    height: 14px;
    width: var(--form-element-width);
  }
  
  .passwordInputContainer {
    display: flex;
    align-items: baseline;
  }
  
  .passwordInputContainer input {
    width: var(--form-element-width);
  }
  
  .passwordStrengthMeter {
    width: var(--form-element-width);
  }
  
  select,
  button {
    box-sizing: content-box;
  }
  
  input:focus,
  select:focus {
    box-shadow: 0 0 5px var(--highlight-color);
    outline: none;
  }
  
  .loginRemember {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: flex-end;
  }
  
  .loginRemember input {
    margin-right: 0.5rem;
    width: auto;
    cursor: pointer;
  }
  
  .loginError {
    color: #ff4444;
    font-style: italic;
  }
  
  button {
    background: var(--primary-color);
    font-variant: all-small-caps;
    transition-duration: 0.4s;
    color: var(--primary-text-color);
    cursor: pointer;
  }
  
  button:disabled,
  button[disabled]:hover {
    background: var(--primary-color);
    opacity: 0.5;
  }
  
  button:hover {
    background: var(--primary-color);
  }
  
  label {
    font-weight: 500;
    margin-bottom: 0.25rem;
    display: block;
  }
  
  .showPasswordIcon {
    position: relative;
    margin: 0 auto;
    right: 20px;
    cursor: pointer;
    color: #00000099;
  }
  .showPasswordIcon:hover {
    color: var(--highlight-color);
  }
  
  .disclaimer {
    color: rgb(116, 119, 116);
    font-style: italic;
    animation: fade-in var(--duration) var(--easing) var(--footer-delay);
    animation-fill-mode: both;
    width: var(--form-width);
    text-align: center;
    margin: 1rem 0;
  }
  
  .indicaLink > img {
    width: calc(2 / 3 * var(--form-width));
    margin: 1rem 0;
    animation: fade-in var(--duration) var(--easing) var(--footer-delay);
    animation-fill-mode: both;
  }
  
  .logoutMsg {
    text-align: center;
  }
  
  .twoFactorConfig {
    display: flex;
    flex: 1 1 0%;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 700px;
  }
  
  .twoFactorConfig form {
    justify-content: center;
  }
  
  .twoFactorConfigContent {
    animation: fade-in var(--duration) var(--easing) var(--footer-delay);
    animation-fill-mode: both;
  }
  
  .twoFactorConfigSteps li {
    padding: 0px 0px 0.5rem;
  }
  
  .twoFactorConfigSteps a {
    color: #e1eba8;
    fill: #e1eba8;
  }
  
  .twoFactorConfigSteps a:hover {
    color: #eff1df;
    fill: #eff1df;
    cursor: pointer;
  }
  
  .twoFactorKey {
    background-color: #000000;
    color: #ffffff;
    font-family: monospace;
    font-size: 1rem;
  }
  
  .twoFactorQRCode {
    height: 128px;
    width: 128px;
    margin-right: auto;
    margin-left: auto;
    padding: 0.5rem 0rem;
  }
  
  .twoFactorQRCode img {
    height: inherit;
    width: inherit;
    margin-left: -20px;
  }
  
  .twoFactorCancel {
    color: #121212;
    background: #cccccc;
  }
  
  .twoFactorCancel:hover {
    background: #cccccc;
  }
  
  .configureForm {
    margin: 2rem 0px 0px 0px;
  }
  
  .form-group input {
    margin-left: 0px;
  }

  .login-btn {
    display: inline-block;
    background-color: var(--highlight-color);
    color: white;
    padding: 14px 24px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    width: 100%; /* Make button span full width */
    text-align: center;
    font-weight: bold;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background-color: #007070; /* Darker hover effect */
}

.optionsPage {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: var(--background-gradient), url('/static/login-background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
}

.optionsContainer {
  text-align: center;
  background-color: rgba(20, 20, 20, 0.85); /* Darker semi-transparent background */
  padding: 2.5rem;
  border-radius: 15px;
  width: 85%;
  max-width: 900px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

/* Header Styling */
.optionsContainer h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.optionsContainer p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #ddd;
}

/* Card Container */
.cardContainer {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

/* Individual Cards */
.optionCard {
  background: rgba(255, 255, 255, 0.15); /* Glass effect */
  border-radius: 12px;
  padding: 1.8rem;
  width: 320px;
  text-align: center;
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.optionCard:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 18px rgba(0, 0, 0, 0.4);
}

/* Card Logo */
.cardLogo {
  width: 100%;
  max-width: 250px;
  margin-bottom: 12px;
  border-radius: 10px;
}

/* Card Title */
.optionCard h3 {
  font-size: 18px;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 8px;
}

/* Card Description */
.optionCard p {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 15px;
}

/* Buttons */
.card-btn {
  display: inline-block;
  background: linear-gradient(to right, #00c6ff, #0072ff);
  color: white;
  padding: 12px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  width: 100%;
  text-align: center;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease-in-out;
}

.card-btn:hover {
  background: linear-gradient(to right, #0072ff, #0057b8);
  transform: scale(1.05);
}

/* Logout Button */
.logout-btn {
  display: inline-block;
  margin-top: 20px;
  background: #ff4444;
  padding: 12px;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease-in-out;
}

.logout-btn:hover {
  background: #cc0000;
  transform: scale(1.05);
}