/* General layout for the login page */
body.login {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0px;
    background: #ffffff; /* Set the background to white */
    /* No justify-content here so the header remains at the top naturally */
}

/* Center and style the login form container */
body.login div#login {
    flex: 1; /* This makes #login take all remaining vertical space after the header */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers the form vertically within #login */
    align-items: center; /* Centers the form horizontally */
    margin: 0 auto;
}

/* Login form adjustments */
body.login div#login form#loginform {
    width: 100%;
    max-width: 400px;
    padding: 2px;
    background: none;
    border: 0;
    margin: 0;
}

/* Input field text */
body.login div#login form#loginform input[type="text"] {
    width: calc(100% - 10px);
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 0; 
    font-size: 14px;
    color: #333;
}
/* Input fields password */
body.login div#login form#loginform input[type="password"] {
    width: calc(100% - 10px);
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 0; 
    font-size: 14px;
    letter-spacing: 2px;
    color: #333;/* Adjust this value to control the spacing */
}

/* Password toggle button styling (fix position) */
body.login div#login form#loginform .wp-pwd {
    position: relative;
    margin-bottom: 0;
}

body.login div#login form#loginform .wp-pwd button.wp-hide-pw {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
}

/* Style the login button */
body.login div#login form#loginform p.submit input#wp-submit {
    display: block;
    width: 100%;
    padding: 13px 36px;
    background: #0F3855;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 0; /* Remove rounding */
    cursor: pointer;
    text-align: center;
    margin: 10px 0; /* Add spacing below "Remember Me" checkbox */
}

body.login div#login form#loginform p.submit input#wp-submit:hover {
    background-color: #093147; /* Darker shade on hover */
}

/* Style the 'CREATE ACCOUNT' link */
body.login .my-register {
    margin: 0;
    text-align: left;
    font-size: 16px; 
}

body.login .my-register a {
    color: #0F3855;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

body.login .my-register a:hover {
    color: #093147; /* Darker shade on hover */
    text-decoration: underline;
}

/* Styling for the 'Remember Me' checkbox and label */
body.login div#login form#loginform p.forgetmenot {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 0;
}

/* Lost your password link */
body.login div#login p#nav a {
    color: #0F3855;
    font-size: 14px;
    text-decoration: none;
}

body.login div#login p#nav a:hover {
    text-decoration: underline;
    color: #093147;
}

/* Remove WordPress branding */
body.login div#login h1 {
    display: none;
}

/* Adjust spacing for form elements */
body.login div#login form#loginform p {
    margin: 0 0 10px;
}

/* Back to site link (hidden) */
body.login div#login p#backtoblog {
    display: none; /* Hide the "Back to site" link */
}

/* Hide unnecessary Elementor sections */
/* hide menu */
body.login .elementor-190 .elementor-element.elementor-element-0a0ccf7:not(.elementor-motion-effects-element-type-background),
body.login .elementor-190 .elementor-element.elementor-element-0a0ccf7 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #FFFFFF;
     display: none; 
}
@media (max-width: 767px) {
    .elementor-190 .elementor-element.elementor-element-a4f78ef {
        display: none;
    }
}

@media (min-width: 768px) {
    .elementor-190 .elementor-element.elementor-element-dcd936d {
        width: 12% !important;
    }
}

/* social icon size */
body.login .elementor.elementor-11484 .elementor-icon {
    display: inline-block;
    line-height: 1;
    transition: all .3s;
    color: #ffffff;
    font-size: 24px;
    text-align: center;
}

.elementor-190 .elementor-element.elementor-element-7538951 .elementor-social-icon i {
    color: #0E3857;
    font-size: 18px;

}

/* footer alignment */
body.login .elementor.elementor-11484 .elementor-element-ba45aa8 {
    text-align: center;
}

body.login .elementor-190 .elementor-element.elementor-element-89c82bc > .elementor-widget-container {
    margin: 10px;
    padding: 5px 0px 0px 0px;
}

body.login .elementor-widget-container p {
    /* display: none; */
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
}

body.login .elementor.elementor-11484 {
    /* display: none; */
}