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

/* Reset Form Container */
.reset-container {
    min-height: 89vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f5f5f5;
}

.reset-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.reset-form:hover {
    transform: translateY(-5px);
}

/* Form Elements */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    margin: 15px 0;
    color: #222;
    font-size: 24px;
}

.form-header i {
    font-size: 48px;
    color: #222;
    margin-bottom: 15px;
}

.half{
    display: none;
}

.form-header p {
    color: #666;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #222;
}

.input-group input:hover {
    border-color: #666;
}

/* Password Section (Initially Hidden) */
.password-section {
    display: none;
}

.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #222;
}

/* Button Styles */
.button-group button {
    background-color: #222;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button-group button:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#submit-btn {
    display: none;
}

/* OTP Section */
.otp-section {
    display: none;
    margin-top: 20px;
}

.otp-section input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    letter-spacing: 4px;
    transition: all 0.3s ease;
}

.otp-section input:focus {
    outline: none;
    border-color: #222;
    box-shadow: 0 0 5px rgba(34,34,34,0.2);
}

.otp-timer {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

.error-msg {
    color: #e74c3c;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    display: none;
    transition: all 0.3s ease;
}

.error-msg.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-msg.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .reset-container {
        padding: 15px;
        min-height: calc(100vh - 60px);
    }
    
    .reset-form {
        padding: 25px;
        max-width: 100%;
    }
    
    .form-header h2 {
        font-size: 22px;
    }
    
    .form-header i {
        font-size: 40px;
    }
    
    .form-header p {
        font-size: 14px;
    }
    
    .input-group input {
        padding: 11px;
        font-size: 14px;
    }
    
    .button-group button {
        padding: 12px 18px;
        font-size: 15px;
    }
    
    .otp-section input {
        padding: 11px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .reset-container {
        padding: 10px;
        min-height: calc(100vh - 60px);
    }
    
    .reset-form {
        padding: 20px;
        border-radius: 6px;
    }
    
    .form-header {
        margin-bottom: 25px;
    }
    
    .form-header h2 {
        font-size: 20px;
        margin: 12px 0;
    }
    
    .form-header i {
        font-size: 36px;
        margin-bottom: 12px;
    }
    
    .form-header p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .input-group {
        margin-bottom: 15px;
    }
    
    .input-group input {
        padding: 10px;
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .password-field {
        margin-bottom: 10px;
    }
    
    .toggle-password {
        right: 8px;
        font-size: 16px;
    }
    
    .button-group button {
        padding: 12px 16px;
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .otp-section {
        margin-top: 15px;
    }
    
    .otp-section input {
        padding: 10px;
        font-size: 13px;
        letter-spacing: 3px;
    }
    
    .otp-timer {
        font-size: 13px;
        margin-top: 8px;
    }
    
    .error-msg {
        font-size: 13px;
        padding: 8px;
        margin-top: 8px;
    }
}

#back-btn{
    display: none;
}