body.login {
    visibility: hidden;
}

body.login.custom-loaded {
    visibility: visible;
}
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f1f1f1 !important;
}

#login {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100%;
    display: flex;
    align-items: normal;
    justify-content: center;
    flex-direction: column;
}
.login h1 a {
    display: none !important;
}

.fw_lpc_custom-login-container {
    display: flex;
    height: 100%;
    width: 100%;
}

.fw_lpc_custom-text-section {
    flex: 1;
    background-color: #D1A26C;
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.fw_lpc_custom-form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 40px;
    height: 100%;
    max-height: fit-content;
}
.login form {
    border: none !important;
    margin-right: auto;
    margin-left: auto;
    width: 70%;
}

.login #login{
    position: relative;
}

.login form .input, .login input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: transparent;
    color: #333;
    margin-top: 0 !important;
}

.login form label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 500;
}

.login #nav, .login #backtoblog {
    margin-right: auto;
    margin-left: auto;
    color: #50575e !important;
}
.login #nav a, .login #backtoblog a {
    color: #50575e !important;
}
.login #nav a:hover, .login #backtoblog a:hover {
    color: #D1A26C !important;
}

.login h1 a {
    background-image: none;
    background-size: contain;
    width: 300px;
    height: 100px;
}

#loginform .forgetmenot{
    display: flex;
    align-items: center;
}

.login #login_error {
    margin-top: 30px;
    margin-bottom: 0px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    font-size: 16px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
}

#login form#registerform {
/*    height: auto !important;*/
    padding: inherit !important;
    height: 800px !important;
    overflow: scroll;
}

#registerform > p,
#registerform > div {
    margin-bottom: 16px;
}

#registerform label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 500;
}

#registerform input[type="text"],
#registerform textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: transparent;
    color: #333;
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    .fw_lpc_custom-login-container {
        flex-direction: column;
    }

    .fw_lpc_custom-text-section,
    .fw_lpc_custom-form-section {
        flex: none;
        width: 100%;
    }

    .fw_lpc_custom-text-section {
        padding: 20px;
    }

    .fw_lpc_custom-form-section {
        padding: 20px;
    }
}
#wp-submit {
    padding-inline: 0;
    color: #FFFFFF;
    background: #B48957;
    border: 1px solid #D1A26C;
    transition: all .3s ease;
    text-decoration: none;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 8px;
    margin: 0;
    cursor: pointer;
    line-height: 1;
}
#wp-submit:hover {
    opacity: .8;
}
.fw-lpc-error-message {
    color: red;
    font-size: 14px;
    margin-top: -15px !important;
    margin-bottom: 5px !important;
}

#fw-lpc-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#fw-lpc-loader-text {
    font-size: 18px;
    font-weight: bold;
    color: #0073aa;
    background: rgba(255, 255, 255, 0.7);
    padding: 15px 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#fw-lpc-success-message {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fw_lpc_required_fields{
    font-size: 12px;
    /*font-style: italic;*/
}
.password-info {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    cursor: help;
    margin-left: 5px;
    position: relative;
}
.password-info:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-5%);
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: pre-line;
    width: max-content;
    text-align: left;
    z-index: 1000;
    margin-left: 5px;
}
.fw-lpc-error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}
.password-strength-meter {
    height: 5px;
    background-color: #eee;
    margin-top: 5px;
}
#password-strength-text {
    font-size: 0.9em;
    margin-top: 5px;
}