@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Quicksand:wght@300..700&display=swap");

html, body {
  height: 100%;
  margin: 0;
  position: relative; /* Ensure the body can contain the pseudo-element */
}

body {
  background-image: url(https://oratorsg.s3.ap-southeast-1.amazonaws.com/prod/assets/login_bg.png);
  background-size: 100% auto; /* Stretches horizontally to cover the window */
  background-position: center; /* Centers the image horizontally */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
}

body::before {
  content: ""; /* Required to display the pseudo-element */
  position: fixed; /* Changed to fixed to cover the entire viewport */
  top: 0;
  left: 0;
  right: 0; /* Ensures the element covers the full width */
  bottom: 0; /* Ensures the element covers the full height */
  background-color: rgba(12, 192, 223, 0.85); /* #0CC0DF with 100% opacity */
  pointer-events: none; /* Ensures the overlay doesn't block interactions */
  z-index: 1; /* Ensures it sits above the background image */
}

div {
  display: flex;
  flex-grow: 1;
  width: 100%;
}

.container-large {
  max-width: 1000px;
  max-height: 750px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-left: 100px;
  margin-right: 100px;
  margin-top: 200px;
  margin-bottom: 200px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.4) 0 0 20px;
  z-index: 2;
}

.container-large-login {
  max-width: 1100px;
  max-height: 1200px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: 100px 50px;
  z-index: 2;
}

.logo-div {
  vertical-align: middle;
  background: url(https://oratorsg.s3.ap-southeast-1.amazonaws.com/prod/assets/login_logo.png);
  background-size: 80% auto;
  background-repeat: no-repeat;
  background-position: center;
  flex: 0 0 300px;
  background-color: #87ceed;
}

.logo-div-login {
  vertical-align: middle;
  background: url(https://oratorsg.s3.ap-southeast-1.amazonaws.com/prod/assets/login_logo.png);
  background-size: 35% auto;
  background-repeat: no-repeat;
  background-position: center;
  flex: 0 0 300px;
}

.login-components {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 800px;
  background-color: #87ceed;
  border-radius: 6px;
}

/* Banners for AFCC */ 
.banner-top {
  width: 100%;
  max-width: 1000px;
  background-size: cover;
  background-position: center;
  margin: 0 auto;
  box-sizing: border-box;
}

.banner-top img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-bottom {
  width: 100%;
  max-width: 1000px;
  background-size: cover;
  background-position: center;
  margin: 0 auto;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.banner-bottom img {
  width: 100%;
  height: auto;
  display: block;
}

.login-box {
  flex: 1 1 calc(100% - 300px);
  background: white;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 50px 0;
  overflow-y: auto;
  width: 300px;
  flex-grow: 0;
}

.login-box-login {
  background: white;
  align-items: center;
  display: flex;
  flex-direction: row;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.4) 0 0 10px;
  margin: 2rem; 
  width: 90%;
  max-width: 1200px;
  height: 120px;
}

.panel-title {
  display: grid;
  text-align: center;
  align-items: center;
  margin: auto;
}

.panel-heading {
  font-family: "Quicksand", sans-serif; /* Set the font family */
  font-size: 30px; /* Set the font size */
  font-weight: 600; /* Set the font weight */
  line-height: 37.5px; /* Set the line height */
  display: flex; /* Enable flexbox */
  justify-content: center; /* Center horizontally */
  align-items: end; /* Center vertically */
  margin-bottom: 1rem;
}

.panel-heading-login {
  font-family: "Quicksand", sans-serif; /* Set the font family */
  font-size: 30px; /* Set the font size */
  font-weight: 600; /* Set the font weight */
  line-height: 37.5px; /* Set the line height */
  display: flex; /* Enable flexbox */
  justify-content: center; /* Center horizontally */
  align-items: end; /* Center vertically */
  flex: 0 2 0;
  margin-left: 2rem;
  white-space: nowrap;
}

.panel-body {
  display: flex;
  justify-content: center;
}

.panel-body-login {
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.form-horizontal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-horizontal .form-group {
  display: flex;
  flex-direction: column;
}

.input-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 0 0 45px;
  border: solid;
  border-width: 1px;
  border-color: black;
  border-radius: 4px;
  background-color: #dff5ff;
}

.input-group-login {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 50px;
  border: solid;
  border-width: 1px;
  border-color: black;
  border-radius: 4px;
  background-color: #dff5ff;
}

.icon-img {
  width: 21px; /* Adjust size as needed */
  height: 21px; /* Adjust size as needed */
  padding-left: 8px;
  padding-right: 4px;
  vertical-align: middle; /* Align with input text */
}

.logo-span {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}

.input-section {
  border: 0;
  background-color: #dff5ff;
}

.rememberme-box {
  text-align: center;
  align-items: start;
  font-family: "Quicksand", sans-serif; /* Set the font family */
  font-size: 15px; /* Set the font size */
  font-weight: 550; /* Set the font weight */
  border: 0;
  background-color: unset;
}

.login-button {
  width: 250px;
  height: 47.07px;
  border-radius: 100px;
  background: #ffdd2e;
  border: 2px solid #000000;
  box-shadow: 0px 5px 2px 0px #ffdd2e;
  color: #000000;
  font-family: "Nunito", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 27.28px;
  text-align: center;
  cursor: pointer;
}

.login-button-login {
  width: 130px;
  height: 47.07px;
  border-radius: 100px;
  background: #ffdd2e;
  border: 2px solid #000000;
  box-shadow: 0px 5px 2px 0px #ffdd2e;
  color: #000000;
  font-family: "Nunito", sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

.signup-button {
  display: flex;
  align-items: center;
  width: 130px;
  height: 43.07px;
  border-radius: 100px;
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: 0px 5px 2px 0px #000000;
  color: #000000;
  font-family: "Nunito", sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
}

.form-class {
  display: flex;
  flex-wrap: nowrap;
}

.register-form-class {
  align-items: center;
  justify-content: center;
}

.alert {
  flex: 1 1 100%;
  border-radius: 4px;
  font-size: 14px;
  align-items: center;
  flex-direction: column;
}

.alert-login {
  border-radius: 4px;
  font-size: 20px;
  align-items: center;
  flex-direction: column;
  width: 90%;
  margin-bottom: 20px;
  justify-content: center;
}

/* Red alert box with text color */
.alert-danger {
  background-color: #f2dede; /* Red background */
  border: 1px solid #ebccd1; /* Darker red border */
  font-family: "Nunito", sans-serif;
}

/* Optional: Styling for the feedback text */
.kc-feedback-text {
  padding: 15px;
  color: #a94442;
}

#kc-content-wrapper {
  justify-content: center;
  flex-shrink: 1;
}

#kc-header {
  display: none;
}

#kc-form-login {
  align-items: center;
  overflow: hidden;
  padding: 20px;
  flex-direction: row;
}

#kc-form-buttons {
  align-items: center;
}

.login-link {
  font-family: "Quicksand", sans-serif;
  text-decoration: none;
  color: #088dc6;
  font-weight: 600; /* Set font weight */
}

.login-text {
  font-family: "Quicksand", sans-serif;
  font-weight: 600; /* Set font weight */
}

.register-button-div {
  margin-top: 1rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none; /* Removes the default focus border highlight */
}

input::placeholder {
  font-family: "Quicksand", sans-serif; /* Set your custom font */
  font-size: 16px; /* Adjust font size as needed */
  font-weight: 600; /* Set font weight */
}

.password-reveal {
  margin-left: 20px;
}
