* {
    margin: 0;
    padding: 0;
    /*text-align: left*/
}
html {
    height: 100%;
    min-width: 994px
}
body {
    height: 100%;
    font-family: sans-serif;
    font-size: 13px;
    line-height: 1.6
}
textarea,
input {
    font-family: "Lucida Grande", sans-serif
}
img, 
fieldset {
    border: 0
}
a {
    text-decoration: none;
    outline: none
}
input:focus,
select:focus {
    outline: none;
    outline-width: 0
}
#no_javascript,
#no_cookies {
    text-align: center;
    font-size: 14px
}
/* ----------- Register after this ---------- */
form {
    width: 300px;
    padding: 10px 20px 20px 20px;
    /* .template4
    background-color: #F1F1F1;
    border: 1px solid #e5e5e5;
    background-color: #fff;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
    background-image: -webkit-linear-gradient(top, #fff, #eee);
    background-image: -moz-linear-gradient(top, #fff, #eee);
    background-image: -ms-linear-gradient(top, #fff, #eee);
    background-image: -o-linear-gradient(top, #fff, #eee);
    background-image: linear-gradient(top, #fff, #eee);*/
    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);

}

h2 {
    color: #ccc;
    text-align: center;
    /*margin-top: -3px;*/
    margin-bottom: 20px;
    font-size: 30px;
}
.error_box {
    /*font-size: 0.846em;*/
    color: red; /* #900; */
    height: 20px;
    padding-left: 8px;
}
#reg_logo {
    background-image: url("../images/sprite.png");
    display: inline-block;
    /*height: 28px;
    width: 216px;
    background-position: -54px -22px;*/
    /*position: absolute;
    top: 12px;
    right: 17px;
    width: 116px*/
    width: 216px;
    position: static;
    margin-left: 40px;
    background-position: -54px -23px;
    height: 27px
}
.input {
    padding: 10px 15px 10px 30px;
    margin: 10px 0 0 0;
    width: 253px;
    height: 20px; /* 14 */
    border: 1px solid #ccc;
    /*background: #f1f1f1 url(http://www.red-team-design.com/wp-content/uploads/2011/09/login-sprite.png) no-repeat; */
    -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
}
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 {
  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;
  /*transform: scale(1.03);*/
}
.submit:active {
  background-color: #004999;
  /*transform: scale(0.95);*/
}

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

ul {
    list-style-type: none
}
.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;
}

#recovery_blurb p {
    text-align: center;
}
#recovery_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;
}

/* Optional: Darken the icon when hovered */
.toggle-password:hover {
  color: #aaa;
}

