.mcp-auth-layout{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
}

.mcp-auth-shell{
    width:100%;
    max-width:1100px;
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
    gap:24px;
    align-items:stretch;
}

.mcp-auth-brand{
    border-radius:26px;
    padding:34px;
    color:#fff;
    background:
        radial-gradient(700px 380px at 20% 20%, rgba(56,189,248,.30), transparent 60%),
        radial-gradient(700px 420px at 80% 70%, rgba(37,99,235,.28), transparent 60%),
        linear-gradient(135deg,#0f172a,#111c33);
    box-shadow:0 20px 60px rgba(15,23,42,.18);
    overflow:hidden;
    position:relative;
}

.mcp-auth-brand-inner{
    position:relative;
    z-index:1;
}

.mcp-auth-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 14px;
    border-radius:999px;
    margin-bottom:16px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.14);
    font-size:13px;
    font-weight:800;
}

.mcp-auth-brand h1{
    margin:0 0 12px;
    font-size:30px;
    font-weight:900;
    line-height:1.5;
}

.mcp-auth-brand p{
    margin:0;
    color:rgba(255,255,255,.84);
    font-size:14px;
    line-height:2;
}

.mcp-auth-panel{
    display:flex;
    align-items:center;
    justify-content:center;
}

.mcp-auth-card{
    width:100%;
    max-width:520px;
    background:rgba(255,255,255,.95);
    border-radius:24px;
    box-shadow:0 20px 60px rgba(0,0,0,0.12);
    overflow:hidden;
    backdrop-filter:blur(10px);
}

.mcp-auth-panel .mcp-auth-card h1,
.mcp-auth-panel .mcp-auth-card h2,
.mcp-auth-panel .mcp-auth-card h3{
    margin-top:0;
    font-weight:800;
    color:#0f172a;
}

.mcp-auth-panel form{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.mcp-auth-panel label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    font-weight:700;
    color:#334155;
}

.mcp-auth-panel input[type="text"],
.mcp-auth-panel input[type="email"],
.mcp-auth-panel input[type="password"],
.mcp-auth-panel input[type="tel"],
.mcp-auth-panel input[type="number"],
.mcp-auth-panel select,
.mcp-auth-panel textarea{
    width:100%;
    min-height:50px;
    border:1px solid #dbe3ee;
    border-radius:14px;
    padding:12px 14px;
    background:#fff;
    font-size:15px;
}

.mcp-auth-panel input[type="submit"],
.mcp-auth-panel button,
.mcp-auth-panel .button{
    width:100%;
    min-height:52px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
}

.mcp-auth-panel .mcp-message,
.mcp-auth-panel .notice,
.mcp-auth-panel .woocommerce-error,
.mcp-auth-panel .woocommerce-message{
    border-radius:14px;
    padding:14px 16px;
    margin-bottom:16px;
    font-size:14px;
}

.mcp-auth-panel .mcp-message.success{
    background:#ecfdf3;
    color:#166534;
    border:1px solid #bbf7d0;
}

.mcp-auth-panel .mcp-message.error{
    background:#fef2f2;
    color:#991b1b;
    border:1px solid #fecaca;
}

.mcp-auth-panel .mcp-auth-switch,
.mcp-auth-panel .auth-switch,
.mcp-auth-panel .mcp-tabs,
.mcp-auth-panel .mcp-auth-tabs{
    display:flex;
    gap:10px;
    margin-bottom:18px;
    background:#f1f5f9;
    padding:6px;
    border-radius:16px;
}

.mcp-auth-panel .mcp-auth-switch a,
.mcp-auth-panel .auth-switch a,
.mcp-auth-panel .mcp-tabs a,
.mcp-auth-panel .mcp-auth-tabs a,
.mcp-auth-panel .mcp-tab-btn{
    flex:1;
    text-align:center;
    padding:12px 14px;
    border-radius:12px;
    color:#334155;
    font-weight:700;
}

.mcp-auth-panel .mcp-tab-btn{
    border:none;
    background:transparent;
    cursor:pointer;
    font-size:14px;
}

.mcp-auth-panel .mcp-auth-switch a.active,
.mcp-auth-panel .auth-switch a.active,
.mcp-auth-panel .mcp-tabs a.active,
.mcp-auth-panel .mcp-auth-tabs a.active,
.mcp-auth-panel .mcp-tab-btn.active{
    background:#fff;
    color:#1d4ed8;
    box-shadow:0 8px 20px rgba(15,23,42,.06);
}

@media (max-width: 991px){
    .mcp-auth-shell{
        grid-template-columns:1fr;
    }

    .mcp-auth-brand{
        padding:26px;
    }

    .mcp-auth-card{
        max-width:680px;
    }
}

@media (max-width: 640px){
    .mcp-auth-layout{
        padding:16px;
    }

    .mcp-auth-card{
        border-radius:18px;
    }

    .mcp-auth-brand h1{
        font-size:24px;
    }
}
