.password-field .form-control {
    padding-right: 3rem;
}

.password-toggle-btn {
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    border-radius: 50%;
    background: #eef3ff;
    color: #2d3a99;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus {
    background: #2d3a99;
    color: #fff;
    box-shadow: 0 8px 18px rgba(45, 58, 153, .22);
}

.forgot-password-link {
    border: 0;
    background: transparent;
    color: #2d3a99;
    font-weight: 700;
    padding: 0;
}

.forgot-password-link:hover,
.forgot-password-link:focus {
    color: #1f2a73;
    text-decoration: underline;
}

.forgot-modal .modal-content {
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(20, 24, 36, .22);
}

.forgot-modal-header {
    background: linear-gradient(135deg, #2d3a99 0%, #1a8f8f 100%);
    color: #fff;
    padding: 1.5rem;
}

.forgot-modal-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .85rem;
}

.forgot-modal .modal-body {
    padding: 1.5rem;
}

@media (max-width: 575.98px) {
    .forgot-modal .modal-dialog {
        margin: .75rem;
    }

    .forgot-modal-header,
    .forgot-modal .modal-body {
        padding: 1.15rem;
    }
}
