* { margin: 0;padding: 0;}
html {height: 100%;min-width: 994px;}
body {height: 100%;font-family: sans-serif;font-size: 13px;line-height: 1.6;}
input {font-family: "Lucida Grande", sans-serif;}
fieldset {border: 0;}
a {text-decoration:none;outline: none;}
ul {list-style-type:none}
input:focus,select:focus {outline:none;outline-width: 0;}
/* ----------- Register after this ---------- */
#logo{font-family: 'Bebas Neue', sans-serif;color:#ccc;font-size: 30px;font-weight: bold;text-align: center;}
h2 {color: #ccc;text-align: center;margin-bottom: 20px;font-size: 22px;}
h3 {color: #ccc;text-align: center;margin-bottom: 10px;font-size: 14px;}

form {
    width: 300px;
    padding: 10px 20px 20px 20px;
    background-color: #fff; /* Ensure the div is white */
    padding: 20px; /* Adjust padding as needed */
    border-radius: 8px; /* Optional: Adds rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Creates a subtle shadow */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 6px 12px 6px rgba(0, 0, 0, 0.3);
}
.error_box {color: red;height: 20px;padding-left: 8px;}

.input {
    padding: 10px 15px 10px 30px;
    margin: 10px 0 0 0;
    width: 253px;
    height: 20px; /* 14 */
    border: 1px solid #ccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
    -webkit-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
    box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff
}
.input:focus {
    background-color: #fff;
    border-color: #e8c291;/* bright blue #7D79FF; /* text blue #635dff;/* #0073e6; /*  */
    outline: none;
    -moz-box-shadow: 0 0 0 1px #e8c291 inset;
    -webkit-box-shadow: 0 0 0 1px #e8c291 inset;
    box-shadow: 0 0 0 1px #e8c291 inset
}
.complete_para,
.fail_para {display: none; text-align: center;}
p {margin: 5px 0;color: #999999;text-align: justify;}
p a {color: #999}

.actions p {width:100%;display: flex;padding: 15px 0 5px 0;justify-content: center; /* Centers the items horizontally */}
a.switch_link {color:  #0073e6; /*#3151A2;*/ text-decoration: underline; margin: 0 5px;}
a.switch_link:hover {color: #900;}

/* Center the content container */
#content {display: flex;flex-direction: column;align-items: center;
  justify-content: flex-start; /* Aligns forms to a fixed top edge */
  min-height: 100vh;
  position: relative;
  padding-top: 20vh; /* Moves the top edge down to ~30% */
}
/* Hide all forms by default */
#content form {display: none;}
/* When the content div has a corresponding class, show that form */
#content.show_login #login_form,
#content.show_register #register_form,
#content.show_recovery #recovery_form,
#content.show_reset #reset_form  {display: block;}

.submit {
  background-color: #0073e6;
  color: white;
  border: none;
  padding: 12px 16px; /* Adjusted padding to help maintain proportional height */
  font-size: 16px; /* Increased font size for better scaling */
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.1s ease-in-out;
  width: 100%;
  height: 42px; /* Explicit height including border */
  line-height: 18px; /* Adjusted to better fit the larger text */
  margin-top: 20px;
}
.submit:hover {background-color: #005bb5;}
.submit:active {background-color: #004999;}

/* Password Feedback Box */
#reg_password_feedback {
  border: 1px solid #ccc;
  padding: 8px 15px 15px 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  background-color: #f9f9f9;
}
.req_icon {margin-right: 5px;}
.req_icon.met {color: green;}
.req_icon.not-met {color: red;}

/* Container for the floating label */
.floating-label {position: relative;margin-top: 10px;}

.floating-label label {
  position: absolute;
  left: 20px;
  /* Starts further right */
  top: 20%;
  transform: translateY(20%);
  color: #999;
  background-color: #fff;
  padding: 0 5px;
  font-size: 16px;
  transition: all 0.3s ease-out;
  pointer-events: none;
  opacity: 0;
}

/* Moves the label up and left when active */
.floating-label input:focus+label,
.floating-label input:not(:placeholder-shown)+label {
  left: 12px;
  top: 1px;
  transform: translateY(0);
  font-size: 12px;
  color: #635DFF;
  opacity: 1;
}
/* CSS to Override Autofill Background */
.floating-label input:-webkit-autofill {
  background-color: transparent !important;
  /* Doesn't always work */
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  /* Forces white */
  transition: background-color 0s;
  /* Prevents flicker */
}
/* Keeps the label grey when text is present but input is NOT focused */
.floating-label input:not(:focus):not(:placeholder-shown)+label {color: #999;}
/* Ensure the placeholder disappears as soon at the field gets focus, not just when the first character in entered */
.floating-label input:focus::placeholder {color: transparent;transition: color 0.2s ease-out;}
/* For older WebKit browsers */
.floating-label input:focus::-webkit-input-placeholder {color: transparent;}
/* For older IE browsers */
.floating-label input:focus:-ms-input-placeholder {color: transparent;}

#recover_blurb p {text-align: center;margin:20px 0}
#recover_blurb p.info_para {margin-left: 45px;margin-right: 45px;}

/* Ensure the password container positions its children relatively */
.password-container {position: relative;}

/* Style the toggle password icon - Font Awesome using CDN library */
.toggle-password {
  position: absolute;
  right: 10px;           /* Adjust this value as necessary */
  top: 62%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2rem;     /* Adjust size as needed */
  color: #bbb;           /* Default grey color */
  margin-left: 30px;
}
.toggle-password i.fa-eye-slash {margin-right:-1px;margin-left: -1.5px;}
.toggle-password:hover {color: #aaa;}


#content.processing .submit,
#content:not(.processing) .spinner {display:none;}

.spinner {
  width: 32px;
  height: 32px;
  border: 4px solid #ccc;
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: spinner_rotate 0.8s linear infinite;
  margin: 0 auto;
  margin-top:20px;
  margin-bottom:7px;
}
@keyframes spinner_rotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}