/**
 * Custom DBD Property Management Pro Theme CSS
 */

/* Set the background image for the entire login page */

/* Login Screen
---------------------------------------------------- */


div#login {
    background: rgba(255, 255, 255, 0.4);
}

body.login {
    background-image: url('/wp-content/themes/probate-property-pro/assets/images/DBDLLC-login-background.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0;
    padding: 0;
}

/* Ensure the login page takes up the full viewport height */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Center the login form vertically and horizontally */
body.login div#login {
    display: flow;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    margin: 0;
    width: 100%;
    max-width: 400px; /* Ensure the form doesn't get too wide */
    box-sizing: border-box;
}

/* Style the login form block with semi-transparency */
body.login #login form#loginform,
body.login #login form#lostpasswordform {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

/* Style the form inputs and labels for better readability */
body.login #login form#loginform p,
body.login #login form#lostpasswordform p {
    margin-bottom: 20px;
}

body.login #login form#loginform label,
body.login #login form#lostpasswordform label {
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

body.login #login form#loginform input[type="text"],
body.login #login form#loginform input[type="password"],
body.login #login form#lostpasswordform input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Style the submit button */
body.login #login form#loginform input[type="submit"],
body.login #login form#lostpasswordform input[type="submit"] {
    background-color: #007cba;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

body.login #login form#loginform input[type="submit"]:hover,
body.login #login form#lostpasswordform input[type="submit"]:hover {
    background-color: #005a87;
}

/* Style the "Lost your password?" link and other links */
body.login #login #nav,
body.login #login #backtoblog {
    text-align: center;
    margin-top: 10px;
}

body.login #login #nav a,
body.login #login #backtoblog a {
    color: #007cba;
    font-size: 14px;
    text-decoration: none;
}

body.login #login #nav a:hover,
body.login #login #backtoblog a:hover {
    color: #005a87;
    text-decoration: underline;
}

/* Ensure the logo area is styled appropriately */
body.login #login h1 {
    text-align: center;
    margin-bottom: 20px;

    background-image: url('/wp-content/themes/probate-property-pro/assets/images/DBDLLC-logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    /* height: 100vh; */
    margin: 0;
    padding: 0;
    height: 85px;
    width: 370px;
}

/* Adjust the message area (e.g., error messages) to match the semi-transparent style */
body.login .message,
body.login #login_error {
    background: rgba(255, 255, 255, 0.9);
    border-left: 4px solid #007cba;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    color: #333;
}

#login h1 a,
#login h1::before{
    display: none !important;
}

/*
 * Service Detail Pages
 */

h2.p1 {
    color: #007bff;
}

.service-img img {
    width: 100%;
    max-width: 100%;
    padding-right: 2em;
}