body.minimal.login {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    color: #0f172a;
    background:
        radial-gradient(circle at 14% 18%, rgba(20, 184, 166, .16), transparent 28%),
        radial-gradient(circle at 86% 18%, rgba(15, 118, 110, .14), transparent 30%),
        radial-gradient(circle at 50% 88%, rgba(15, 118, 110, .08), transparent 40%),
        linear-gradient(135deg, #f7fbfc, #eef8fb);
}

/* Language Switcher Styles */
.language-switcher-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
}

.language-switcher {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 118, 110, 0.15);
    backdrop-filter: blur(8px);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: #64748b;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.lang-switch:hover:not(.active) {
    background: rgba(20, 184, 166, 0.08);
    color: #0f766e;
    border-color: rgba(20, 184, 166, 0.2);
}

.lang-switch.active {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #fff;
    border-color: #0f766e;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.24);
}

@media (max-width: 768px) {
    .language-switcher-container {
        top: 12px;
        right: 12px;
    }

    .language-switcher {
        padding: 6px 10px;
        gap: 6px;
    }

    .lang-switch {
        min-width: 36px;
        height: 32px;
        padding: 0 10px;
        font-size: 12px;
    }
}

body.minimal.login #user-bar,
body.minimal.login footer {
    display: none;
}

body.minimal.login #content {
    background: none;
    min-height: 88dvh;
}

body.minimal.login #content {
    width: 100%;
   /* min-height: 100vh;*/
    min-height: 90dvh;

    margin: 0;
    padding: 12px;

    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;
}

.custom-login {
    width: min(560px, 94vw);
    max-width: 560px;
    margin: 32px auto 56px;
    border-radius: 24px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    animation: fadeInUp 0.6s ease-out;
}

/* @keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
} */

.custom-login__brand {
    position: relative;
    padding: 56px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(15, 118, 110, .78)),
        linear-gradient(135deg, #10233f, #0f766e);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    isolation: isolate;
}

.custom-login__brand:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, .22), transparent 18%),
        linear-gradient(120deg, transparent 0 58%, rgba(255, 255, 255, .08) 58% 100%);
    z-index: -1;
}

.custom-login__logo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
}

.custom-login__logo-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.custom-login__logo {
    width: 90px;
    height: 100px;
    object-fit: contain;
    border-radius: 16px;
    margin: 0 0 14px 0px;
    display: block;
}

.custom-login__logo-right {
    width: 70px;
    height: 70px;

    object-fit: contain;

    border-radius: 16px;

    background: rgba(255,255,255,.08);
    padding: 0px;
     margin: 0 0 14px 0px;
}
/* 
.custom-login__logo-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.custom-login__logo {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .24));
} */

.custom-login__product {
    display: block;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 800;
}

.custom-login__eyebrow {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.custom-login__brand-copy {
    max-width: 560px;
}

.custom-login__kicker,
.custom-login__section-label {
    margin: 0 0 12px;
    color: #14b8a6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.custom-login__brand-copy .custom-login__kicker {
    color: #99f6e4;
}

.custom-login__brand-copy h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1.04;
    font-weight: 800;
}

.custom-login__brand-copy p {
    max-width: 34rem;
    margin: 0;
    color: rgba(255, 255, 255, .74);
    font-size: 17px;
    line-height: 1.65;
}

.custom-login__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.custom-login__metrics span {
    min-height: 72px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
}

.custom-login__metrics strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 18px;
}

.custom-login__panel {
    width: 100%;
    padding: 0;
    display: grid;
    place-items: center;
    background: transparent;
}

.custom-login__form-card {
    width: 100%;
    padding: 10px 54px 0px;
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid rgba(15, 118, 110, 0.10);
    box-shadow:
        0 32px 64px rgba(15, 23, 42, 0.10);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0px;
}

.custom-login__form-card .custom-login__section-label,
.custom-login__form-card h2,
.custom-login__form-card .custom-login__intro {
    text-align: center;
}

.custom-login__panel h2 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.custom-login__intro {
    font-size: 15px;
    line-height: 0.2;
    color: #64748b;
}

.custom-login__panel form {
    margin: 0;
    width: 100%;
}

.custom-login__panel .field {
    display: block;
    margin-bottom: 16px;
    padding: 0;
    background: transparent;
}

.custom-login__panel .field-meta,
.custom-login__panel .inputs,
.custom-login__panel input[type="email"],
.custom-login__panel input[type="password"],
.custom-login__panel input[type="text"] {
    width: 100%;
}

.inputs {
    line-height: 36px;
    width: 100% !important;
}

.custom-login__panel label,
.custom-login__panel .field-meta label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.custom-login__panel input[type="email"],
.custom-login__panel input[type="password"],
.custom-login__panel input[type="text"] {
    height: 48px;
    padding: 10px 14px;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    box-shadow: none;
}

.custom-login__panel input[type="email"]:hover,
.custom-login__panel input[type="password"]:hover,
.custom-login__panel input[type="text"]:hover {
    border-color: #b8c4d6;
}

.custom-login__panel input:focus {
    outline: 3px solid rgba(20, 184, 166, .18);
    border-color: #14b8a6;
    background: #fff;
}

.custom-login__panel input[type="submit"],
.custom-login__panel button[type="submit"] {
    width: 100%;
    min-height: 50px;
    margin-top: 10px;
    color: #fff;
    background: linear-gradient(135deg, #030B75, #2d3270);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgb(99 91 222 / 26%);
    font-weight: 800;
}

.custom-login__panel input[type="submit"]:hover,
.custom-login__panel button[type="submit"]:hover {
    box-shadow: 0 18px 38px rgba(15, 118, 110, .30);
}

.custom-login__forgot {
    margin: 18px 0 0;
    text-align: center;
}

.custom-login__forgot a {
    color: #0f766e;
    font-weight: 800;
}

body.minimal.login .messages {
    position: fixed;
    z-index: 20;
    top: 18px;
    left: 50%;
    width: min(calc(100% - 36px), 760px);
    margin: 0;
    transform: translateX(-50%);
}

@media (max-width: 860px) {
    body.minimal.login #content {
        padding: 0 10px 10px;
    }

    .custom-login {
        width: 100%;
        height: calc(100vh - 10px);
        height: calc(100dvh - 10px);
        grid-template-columns: 1fr;
        grid-template-rows: 36% 64%;
    }

    .custom-login__brand {
        padding: 24px;
    }

    .custom-login__brand-copy h1 {
        font-size: 32px;
    }

    .custom-login__brand-copy p,
    .custom-login__metrics {
        display: none;
    }

    .custom-login__panel {
        padding: 18px;
    }

    .custom-login__form-card {
        padding: 24px;
        box-shadow: none;
    }
}
