.input-group .form-control {
    border: 1px solid #dee2e6 !important;
    border-radius: 5px !important;
}

.input-group .form-control:has(+ .toggle-password:not([style*="display: none"])) {
    border-right: none !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.toggle-password {
    border: 1px solid #dee2e6 !important;
    border-left: 1px solid #dee2e6 !important; 
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    background-color: #fff !important;
    color: #6c757d;
    z-index: 4;
}

.form-control:focus {
    border-color: #880007 !important;
    box-shadow: none !important;
}


.form-control:focus + .toggle-password {
    border-color: #880007 !important;
}

.input-group .btn-outline-secondary:hover {
    color: #333 !important;
    background-color: #f8f9fa !important;
}