/* Custom styles for the password reset modal - simplified to use more Bootstrap classes */
.passwordResetModal {
    font-size: 14px;
    font-family: Poppins, serif;
}

.passwordResetModal .modal-content {
    border: none;
}

.passwordResetModal .modal-header {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.passwordResetModal .modal-footer {
    border-top: none;
    padding: 1rem 1.5rem 1.5rem;
}

.passwordResetModal .form-control {
    border-radius: 0.375rem;
    padding: 0.75rem;
    border: 1px solid #ced4da;
}

.passwordResetModal .form-control:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

/* Captcha container - simplified with Bootstrap positioning classes */
.passwordResetModal .captcha-container {
    height: 90px; /* Maintain height for captcha */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .1);
}

.passwordResetModal #captcha-canvas {
    max-width: 100%;
    height: 100%;
    cursor: default;
}

/* Position for refresh button - uses Bootstrap positioning classes where possible */
.end-2 {
    right: 10px;
}

.passwordResetModal .btn-refresh {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    background-color: #fff;
    border: 1px solid #ced4da;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

.passwordResetModal .btn-refresh:hover {
    background-color: #4361ee;
    color: white;
    border-color: #4361ee;
}

.passwordResetModal .btn-primary {
    background-color: #4361ee;
    border-color: #4361ee;
}

.passwordResetModal .btn-primary:hover {
    background-color: #3a0ca3;
    border-color: #3a0ca3;
}

/*.passwordResetModal .parsley-errors-list {
    margin-top: 0.25rem;
    padding-left: 0;
    list-style: none;
}

.passwordResetModal .parsley-errors-list li {
    color: #dc3545;
    font-size: 0.875rem;
}*/

/* Success animation styles */
.passwordResetModal .success-animation {
    width: 80%;
    margin: 20px auto;
}

.passwordResetModal .checkmark {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.passwordResetModal .checkmark__circle {
    stroke: #198754;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    fill: none;
    animation: passwordResetModalStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.passwordResetModal .checkmark__check {
    transform-origin: 50% 50%;
    stroke: #198754;
    stroke-width: 3;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: passwordResetModalStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

/* Renamed animations to avoid conflicts */
@keyframes passwordResetModalStroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* Success text styling */
.passwordResetModal .text-success {
    color: #2b9556;
    margin: 10px 0;
    font-family: Poppins, serif;
}

.passwordResetModal .text-muted {
    color: #6c757d;
    margin-bottom: 0;
    font-family: Poppins, serif;
}

.reset-password-modal-btn {
    font-size: 12px;
    min-width: 161px;
}
