.login-signup-section {
border-radius: 20px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}
.login-signup-section .background-blur {
position: absolute;
inset: 0;
z-index: -1;
overflow: hidden;
}
.login-signup-section .background-blur img {
width: 100%;
height: 100%;
object-fit: cover;
filter: blur(12px);
opacity: 0.6;
transform: scale(1.05);
}
.login-signup-section .container {
display: flex;
width: 90%;
height: 90%;
max-width: 1200px;
overflow: hidden;
border-radius: 20px;
}
.login-signup-section .image-login-signup-container {
width: 50%;
height: 100%;
background-color: #fff;
box-shadow: 0 20px 76px rgba(0, 0, 0, 0.2);
overflow: hidden;
position: relative;
}
.login-signup-section .image-login-signup-container::after{
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
pointer-events: none;
z-index: 1;
}
.login-signup-section .image-login-signup-container img {
width: 100%;
height: 100%;
object-fit: cover;
}
.login-signup-section .image-login-signup-container .overlay-content{
position: absolute;
top: 0;
left: 0;
width: 100%;
padding: 20px 20px;
z-index: 10;
}
.login-signup-section .overlay-middle-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 10;
text-align: center;
width: 100%;
}
.login-signup-section .overlay-middle-text h1{
font-weight: 590;
font-style: semi-bold;
font-size: 40px;
line-height: 47px;
letter-spacing: 0px;
color: #D9D9D9;
}
.login-signup-section .overlay-middle-text h1 span{
color: #FFFFFF;
}
.login-signup-section .image-login-signup-container .overlay-content h1{
background: linear-gradient(90deg, #007BFF, #00C9A7, #FFD700, #FFA500);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 700;
font-style: bold;
font-size: 30px;
letter-spacing: -0.43px;
display: inline-block;
}
.login-signup-section .flip-container {
width: 50%;
height: 100%;
position: relative;
display: flex;
align-items: center;
justify-content: center;
background-color: #FFFFFF;
}
.login-signup-section .flip-container .overlay-content-btn{
position: absolute;
top: 0;
right: 0;
padding: 20px 20px;
z-index: 10;
}
.login-signup-section .flipper {
width: 100%;
height: 100%;
position: relative;
}
.login-signup-section .flip-container.show-login .form-login,
.login-signup-section .flip-container.show-signup .form-signup,
.login-signup-section .flip-container.show-forgot .form-forgot {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 1;
transform: scale(1);
}
.login-signup-section .login-signup-container {
width: 100%;
height: 100%;
padding: 0 30px;
}
.login-signup-section .login-signup-container h1 {
color: #6C6C70;
font-size: 40px;
margin-bottom: 20px;
text-transform: uppercase;
font-weight: 700;
}
.login-signup-section .login-box {
width: 100%;
max-width: 350px;
display: flex;
flex-direction: column;
gap: 20px;
}
.login-signup-section .input-group input {
width: 100%;
padding: 12px 15px;
border: 1px solid #ccc;
border-radius: 8px;
background: #f7f7f7;
color: #333;
font-size: 16px;
outline: none;
transition: 0.3s ease;
}
.login-signup-section .input-group input::placeholder {
color: #999;
}
.login-signup-section .input-group input:focus {
background: #fff; 
box-shadow: 0 0 8px rgba(108, 108, 112, 0.4); 
border-color: #6C6C70;
}
.login-signup-section .login-btn {
text-align: center;
padding: 12px;
border-radius: 8px;
background: linear-gradient(90deg, #AEAEB2, #6C6C70);
color: #FFFFFF;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: 0.3s ease;
border: none;
box-shadow: 0 4px 10px rgba(108, 108, 112, 0.4);
}
.login-signup-section .login-btn:hover {
background: linear-gradient(90deg, #6C6C70, #8E8E93);
box-shadow: 0 6px 12px rgba(108, 108, 112, 0.6);
transform: translateY(-2px);
}
.login-signup-section .switch-form {
color: #333;
font-size: 14px;
text-align: center;
}
.login-signup-section .switch-form a {
color: #0088FF;
text-decoration: none;
}
.login-signup-section .switch-form a:hover {
text-decoration: underline;
}
.login-signup-section .flipper > form {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none;
transform: scale(0.95);
}
.login-signup-section .flipper > form.active {
opacity: 1;
pointer-events: auto;
transform: scale(1);
z-index: 1;
}
.login-signup-section .back-link {
padding: 10px 20px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.1);
color: #6C6C70;
text-decoration: none;
border: 1px solid rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 10px;
font-size: 15px;
}
.login-signup-section .back-link:hover {
background: rgba(255, 255, 255, 0.2);
box-shadow: 0 6px 40px rgba(0, 0, 0, 0.2);
}
/* === INPUT GROUP WITH ICON === */
.login-signup-section .input-group {
position: relative;
}
.login-signup-section .input-group input {
width: 100%;
padding: 12px 45px 12px 15px; /* space for icon */
border: 1px solid #ccc;
border-radius: 8px;
background: #f7f7f7;
color: #333;
font-size: 16px;
outline: none;
transition: 0.3s ease;
}
.login-signup-section .input-group .toggle-password {
position: absolute;
right: 12px;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
color: #6C6C70;
font-size: 20px;
}
/* === ERROR STYLE === */
.error {
border-color: red !important;
}
.error-message {
color: red;
font-size: 13px;
margin-top: -8px;
margin-bottom: 8px;
display: none;
}
.floating-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 12px;
  font-weight: bold;
  z-index: 9999;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  background: rgba(255, 255, 255, 0.619);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35),
              inset 0 0 20px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  opacity: 0;
  animation: fadeIn 0.8s forwards, fadeOut 5s 1s forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-alert:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45),
              inset 0 0 25px rgba(255, 255, 255, 0.2);
}


.floating-alert.success {
   color: rgb(6, 69, 3);
  border-left: 4px solid rgba(3, 87, 6, 0.9);
  background: rgba(255, 255, 255, 0.619);
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4),
              inset 0 0 15px rgba(76, 175, 80, 0.25);
}


.floating-alert.error {
  color: rgb(82, 5, 5);
  border-left: 4px solid rgba(135, 10, 10, 0.9);
  background: rgba(255, 255, 255, 0.619);
  box-shadow: 0 4px 16px rgba(200, 40, 40, 0.4),
              inset 0 0 15px rgba(200, 40, 40, 0.25);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; display: none; }
}

.terms-section {
   display: flex;
   flex-direction: column;
   gap: 12px;
   font-size: 12px;
   color: #333;
}

.terms-group {
   display: flex;
   align-items: flex-start;   /* aligns checkbox with first line of text */
   gap: 10px;                 /* space between checkbox and text */
}

.terms-group input[type="checkbox"] {
   margin-top: 3px;           /* keeps checkbox aligned with first text line */
   flex-shrink: 0;            /* prevents checkbox from shrinking */
}

.terms-group label {
   flex: 1;                   /* text takes remaining width */
   line-height: 1.5;
   text-align: justify;
   cursor: pointer;
}

.terms-group a {
   color: #323232;
   font-weight: 600;
   text-decoration: none;
}

.terms-group a:hover {
   text-decoration: underline;
}


