body.login-custom-page {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
}

.login-container {
    display: flex;
    min-height: 100vh;
}

.login-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.login-form-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #ffffff;
}

.login-form-box {
    width: 100%;
    max-width: 400px;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    width: 300px;
    cursor: pointer;
}

.login-tagline {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.login-form-box form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.login-form-box form input[type="text"],
.login-form-box form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-form-box form input[type="submit"] {
    width: 100%;
    background-color: #0073aa;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-form-box form input[type="submit"]:hover {
    background-color: #005f8d;
}

.login-form-box .lost-password {
    text-align: center;
    margin-top: 10px;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-image {
        display: none;
    }

    .login-form-area {
        flex: none;
        padding: 20px;
        min-height: 100vh;
    }
}

/* Hide WordPress default header/footer */
header, footer, .site-header, .site-footer, .promo, #header, hr {
    display: none !important;
}

.login-error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
}

.primary-title-wrap,
.secondary-title-wrap {
    background: rgba(0, 0, 0, 0.4); /* for contrast */
    padding: 15px 25px;
    border-radius: 10px;
    margin: 10px 0;
    color: white;
    max-width: 80%;
}

.primary-title-wrap h1,
.secondary-title-wrap h3 {
    color: white;
}