body {
    margin: 0;
    background: #f9f8f5;
    color: #322e22;
}

.login-wrapper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    background: #f9f8f5;
    transform: translateY(100%);
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    to { transform: translateY(0); }
}

.login-wrapper.closing {
    animation: slideDown 0.5s ease forwards;
}

@keyframes slideDown {
    to { transform: translateY(100%); }
}

.login-left,
.login-right {
    width: 50vw;
    height: 100vh;
}

.login-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.login-right {
    position: relative;
    overflow: hidden;
    background: #322e22;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.vibra-orbit {
    position: relative;
    width: min(520px, 72%);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vibra-orbit::before {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 205, 111, 0.3), transparent 70%);
    filter: blur(2rem);
}

.vibra-logo {
    position: relative;
    z-index: 3;
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoPulse 4s ease-in-out infinite;
}

.vibra-logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.orbit-icon {
    position: absolute;
    z-index: 2;
    width: 108px;
    height: 76px;
    border: 2px solid rgba(249, 248, 245, 0.82);
    border-radius: 1rem;
    background: rgba(249, 248, 245, 0.06);
    color: #f9f8f5;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
    animation: floatIcon 6s ease-in-out infinite;
}

.orbit-icon svg {
    width: 42px;
    height: 42px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.orbit-icon.text {
    left: 12%;
    top: 42%;
    animation-delay: -1.1s;
}

.cabinet-aa {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #f9f8f5;
}

.orbit-icon.palette {
    left: 15%;
    top: 15%;
    animation-delay: 0s;
}

.orbit-icon.image {
    left: 24%;
    bottom: 16%;
    animation-delay: -2.2s;
}

.orbit-icon.image img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.orbit-icon.lines {
    right: 22%;
    top: 15%;
    animation-delay: -1.8s;
}

.orbit-icon.contrast {
    right: 12%;
    top: 43%;
    animation-delay: -0.6s;
}

.orbit-icon.chart {
    right: 22%;
    bottom: 16%;
    animation-delay: -2.8s;
}

.orbit-icon.chart img {
    width: 40px;
    height: 40px;
    opacity: 0.92;
}

.orbit-caption {
    position: relative;
    z-index: 10;
    width: 420px;
    max-width: 80%;
    margin: 0;
    text-align: center;
    color: #f9f8f5 !important;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
}


.swatches {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.swatch {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: rgba(249, 248, 245, 0.92);
}

.swatch:nth-child(2) { opacity: .72; }
.swatch:nth-child(3) { opacity: .52; }
.swatch:nth-child(4) { opacity: .32; }

.lines-stack {
    width: 70%;
    display: grid;
    gap: 9px;
}

.lines-stack span {
    height: 8px;
    border-radius: 999px;
    background: rgba(249, 248, 245, 0.85);
}

.lines-stack span:nth-child(1) { width: 55%; }
.lines-stack span:nth-child(2) { width: 92%; opacity: .75; }
.lines-stack span:nth-child(3) { width: 72%; opacity: .9; }

@keyframes floatIcon {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(10px, -12px, 0) rotate(1.5deg); }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.035); }
}

.close-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.6;
}

.login-title {
    font-weight: 800;
    line-height: 1.2;
    max-width: 520px;
    text-align: center;
}

.login-actions {
    margin-top: 48px;
    max-width: 360px;
    width: 100%;
}

.login-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-weight: 500;
}

.btn-google {
    background: #bdbdbd;
    color: #f9f8f5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.google-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.btn-email {
    background: #e0e0e0;
    color: #322e22;
}

.email-login {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
}

.email-login.active {
    max-height: 800px;
    opacity: 1;
    margin-top: 24px;
}

.email-login input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-bottom: 12px;
    background: #fff;
}

.email-login button[type="submit"] {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: #322e22;
    color: #f9f8f5;
    font-weight: 500;
}

.password-field {
    position: relative;
    width: 100%;
}

.password-field input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 46px;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #322e22;
    opacity: 0.55;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.password-toggle:hover {
    opacity: 0.9;
}

.password-toggle .icon-eye-off {
    display: none;
}

.password-toggle.is-visible .icon-eye {
    display: none;
}

.password-toggle.is-visible .icon-eye-off {
    display: block;
}

.login-links {
    margin-top: 12px;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
}

.login-links a {
    color: #322e22;
    text-decoration: underline;
    opacity: 0.8;
}

.login-footer {
    margin-top: 5rem;
    font-size: .75rem;
}

@media (max-width: 992px) {
    .login-right {
        display: none;
    }

    .login-left {
        width: 100vw;
        padding: 40px 24px;
    }
}