 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     background: #000;
     min-height: 100vh;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     color: #ffffff;
     overflow-x: hidden;
 }

 .login-container {
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 20px;
     position: relative;
 }

 .login-card {
     background: rgba(255, 255, 255, 0.05);
     backdrop-filter: blur(10px);
     border: 2px solid #1d1d1d;
     /* border-image: linear-gradient(135deg, #8b5cf6, #3b82f6, #06b6d4) 1; */
     border-radius: 20px;
     padding: 40px;
     width: 100%;
     max-width: 450px;
     box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
     position: relative;
     overflow: hidden;
 }


 .logo {
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 10px;
     font-size: 24px;
     font-weight: bold;
     color: white;
 }

 .logo img {
     width: 140px;
 }

 /* .logo:hover {
            transform: rotate(0deg) scale(1.1);
        } */

 .welcome-title {
     font-size: 28px;
     font-weight: 700;
     text-align: center;
     margin-bottom: 20px;
     background: linear-gradient(135deg, #ffffff, #e2e8f0);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .welcome-subtitle {
     color: #94a3b8;
     text-align: center;
     margin-bottom: 40px;
     font-size: 16px;
 }

 .form-step {
     display: none;
     animation: fadeInUp 0.5s ease;
 }

 .form-step.active {
     display: block;
 }

 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .form-label {
     color: #e2e8f0;
     font-weight: 500;
     margin-bottom: 8px;
     display: block;
 }

 .form-input {
     width: 100%;
     padding: 10px 20px;
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(255, 255, 255, 0.1);
     border-radius: 10px;
     color: #ffffff;
     font-size: 16px;
     transition: all 0.3s ease;
     margin-bottom: 8px;
 }

 .form-input:focus {
     outline: none;
     border-color: #604a0a;
     background: rgba(59, 130, 246, 0.1);
     box-shadow: 0 0 0 3px rgb(255 193 7 / 12%);
 }

 .form-input::placeholder {
     color: #64748b;
 }

 .password-container {
     position: relative;
 }

 .password-toggle {
     position: absolute;
     right: 15px;
     top: 38%;
     transform: translateY(-50%);
     background: none;
     border: none;
     color: #64748b;
     cursor: pointer;
     font-size: 16px;
     transition: color 0.3s ease;
 }

 .password-toggle:hover {
     color: #823CAC;
 }

 .forgot-password {
     color: #691d96;
     text-decoration: none;
     float: right;
     font-size: 14px;
     transition: color 0.3s ease;
     margin-bottom: 30px;
     display: inline-block;
 }

 .forgot-password:hover {
     color: #691d96 !important;
 }

 .forgot-password:hover {
     color: #3b82f6;
     text-decoration: underline;
 }

 .btn-primary {
     width: 100%;
     padding: 10px 15px;
     background: linear-gradient(45deg, #823CAC, #691d96);
     border: none;
     border-radius: 10px;
     color: white;
     font-size: 16px;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s ease;
     margin-bottom: 0;
     position: relative;
     overflow: hidden;
 }

 .btn-primary::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
     transition: left 0.5s;
 }

 .btn-primary:hover::before {
     left: 100%;
 }

 .btn-primary:hover {
     transform: translateY(-2px);
     box-shadow: 0 10px 25px rgb(124 53 167 / 31%);
 }

 .btn-secondary {
     width: 100%;
     padding: 10px 15px;
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(255, 255, 255, 0.1);
     border-radius: 10px;
     color: white;
     font-size: 16px;
     font-weight: 500;
     cursor: pointer;
     transition: all 0.3s ease;
     margin-bottom: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
     margin-top: 10px;
 }

 .btn-secondary:hover {
     background: rgba(255, 255, 255, 0.1);
     transform: translateY(-2px);
 }

 .divider {
     text-align: center;
     margin: 30px 0;
     position: relative;
     color: #64748b;
 }

 .divider::before {
     content: '';
     position: absolute;
     top: 50%;
     left: 0;
     right: 0;
     height: 1px;
     background: rgba(255, 255, 255, 0.1);
 }

 .divider span {
     background: rgba(255, 255, 255, 0.05);
     padding: 0 20px;
     position: relative;
     z-index: 1;
 }

 .otp-container {
     display: flex;
     gap: 10px;
     justify-content: center;
     margin-bottom: 30px;
 }

 .otp-input {
     width: 50px;
     height: 50px;
     text-align: center;
     font-size: 18px;
     font-weight: bold;
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(255, 255, 255, 0.1);
     border-radius: 8px;
     color: #ffffff;
     transition: all 0.3s ease;
 }

 .otp-input:focus {
     outline: none;
     border-color: #3b82f6;
     background: rgba(59, 130, 246, 0.1);
     box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
 }

 .success-message {
     text-align: center;
     color: #10b981;
     background: rgba(16, 185, 129, 0.1);
     border: 1px solid rgba(16, 185, 129, 0.3);
     border-radius: 10px;
     padding: 20px;
     margin-bottom: 30px;
 }

 .success-icon {
     font-size: 48px;
     margin-bottom: 15px;
     display: block;
 }

 .error-message {
     background: rgba(239, 68, 68, 0.1);
     border: 1px solid rgba(239, 68, 68, 0.3);
     color: #ef4444;
     padding: 15px;
     border-radius: 8px;
     margin-bottom: 20px;
     text-align: center;
     display: none;
 }

 .back-btn {
     background: none;
     border: none;
     color: #adb0b3;
     cursor: pointer;
     font-size: 14px;
     text-decoration: underline;
     margin-bottom: 20px;
     transition: color 0.3s ease;
 }

 .form-step h3 {
     margin-bottom: 10px !important;
 }

 .back-btn:hover {
     color: #3b82f6;
 }

 .loading {
     display: none;
     text-align: center;
     margin: 20px 0;
 }

 .spinner {
     width: 30px;
     height: 30px;
     border: 3px solid rgba(255, 255, 255, 0.1);
     border-top: 3px solid #3b82f6;
     border-radius: 50%;
     animation: spin 1s linear infinite;
     margin: 0 auto;
 }

 @keyframes spin {
     0% {
         transform: rotate(0deg);
     }

     100% {
         transform: rotate(360deg);
     }
 }

 .step-indicator {
     display: none;
     justify-content: center;
     margin-bottom: 30px;
 }

 .step {
     width: 10px;
     height: 10px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.2);
     margin: 0 5px;
     transition: all 0.3s ease;
 }

 .step.active {
     background: #3b82f6;
     transform: scale(1.2);
     background: linear-gradient(45deg, #823CAC, #691d96);
 }

 @media (max-width: 768px) {
     .login-card {
         padding: 30px 20px;
         margin: 10px;
     }

     .welcome-title {
         font-size: 24px;
     }
 }
