* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Binary Rain Background */
#binary-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.binary-digit {
    position: absolute;
    color: rgba(0, 255, 0, 0.35);
    font-family: 'Courier New', monospace;
    font-size: 18px;
    user-select: none;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

/* Progress Bar */
#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: none;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00ff88, #00ffcc);
    transition: width 0.3s ease;
}

/* Login Container */
.login-container {
    background: rgba(15, 12, 41, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 200, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 6s infinite;
    z-index: -1;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

.login-container h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0, 255, 200, 0.5);
    letter-spacing: 1px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group .icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #00ffcc;
    font-size: 18px;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    background: rgba(255, 255, 255, 0.07);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.input-group input:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.3);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #00ffcc;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 10px;
}

.remember-me label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.forgot-password a {
    color: #00ffcc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.forgot-password a:hover {
    text-decoration: underline;
    color: #00ff88;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #00ff88, #00ffcc);
    border: none;
    border-radius: 8px;
    color: #0f0c29;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 200, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.message.error {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff5555;
}

.message.success {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #55ff55;
}

.brand {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.forgot-container {
	max-width: 500px;
}
.back-to-login {
	text-align: center;
	margin-top: 20px;
}
.back-to-login a {
	color: #00ffcc;
	text-decoration: none;
}
.back-to-login a:hover {
	text-decoration: underline;
}
.instructions {
	color: #00ffcc;
	text-align: center;
	margin-bottom: 20px;
	font-size: 14px;
}
.otp-container, .password-container {
	display: none;
}
.resend-otp {
	text-align: center;
	margin-top: 10px;
	font-size: 14px;
}
.resend-otp a {
	color: #00ffcc;
	text-decoration: none;
}
.resend-otp a:hover {
	text-decoration: underline;
}

.logo-center-box{
  display: grid;
  place-items: center;
  max-height:500px;
  margin:15px 0;
}


.logo-ti{
  display: block;
  max-height: 500px;
  max-width: 100%;
  height: auto;
  width: auto;
  margin-inline: auto;
}

.instructions {
	color: #00ffcc;
	text-align: center;
	margin-bottom: 20px;
	font-size: 14px;
}
.resend-otp {
	text-align: center;
	margin-top: 10px;
	font-size: 14px;
}
.resend-otp a {
	color: #00ffcc;
	text-decoration: none;
}
.resend-otp a:hover {
	text-decoration: underline;
}
.otp-container {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
	gap: 10px;
}
.otp-input {
	width: 50px;
	height: 50px;
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(0, 255, 200, 0.3);
	border-radius: 8px;
	color: #fff;
	outline: none;
	transition: all 0.3s;
}
.otp-input:focus {
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 15px rgba(0, 255, 200, 0.3);
	border-color: #00ffcc;
}
.otp-input.filled {
	border-color: #00ff88;
}
@media (max-width: 480px) {
	.otp-input {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}
}


/* Responsive adjustments */
@media (max-width: 480px) {
    .login-container {
        padding: 20px;
        width: 95%;
    }
    
    .login-container h2 {
        font-size: 20px;
    }
    
    .input-group input {
        padding: 12px 12px 12px 45px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .forgot-password {
        align-self: flex-end;
    }
}