	/*auto logout/login screen */
    
    .wp-admin .pmpro-login .post_container:not(.style2){
		width: 100% !important;
	}


	/* Ensure the modal container is centered and visible */
#wp-auth-check-wrap {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100vh !important;
    overflow: auto !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100000 !important;
    background: rgba(255,255,255,0.96) !important;
}

/* Prevent inner login content from being pushed too far down */
#wp-auth-check {
    max-height: 90vh !important;
    overflow-y: auto !important;
}

/* Optional: limit width and center content */
#wp-auth-check .pmpro-login,
#wp-auth-check form {
    max-width: 420px;
    margin: 0 auto;
    width: 100% !important;
}

/* Ensure inputs are readable and fill container */
#wp-auth-check input[type="text"],
#wp-auth-check input[type="password"] {
    width: 100% !important;
    font-size: 16px;
}

/* Hide footer if needed */
body.wp-admin #wp-auth-check-wrap footer {
    display: none !important;
}