.custom-login-wrapper {
    width: 300px;
    margin: 50px auto;
    padding: 20px;
    background: #f4f4f4;
    text-align: center;
    border-radius: 10px;
}

.custom-login-wrapper input {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

.custom-login-wrapper input[type="submit"] {
    background: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
}
.md-signup-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

/* Left Company Side */
.md-signup-info-side {
    flex: 1;
    background: linear-gradient(135deg, #0b1f36 0%, #123456 100%);
    color: #ffffff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.md-signup-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 20px;
}

.md-signup-info-side h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffffff;
}

.md-signup-info-side p {
    font-size: 15px;
    line-height: 1.6;
    color: #a0aec0;
    margin-bottom: 25px;
}

.md-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #e2e8f0;
    font-size: 14px;
}

.md-benefits-list li {
    margin-bottom: 10px;
}

/* Right Form Side */
.md-signup-form-side {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.md-form-container h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #1a202c;
}

.md-form-group {
    margin-bottom: 20px;
}

.md-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #4a5568;
}

.md-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.md-form-group input:focus {
    border-color: #3182ce;
    outline: none;
}

.md-signup-btn {
    width: 100%;
    background-color: #f6ad55; /* Orange brand accent */
    color: #1a202c;
    border: none;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.md-signup-btn:hover {
    background-color: #dd6b20;
    color: #ffffff;
}

.md-error-msg {
    background-color: #fed7d7;
    color: #c53030;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 15px;
}

/* Responsive breakpoint for mobile */
@media (max-width: 768px) {
    .md-signup-wrapper {
        flex-direction: column;
    }
}

/* Edge-to-Edge Full Viewport Reset */
html, body.login {
    height: 100vh !important;
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background-color: #ffffff !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Hide default WP junk */
body.login h1,
body.login .privacy-policy-page-link,
body.login #backtoblog {
    display: none !important;
}

/* Full Width & Height Split Container (No Box, Edge-to-Edge) */
.md-login-edge-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Left Company Info Pane (Clean Light Grey-Blue Gradient with Brand Accents) */
.md-login-left-pane {
    flex: 1;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #1e293b;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    border-right: 1px solid #cbd5e1;
}

.md-left-content {
    /* max-width: 480px; */
}

.md-login-logo {
    max-width: 60%;
    height: auto;
    margin-bottom: 24px;
}

.md-login-left-pane h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.md-login-left-pane p {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 30px 0;
}

.md-features-row {
        display: flex;
    gap: 12px;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.md-features-row span {
    background: #ffffff;
    color: #0284c7; /* Brand Blue */
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Right Login Form Pane */
.md-login-right-pane {
    flex: 1;
    background: gainsboro;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow-y: auto;
}

.md-form-box-wrapper {
    width: 100%;
    max-width: 400px;
}

/* Target WordPress Core Login Form Elements */
body.login div#login {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

body.login form#loginform {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

body.login label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    display: block;
    margin-bottom: 8px;
}

body.login form .input, 
body.login input[type=text], 
body.login input[type=password] {
    width: 100% !important;
    padding: 14px 16px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #0f172a !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

body.login form .input:focus, 
body.login input[type=text]:focus, 
body.login input[type=password]:focus {
    background: #ffffff !important;
    border-color: #f97316 !important; /* Brand Orange Focus Ring */
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15) !important;
    outline: none;
}

/* Remember Me Checkbox */
body.login .forgetmenot {
    margin-bottom: 24px;
    float: none !important;
}

body.login .forgetmenot label {
    font-weight: normal;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Brand Orange Submit Button */
body.login .button.button-primary {
    width: 100% !important;
    color: #ffffff !important;
    padding: 3px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    height: auto !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3) !important;
    cursor: pointer;
    transition: all 0.2s ease;
    float: none !important;
}

body.login .button.button-primary:hover {
    background-color: #3ac0f0 !important;
    border-color: #3ac0f0 !important;
}

/* Navigation Links (Lost password) */
body.login #nav {
    text-align: center !important;
    padding: 0 !important;
    margin: 25px 0 0 0 !important;
}

body.login #nav a {
    color: #64748b !important;
    font-size: 14px;
    text-decoration: none;
}

body.login #nav a:hover {
    color: #f97316 !important;
    text-decoration: underline;
}

/* Error Messages */
body.login #login_error {
    background: #fef2f2 !important;
    border-left: 4px solid #ef4444 !important;
    color: #991b1b !important;
    padding: 14px !important;
    border-radius: 8px !important;
    margin: 0 0 24px 0 !important;
    font-size: 14px;
    box-shadow: none !important;
}

/* Responsive Mobile Layout */
@media (max-width: 900px) {
    .md-login-edge-container {
        flex-direction: column;
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }
    .md-login-left-pane {
        padding: 40px 20px;
        flex: none;
        border-right: none;
        border-bottom: 1px solid #cbd5e1;
    }
    .md-login-right-pane {
        padding: 40px 20px;
        flex: none;
        min-height: 50vh;
    }
}

//Lazy loading Spinner
