/* ===== RESET ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    height: 100vh;
    display: flex;
   
}
@keyframes fa-spin {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}
.lx_ref_captcha_img {
    animation: fa-spin 8s infinite linear
}
/* ===== CONTAINER ===== */
.container {
    display: flex;
    width: 100%;
}

/* ===== LEFT (GLASS UI) ===== */
.left { width: 30%; display: flex; justify-content: center; align-items: center; }
 .left { background-color: #f9f9f9; background-image: radial-gradient(#ddd 1px, transparent 1px); background-size: 20px 20px; }
 .left { position: relative; overflow: hidden;  }

/* FLOAT PARTICLES */


 .form-box { width: 80%; max-width: 350px; height: 800px; }

 .form-box h2 { margin-bottom: 20px; }

 .form-box input { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px;color: #000; }

 .form-box button { width: 100%; padding: 12px; background: #4CAF50; color: white; border: none; border-radius: 8px; cursor: pointer; }

 .form-box button:hover { background: #2d68b3; }


    .form-box {
    background: rgba(255,255,255,0.7);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
}
    
 @keyframes fadeUp { to { opacity: 1; transform: translateY(0); }}

    
 /* کانتینر ذرات */ .falling span { position: absolute; display: block; width: 10px; height: 10px; background: rgb(250, 52, 191); border-radius: 50%; animation: fall 10s linear infinite; }

 /* موقعیت‌های مختلف */ .falling span:nth-child(1) { left: 10%; animation-duration: 8s; }

 .falling span:nth-child(2) { left: 20%; animation-duration: 12s; }

 .falling span:nth-child(3) { left: 35%; animation-duration: 10s; }

 .falling span:nth-child(4) { left: 50%; animation-duration: 14s; }

 .falling span:nth-child(5) { left: 65%; animation-duration: 9s; }

 .falling span:nth-child(6) { left: 75%; animation-duration: 11s; }

 .falling span:nth-child(7) { left: 85%; animation-duration: 13s; }

 .falling span:nth-child(8) { left: 95%; animation-duration: 7s; }

 /* انیمیشن سقوط */ @keyframes fall { 0% { top: -10px; opacity: 0; }

 10% { opacity: 1; }

 100% { top: 100%; opacity: 0; }

 }
    
    
/* FORM BOX */
 .form-box input:focus { border-color: #2686FF; box-shadow: 0 0 8px rgb(0, 121, 252); outline: none; }


/* SWITCH */
.switch {
    display: flex;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.switch button {
    flex: 1;
    padding: 10px;
    border: none;
    cursor: pointer;
    background: rgba(0, 147, 255, 0.47);
    color: white;
    margin: 0 10px;
}

.switch .active {
    background: #2d68b3;
}

/* FORMS */
.forms {
    position: relative;
    height: 280px;
}

/* FORM */
.form {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(40px);
    transition: 0.4s ease;
    pointer-events: none;
}

.form.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* INPUT */
input {
 
    background:#fff;
   
}

input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(99,102,241,0.5);
}

/* BUTTON */
button.submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #2d68b3;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

button.submit:hover {
    background: #6366f1;
}

/* PASSWORD */
.password-box {
    position: relative;
}

.password-box span {
    position: absolute;
    right: 10px;
    top: 33%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* ERROR */
.error {
    color: #ff6b6b;
    font-size: 13px;
    margin-bottom: 10px;
}

/* LOADER */
.loader {
    display: none;
    margin-top: 10px;
    text-align: center;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* RIGHT */
.right {
    width: 70%;
    position: relative;
    overflow: hidden;
}

.bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../../../template/loginbg.png') center/cover no-repeat;
    
    
}

.logo {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../../../template/loginlogo.png') center bottom no-repeat;
    background-size: 70%;
}
.alert {
     display: none;
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url('../../../images/alert.png');
}

.error {
     
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url('../../../images/alert.png');
    font-family:Tahoma, Geneva, sans-serif;
	font-weight:normal;
	font-size:12px;
	-webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      border-radius: 10px;
    border: 1px solid;
    padding:9px 50px;
    background-repeat: no-repeat;
    background-position: 99.95% center;
	margin:10px auto;
	width:100%;
} 
.alert.success {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image:url('../../../images/success.png');
}

.success {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image:url('../../../images/success.png');
    font-family:Tahoma, Geneva, sans-serif;
	font-weight:normal;
	font-size:12px;
	-webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      border-radius: 10px;
    border: 1px solid;
    padding:9px 50px;
    background-repeat: no-repeat;
    background-position: 99.95% center;
	margin:10px auto;
	width:100%;
}

.info, .success, .warning, .alert, .validation {
	font-family:Tahoma, Geneva, sans-serif;
	font-weight:normal;
	font-size:12px;
	-webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      border-radius: 10px;
    border: 1px solid;
    padding:9px 50px;
    background-repeat: no-repeat;
    background-position: 99.95% center;
	margin:10px auto;
	width:100%;
}



/* RESPONSIVE */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left  {
        width: 100%;
        height: 100%;
    }
    .right{}
}

    
    
    
    
    
    
    
    
    
    
    
    
    
    .form-box {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
    
    
    
    .form-box input,
.form-box button {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease forwards;
}

.form-box input:nth-child(2) { animation-delay: 0.2s; }
.form-box input:nth-child(3) { animation-delay: 0.4s; }
.form-box button { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    
    
    