/* General Page Styles */
body {
    margin: 0;
    padding: 0;
    height: 100%;
    /*background-color: #d4eff6; /* Light blue background */
    background-image: url(https://my.trustarfcu.com/images/fi-assets/trustar-fcu/trustar-fcu-background-landscape-bf263b7a.png);
    font-family: Arial, sans-serif;
    overflow-y: auto;
    background-size: cover;
  background-position: center top;
}

/* Centering the form container */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 60px); /* Adjust for footer height */  
    overflow-y: auto; 
}

/* Form Styles */
.form {
    width: 480px;
    padding: 20px 40px 18px;
    margin: 32px 8px;
    box-sizing: border-box;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 90vh; 
    overflow-y: auto;
}

/* Input and Label Styles */
.input-group {
    position: relative;
    margin-bottom: 24px;
}

.submit_btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-weight: 500;
    color: #fff;
    font-size: 16px;
    outline: none;
    border: none;
    background-color: #003976;
    cursor: pointer;
}

input {
    width: 100%;
    padding: 16px;
    border: 1px solid #8c989f;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

input:focus {
    border: 2px solid #89929b;
}

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

input:focus + label,
input:not(:placeholder-shown) + label {
    top: 0;
    left: 8px;
    font-size: 12px;
    color: #818b94;
}

/* Sticky Footer */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #ffffff;
    color: white;
    text-align: center;
    padding: 17px 20px;
    font-size: 14px;
}
.footer-para{
	color:#626e7a;
	font-size: 12px;
	line-height: 1.5;
	font-weight: 400;
	margin: 0;
	padding: 0 20px;
	display: flex;
	justify-content: center;
	z-index: -20; 
}
@media (max-width: 600px) {
  .form  {
    margin-top: 40px;
    padding: 20px;
  }
}
@media (max-width: 800px) {
	.footer-para{
		display: block;
	}
}
@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: #53565a;
  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;
}