@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --auth-primary: #2563eb;
    --auth-primary-dark: #1d4ed8;
    --auth-primary-light: #eff6ff;

    --auth-blue: #3b82f6;
    --auth-green: #10b981;
    --auth-orange: #f59e0b;
    --auth-purple: #8b5cf6;

    --auth-dark: #0f172a;
    --auth-text: #1e293b;
    --auth-muted: #64748b;

    --auth-border: #e2e8f0;
    --auth-background: #f8fafc;
    --auth-white: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    background: var(--auth-background);
    color: var(--auth-text);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

button,
input {
    font-family: inherit;
}

.showroom-login {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(480px, 0.92fr);
    overflow: hidden;
    background: #ffffff;
}

.showroom-login__visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-image: url('../images/showroom-login.png');
    background-size: cover;
    background-position: center;
}

.showroom-login__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.94) 0%,
            rgba(30, 64, 175, 0.84) 48%,
            rgba(37, 99, 235, 0.55) 100%
        );
}

.showroom-login__visual::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    right: -260px;
    top: -180px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(255, 255, 255, 0.025),
        0 0 0 140px rgba(255, 255, 255, 0.02);
}

.showroom-login__visual-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 52px 64px;
    color: #ffffff;
}

.showroom-login__brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.showroom-login__brand-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-size: 21px;
}

.showroom-login__brand strong,
.showroom-login__mobile-brand strong {
    display: block;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.showroom-login__brand span,
.showroom-login__mobile-brand span {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.28em;
    opacity: 0.7;
}

.showroom-login__headline {
    max-width: 650px;
    margin-top: auto;
    margin-bottom: auto;
    padding: 80px 0 50px;
}

.showroom-login__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    margin-bottom: 22px;
    border: 1px solid rgba(147, 197, 253, 0.3);
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.15);
    color: #bfdbfe;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.showroom-login__headline h1 {
    margin: 0;
    max-width: 650px;
    font-size: clamp(40px, 4.2vw, 64px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.showroom-login__headline h1 strong {
    display: block;
    color: #60a5fa;
    font-weight: 800;
}

.showroom-login__headline p {
    max-width: 600px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    line-height: 1.8;
}

.showroom-login__features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 760px;
}

.showroom-login__feature {
    min-width: 0;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
}

.showroom-login__feature-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #ffffff;
    font-size: 14px;
}

.showroom-login__feature-icon--blue {
    background: rgba(59, 130, 246, 0.8);
}

.showroom-login__feature-icon--green {
    background: rgba(16, 185, 129, 0.8);
}

.showroom-login__feature-icon--orange {
    background: rgba(245, 158, 11, 0.85);
}

.showroom-login__feature-icon--purple {
    background: rgba(139, 92, 246, 0.85);
}

.showroom-login__feature strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.showroom-login__feature span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 9px;
    white-space: nowrap;
}

.showroom-login__quote {
    max-width: 500px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 36px;
}

.showroom-login__quote i {
    margin-top: 2px;
    color: #60a5fa;
    font-size: 24px;
}

.showroom-login__quote p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.7;
    font-style: italic;
}

.showroom-login__form {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(59, 130, 246, 0.08),
            transparent 30%
        ),
        #f8fafc;
}

.showroom-login__form-wrapper {
    width: 100%;
    max-width: 440px;
}

.showroom-login__mobile-brand {
    display: none;
}

.showroom-login__form-header {
    margin-bottom: 30px;
}

.showroom-login__welcome-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 15px;
    background: var(--auth-primary-light);
    color: var(--auth-primary);
    font-size: 20px;
}

.showroom-login__form-header h2 {
    margin: 0;
    color: var(--auth-dark);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.showroom-login__form-header p {
    margin: 9px 0 0;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.7;
}

.showroom-login__alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 20px;
    border-radius: 11px;
    font-size: 12px;
}

.showroom-login__alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.showroom-login__alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.showroom-login__field {
    margin-bottom: 19px;
}

