/* General Page Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #2d3943; /* Light blue background */
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    height: 100%;
}
.header{
	height: 50px;
    box-sizing: border-box;
	
	width: 100%;
	background-color: #404e57;
	display:flex;
	align-items: center;
	padding-left: 20px;
}
.form-title-header{
  padding: 20px;
  font-size: 2rem;
  box-sizing: border-box;
  text-align: center;
  color: #fff;
    font-weight: 200;             /* Sets the font weight to 100 */
    font-family: 'Roboto', sans-serif; /* Sets the font family to Arial and then sans-serif as fallback */
}

.main{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;    
}
/* Centering the form container */
.form-container {
	margin-bottom: 150px;
    box-sizing: border-box;
	
    display: flex;
    justify-content: center;
    align-items: center;
    width: 720px;
}

/* Form Styles */
.form {
    width: 100%;
    padding: 75px;    
    box-sizing: border-box;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Input and Label Styles */
.input-group {
    position: relative;
    margin-bottom: 24px;
}
.error-group{
    position: relative;
    display:flex;
    gap: 20px;
    border-left: 4px solid #ba1212;
    background-color: #fcf2f2;
    padding: 20px 10px;
    margin: 30px 0px;
}
.submit_btn {
    width: 180px;
    padding: 16px;
    margin-top: 30px;
    font-weight: 500;
    color: #fff;
    font-size: 14px;
    outline: none;
    border: none;
    background-color: #0069aa;
    cursor: pointer;
}

.input_class{
    width: 100%;
    padding: 16px 0px 8px;
    padding-left: 0;
    font-size: 16px;
    outline: initial;
    border: none;
    border-bottom: 1px solid #5a6771;
    box-sizing: border-box;
}

.input_class:focus {
    border-bottom: 2px solid #0069aa;
}

/* Floating Label Styles */
label {
    position: absolute;
    top: 50%;
    left: 0px;
    padding: 5px;
    padding-left: 0;
    transform: translateY(-50%);
    font-size: 14px;
    color: #7b858d;
    background-color: #fff;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

input:focus + label,
input:not(:placeholder-shown) + label {
    top: 0;
    left: 0px;
    font-size: 12px;
    color: #0069aa;
}
.remember-me{
	display:flex;
	
}
/* Sticky Footer */
footer {
    bottom: 0;
    width: 100%;
    box-sizing: border-box;    
    background-color: #2d3943;
    color: #eaeaea;
    text-align: center;
    padding: 17px 20px;
    font-size: 14px;
    border-top: .3rem solid #f58025;
}
.forgot-para{
text-align: center;
font-weight: 500;
color: #0069aa;
  font-size: 15px;
}
.footer-div{
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #fff;
	display: flex;
	justify-content: space-between;
}
.footer-para{
	font-weight: 900;
  font-size: 0.7rem;
}
@media (max-width: 600px) {
  .form  {
    padding: 20px;
  }
  .form-container{
  	width: 100%;
  }
}
@media (max-width: 600px) {
  .footer-div{
    flex-direction: column;
  }
}
@keyframes spinner {
  0% {
    transform: translate3d(-50%, -50%, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(-50%, -50%, 0) rotate(360deg);
  }
}
.spin::before {
  animation: 1.5s linear infinite spinner;
  animation-play-state: inherit;
  border: solid 6px #cfd0d1;
  border-bottom-color: #f58025;
  border-radius: 50%;
  content: "";
  height: 5rem;
  width: 5rem;
  position: absolute;
  top: 30%;
  left: 50%;
}
.error {
    border: 2px solid red;
    animation: shake 0.5s;
}
.error-message {
    color: red;
    font-size: 12px;
    margin-bottom:10px;
}
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}
.otp-timer{
	font-size: 14px;
	color: #333;
}
#timer {
    font-size: 14px;
    margin-bottom: 10px;
    color: #ff654d;
}
#resend {
    display: none;
    text-decoration: underline;
    color: #3c8dbc;
    cursor: pointer;
}
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    display: none;
    z-index: 999;
}