/* Modern login screen (loaded after login.css / modern.css) */
body.auth-page {
    font-family: "Poppins", "Inter", "Segoe UI", system-ui, sans-serif;
    min-height: 100vh;
    height: auto;
    background: radial-gradient(1200px 600px at 10% -10%, #dbeafe 0%, transparent 60%),
                radial-gradient(900px 500px at 110% 110%, #e0e7ff 0%, transparent 55%),
                #f4f7fc;
    background-attachment: fixed;
}
.shop-wrapper { min-height: 100vh; align-items: center; }
#login-section { display: flex; justify-content: center; padding: 24px 16px; float: none; }
#products-section { border-right: 0; }

.auth-card {
    margin-top: 0;
    padding: 36px 32px 28px;
    max-width: 420px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.7);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px -12px rgba(15,40,100,.22), 0 2px 6px rgba(15,40,100,.06);
    position: relative;
    overflow: hidden;
}
.auth-card:before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
    background: linear-gradient(90deg, #0A66C2, #6366f1, #06b6d4);
}
.auth-card .page-back { background: transparent; }
.auth-card .container { width: 100%; padding: 0; }
.auth-card .login-content, .auth-card .login-form-div { background: transparent !important; padding: 0; max-width: none; }
.auth-card .col-sm-12 { padding-left: 0; padding-right: 0; }

.auth-card h3 { font-size: 24px; font-weight: 700; color: #0f2a52; margin-bottom: 4px; }
.auth-sub { text-align: center; color: #6b7a90; font-size: 13px; margin: 0 0 24px; }

.auth-card .input-group { width: 100%; }
.auth-card .input-group-addon {
    background: #f1f5fb; border: 1px solid #dbe3ef; border-right: 0;
    color: #7b8ba3; border-radius: 12px 0 0 12px; padding: 0 14px; min-width: 44px;
}
.auth-card .input-group-addon:last-child { border: 1px solid #dbe3ef; border-left: 0; border-radius: 0 12px 12px 0; cursor: pointer; }
.auth-card .input-group-addon i { padding: 0; width: auto; }
.auth-card .form-control {
    height: 46px; padding: 10px 14px !important; border: 1px solid #dbe3ef !important;
    background: #f8fafd; box-shadow: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.auth-card .input-group .form-control:not(:first-child):not(:last-child) { border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; }
.auth-card .input-group .form-control:last-child { border-radius: 0 12px 12px 0 !important; border-left: 0 !important; }
.auth-card .form-control:focus { background: #fff; border-color: #0A66C2 !important; box-shadow: 0 0 0 3px rgba(10,102,194,.14); }
.auth-card .textbox-wrap { margin-bottom: 16px; }

.auth-card .form-action { margin-top: 4px; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-card .form-action .checkbox { margin: 0; }
.auth-card .form-action .btn-success,
.auth-card .btn-primary {
    width: auto; min-width: 130px; padding: 12px 22px; border: 0; border-radius: 12px; font-weight: 600; color: #fff;
    background: linear-gradient(135deg, #0A66C2, #4f46e5);
    box-shadow: 0 8px 18px -6px rgba(10,102,194,.55);
    transition: transform .15s, box-shadow .15s, filter .15s;
}
.auth-card .form-action .btn-success:hover,
.auth-card .btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 22px -8px rgba(10,102,194,.6); }
.auth-card .btn-success.login_link { background: #eef2f9; color: #36507a; box-shadow: none; min-width: 0; }

.auth-card .login-form-links {
    margin: 22px 0 0; padding: 14px 16px; border-radius: 12px; box-shadow: none;
    background: #f4f7fc; border: 1px solid #e6ecf5; text-align: center; font-size: 13px; color: #6b7a90;
}
.auth-card .login-form-links h4 { font-size: 14px; font-weight: 600; margin: 0 0 4px; color: #0f2a52 !important; }
.auth-card .login-form-links a { color: #0A66C2 !important; font-weight: 600; }
.auth-card .alert { border: 0; border-radius: 12px; }

@media (max-width: 768px) {
    .shop-wrapper { min-height: 0; }
    .auth-card { padding: 28px 20px 22px; border-radius: 16px; }
}

/* Left brand / details panel */
#brand-section { padding: 0; align-self: stretch; }
.brand-panel {
    min-height: 100vh; padding: 48px 56px; display: flex; flex-direction: column; justify-content: center;
    color: #fff; position: relative; overflow: hidden;
    background: linear-gradient(145deg, #0a3d7a 0%, #0A66C2 45%, #4f46e5 100%);
}
.brand-panel:before, .brand-panel:after {
    content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07);
}
.brand-panel:before { width: 420px; height: 420px; right: -140px; top: -120px; }
.brand-panel:after { width: 320px; height: 320px; left: -110px; bottom: -110px; }
.brand-panel > * { position: relative; z-index: 1; }
.brand-top { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.brand-logo { height: 46px; width: auto; background: #fff; border-radius: 12px; padding: 6px; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: .3px; }
.brand-title { font-size: 36px; line-height: 1.2; font-weight: 700; margin: 0 0 14px; color: #fff; }
.brand-lead { font-size: 16px; opacity: .85; margin: 0 0 34px; max-width: 480px; }
.brand-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 560px; }
.brand-feature {
    display: flex; gap: 14px; padding: 16px; border-radius: 14px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px);
}
.brand-feature i { font-size: 20px; width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 10px; background: rgba(255,255,255,.2); flex: none; }
.brand-feature strong { display: block; font-size: 14px; margin-bottom: 2px; }
.brand-feature span { font-size: 12px; opacity: .8; line-height: 1.4; display: block; }
.brand-foot { margin-top: 40px; font-size: 12px; opacity: .65; }
@media (max-width: 1200px) { .brand-panel { padding: 40px 32px; } .brand-features { grid-template-columns: 1fr; } .brand-title { font-size: 30px; } }