.showroom-login__field label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.showroom-login__input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.showroom-login__input-wrapper > i:first-child {
    position: absolute;
    left: 15px;
    z-index: 1;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.showroom-login__input-wrapper input {
    width: 100%;
    height: 50px;
    padding: 0 48px 0 43px;
    border: 1px solid var(--auth-border);
    border-radius: 12px;
    outline: none;
    background: #ffffff;
    color: var(--auth-text);
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.showroom-login__input-wrapper input::placeholder {
    color: #a1aabd;
}

.showroom-login__input-wrapper input:hover {
    border-color: #cbd5e1;
}

.showroom-login__input-wrapper input:focus {
    border-color: var(--auth-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09);
}

.showroom-login__password-toggle {
    position: absolute;
    right: 13px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 8px;
}

.showroom-login__password-toggle:hover {
    background: #f1f5f9;
    color: var(--auth-primary);
}

.showroom-login__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 2px 0 22px;
}

.showroom-login__remember {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 11px;
    cursor: pointer;
}

.showroom-login__remember input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.showroom-login__checkbox {
    width: 17px;
    height: 17px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.showroom-login__remember input:checked + .showroom-login__checkbox {
    border-color: var(--auth-primary);
    background: var(--auth-primary);
    box-shadow: inset 0 0 0 4px #ffffff;
}

.showroom-login__forgot {
    color: var(--auth-primary);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.showroom-login__forgot:hover {
    color: var(--auth-primary-dark);
    text-decoration: underline;
}

.showroom-login__submit {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        #3b82f6 0%,
        #2563eb 100%
    );
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow:
        0 10px 20px rgba(37, 99, 235, 0.18);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.showroom-login__submit:hover {
    transform: translateY(-1px);
    box-shadow:
        0 14px 26px rgba(37, 99, 235, 0.25);
}

.showroom-login__submit:active {
    transform: translateY(0);
}

.showroom-login__divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px 0 18px;
}

.showroom-login__divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.showroom-login__divider span {
    position: relative;
    padding: 0 12px;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
}

.showroom-login__security {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid #dbeafe;
    border-radius: 13px;
    background: #eff6ff;
}

.showroom-login__security-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #dbeafe;
    color: var(--auth-primary);
    font-size: 15px;
}

.showroom-login__security-content strong {
    display: block;
    color: #1e3a8a;
    font-size: 11px;
    font-weight: 700;
}

.showroom-login__security-content span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 9px;
    line-height: 1.6;
}

.showroom-login__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 28px;
    color: #94a3b8;
    font-size: 9px;
}

.showroom-login__footer span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.showroom-login__footer span:last-child i {
    font-size: 4px;
    color: #cbd5e1;
}

@media (max-width: 1200px) {

    .showroom-login {
        grid-template-columns: minmax(0, 1fr) minmax(430px, 0.8fr);
    }

    .showroom-login__visual-content {
        padding: 42px;
    }

    .showroom-login__headline h1 {
        font-size: 46px;
    }

    .showroom-login__features {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 900px) {

    .showroom-login {
        display: block;
    }

    .showroom-login__visual {
        display: none;
    }

    .showroom-login__form {
        min-height: 100vh;
        padding: 32px 20px;
    }

    .showroom-login__form-wrapper {
        max-width: 430px;
    }

    .showroom-login__mobile-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 11px;
        margin-bottom: 42px;
        color: var(--auth-dark);
        text-align: left;
    }

    .showroom-login__mobile-brand-icon {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 13px;
        background: var(--auth-primary-light);
        color: var(--auth-primary);
        font-size: 19px;
    }

}

@media (max-width: 480px) {

    .showroom-login__form {
        padding: 26px 18px;
    }

    .showroom-login__mobile-brand {
        margin-bottom: 35px;
    }

    .showroom-login__form-header h2 {
        font-size: 26px;
    }

    .showroom-login__options {
        align-items: flex-start;
    }

    .showroom-login__footer {
        flex-direction: column;
        justify-content: center;
        margin-top: 24px;
    }

}