.modal-reset-password {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.reset-pass-card {
    min-width: 620px;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
}

.reset-pass-card.hidden {
    display: none;
}

.reset-pass-card h1,
.reset-card-title {
    text-align: center;
    color: #ee0033;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 500;
}

.reset-card-title.hidden {
    display: none;
}

h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.instruction {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.check-icon {
    color: #ee0033; 
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    color: #999;
}

.step-indicator.active {
    color: #ee0033;
}
.step-indicator.completed {
    color: #EFF0F6;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #EFF0F6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-weight: bold;
    color: #fff;
}

.step-indicator.active .step-number {
    background-color: #ee0033;

}
.step-indicator.completed .step-number {
    background-color: #EFF0F6;
}

.step-text {
    font-size: 14px;
    font-weight: 500;
    color: #8C89A6;
    white-space: nowrap;
}

.step-indicator.active .step-text {
    color: #ee0033;
    font-weight: bold;
}

#step-success {
    margin: 40px auto;
}

.check-icon-success {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 20px 0px #6D727833;
    margin: 0 auto 40px;
}

#step-success > h2 {
    color: #ee0033;
}

#step-success > .btn-submit {
    width: 256px;
    margin: auto;
}

.progress-line {
    height: 8px;
    border-radius: 8px;
    background-color: #E0E0E0;
    width: 100%; 
    position: relative;
    top: 15px; 
}

.step-indicator.completed ~ .progress-line {
    background: #ee0033; 
}

.step-indicator.active ~ .progress-line {
    background: #E0E0E0; 
}

/* Form Elements */
.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 16px;
    color: #ee0033;
}

input[type="email"],
input[type="text"],
input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fff;
}

/* Password Input */
.password-input-container {
    position: relative;
}

.password-eye {
    position: absolute;
    right: 12px;
    top: 15px;
    cursor: pointer;
    color: #888;
}

/* Email Field Icon */
.email-form-group {
    position: relative;
}

.email-icon {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #ee0033;
}

/* OTP */
.otp-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.otp-input {
    width: 50px !important;
    height: 60px;
    text-align: center;
    font-size: 24px;
    border: 1px solid #E6EBF6;
    border-radius: 2px;
}

.otp-input:focus {
    border-color: #ee0033;
    outline: none;
    box-shadow: 0 0 0 2px rgba(238, 0, 51, 0.2);
}

.otp-message {
    text-align: center;
    margin-bottom: 20px;
    color: #ee0033;
    font-size: 18px;
}

.otp-resend {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 40px 0;
    color: #666;
    cursor: pointer;
}

.otp-resend svg {
    margin-right: 8px;
}

/* Steps visibility */
.step {
    display: none;
}

.step.active {
    display: block;
}

/* Buttons */
.action-buttons {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
}

.action-buttons button {
    flex: 1;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #ee0033;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    height: 54px;
    position: relative;
}

.btn-submit.secondary {
    background-color: white;
    color: #ee0033;
    border: 1px solid #ee0033;
}

.btn-submit:hover {
    background-color: #bf062d;
}

.btn-submit.secondary:hover {
    background-color: #e0e0e0;
}

.btn-submit .arrow-icon {
    margin-left: 8px;
}

.error-message {
    color: #ee0033;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

/* Loading spinner styles */
.spinner-border {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.btn-submit.loading .spinner-border {
    display: inline-block;
}

.btn-submit.loading .arrow-icon {
    display: none;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Disable button during loading */
.btn-submit.loading {
    cursor: not-allowed;
    opacity: 0.9;
    pointer-events: none;
}

.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #c3c3c3;
    border-radius: 50%;
    margin-left: 5px;
    font-size: 12px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    border: 2px solid #c3c3c3;
}

.tooltip-content {
    visibility: hidden;
    position: absolute;
    width: 310px;
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
    top: -10px;
    left: 25px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-icon:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

.tooltip-content ul {
    margin: 0;
    padding-left: 20px;
}

.tooltip-content li {
    margin-bottom: 5px;
    font-size: 14px;
}

