.custom-login-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding-top: 80px;
    align-items: flex-start;

}

.modal-visible {
    display: flex !important;
}
.custom-login-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    margin: 80px auto;
    position: relative;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.custom-login-content .close-login-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}
.login-logo {
    text-align: center;
    margin-bottom: 20px;
}
.login-logo img {
    max-width: 150px;
}
.login-links {
    margin-top: 20px;
    text-align: center;
}
.login-links a {
    color: #0073aa;
    text-decoration: none;
}

.login-button{
    margin-left: 0;
}

#dpa_login_modal tr {
    vertical-align: top;
}

.dpa_input {
    width: 100% !important;
    padding: 12px 16px !important;
    margin-bottom: 12px !important;
    font-size: 16px !important;
    border: 2px solid #ccc !important;
    border-radius: 8px !important;
    background-color: #f9f9f9 !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
}

.dpa_input:focus{
    border-color: #007bff !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2) !important;
    outline: none !important;
    background-color: #fff !important;
}

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

.dpa-spinner {
    display: inline-flex;
    align-items: center;
}

#dpa-login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 18px;
    padding: 5px;
    transition: color 0.3s;
    z-index: 50;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.toggle-password:hover {
    color: #007bff;
}

#dpa_modal_pw {
    padding-right: 45px !important;
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 5 !important;
}
