body.portal-role-guest .dispatch-auth--admin {
    --admin-red: #ef3340;
    --admin-red-deep: #b80f1c;
    --admin-ink: #07080c;
    --admin-panel: rgba(13, 15, 22, 0.96);
    --admin-line: rgba(255, 255, 255, 0.10);
    --admin-muted: #9299a8;
    background: var(--admin-ink);
}

body.portal-role-guest .dispatch-auth--admin::before,
body.portal-role-guest .dispatch-auth--admin::after {
    position: absolute;
    z-index: 0;
    content: "";
    pointer-events: none;
    border-radius: 999px;
    filter: blur(2px);
}

body.portal-role-guest .dispatch-auth--admin::before {
    top: 18%;
    left: 50%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(239, 51, 64, 0.12), transparent 68%);
    transform: translate(-50%, -50%);
}

body.portal-role-guest .dispatch-auth--admin::after {
    right: -180px;
    bottom: -240px;
    width: 640px;
    height: 640px;
    border: 1px solid rgba(239, 51, 64, 0.10);
    box-shadow:
        0 0 0 80px rgba(239, 51, 64, 0.025),
        0 0 0 160px rgba(239, 51, 64, 0.018);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__backdrop {
    background:
        radial-gradient(900px 620px at 82% 8%, rgba(205, 24, 39, 0.22), transparent 60%),
        radial-gradient(850px 680px at 18% 88%, rgba(44, 50, 66, 0.16), transparent 62%),
        linear-gradient(135deg, #07080c 0%, #0b0d13 52%, #09070a 100%);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__grid {
    opacity: 0.32;
    background-size: 54px 54px;
    -webkit-mask-image: radial-gradient(1000px 760px at 48% 42%, #000, transparent 78%);
    mask-image: radial-gradient(1000px 760px at 48% 42%, #000, transparent 78%);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__radar {
    opacity: 0.55;
    border-color: rgba(239, 51, 64, 0.15);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__language {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(8, 9, 13, 0.48);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.20);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__stage {
    grid-template-columns: minmax(390px, 510px) minmax(400px, 460px) !important;
    gap: clamp(64px, 7vw, 112px) !important;
    width: min(1210px, 100%) !important;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__intro {
    max-width: 510px;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 8px 12px;
    color: #f7b9be;
    border: 1px solid rgba(239, 51, 64, 0.22);
    border-radius: 999px;
    background: rgba(239, 51, 64, 0.08);
    letter-spacing: 2.6px;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__eyebrow::before {
    width: 7px;
    height: 7px;
    content: "";
    border-radius: 50%;
    background: var(--admin-red);
    box-shadow: 0 0 14px rgba(239, 51, 64, 0.86);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__intro h1 {
    max-width: 500px;
    margin-bottom: 18px;
    font-size: clamp(40px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__intro h1 span {
    color: #fff;
    background: linear-gradient(90deg, #ef3340, #ff6b75 62%, #f8b5ba);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__intro > p {
    max-width: 500px;
    color: #a9afbc;
    font-size: 15px;
    line-height: 1.75;
}

body.portal-role-guest .dispatch-auth--admin .admin-auth__signals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

body.portal-role-guest .dispatch-auth--admin .admin-auth__signal {
    position: relative;
    min-height: 82px;
    padding: 15px 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

body.portal-role-guest .dispatch-auth--admin .admin-auth__signal::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 34px;
    height: 34px;
    content: "";
    background: radial-gradient(circle at top right, rgba(239, 51, 64, 0.28), transparent 70%);
}

body.portal-role-guest .dispatch-auth--admin .admin-auth__signal span {
    display: block;
    margin-bottom: 7px;
    color: #737b8d;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

body.portal-role-guest .dispatch-auth--admin .admin-auth__signal strong {
    color: #eef1f6;
    font-size: 12.5px;
    font-weight: 650;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__card {
    position: relative;
    width: min(460px, 100%);
    padding: 38px 38px 34px;
    overflow: hidden;
    color: #f5f7fa;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(24, 27, 37, 0.98), rgba(9, 11, 17, 0.98)),
        var(--admin-panel);
    box-shadow:
        0 34px 100px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(239, 51, 64, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__card::before {
    position: absolute;
    top: 0;
    right: 28px;
    left: 28px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--admin-red), transparent);
    box-shadow: 0 0 20px rgba(239, 51, 64, 0.50);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__card::after {
    position: absolute;
    top: -130px;
    right: -120px;
    width: 270px;
    height: 270px;
    content: "";
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 51, 64, 0.12), transparent 68%);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__card-logo {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__card-logo img {
    width: 96px;
    height: 70px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

body.portal-role-guest .dispatch-auth--admin .admin-auth__heading {
    position: relative;
    z-index: 1;
    margin-bottom: 27px;
    text-align: center;
}

body.portal-role-guest .dispatch-auth--admin .admin-auth__heading span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: #ff8a93;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

body.portal-role-guest .dispatch-auth--admin .admin-auth__heading span::before {
    width: 6px;
    height: 6px;
    content: "";
    border-radius: 50%;
    background: var(--admin-red);
}

body.portal-role-guest .dispatch-auth--admin .admin-auth__heading h2 {
    margin: 0 0 7px;
    color: #fff;
    font-family: "Sora", "Inter", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

body.portal-role-guest .dispatch-auth--admin .admin-auth__heading p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 12.5px;
    line-height: 1.55;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__message {
    position: relative;
    z-index: 1;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__field input,
body.portal-role-guest .dispatch-auth--admin .dispatch-auth__field select,
body.portal-role-guest .dispatch-auth--admin .dispatch-auth__field textarea {
    color: #f6f7fa;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__field input:hover {
    border-color: rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.075);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__field input:focus,
body.portal-role-guest .dispatch-auth--admin .dispatch-auth__field select:focus,
body.portal-role-guest .dispatch-auth--admin .dispatch-auth__field textarea:focus {
    border-color: rgba(239, 51, 64, 0.88);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 0 0 4px rgba(239, 51, 64, 0.10);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__field > label,
body.portal-role-guest .dispatch-auth--admin .dispatch-auth__password-control > label {
    color: #8e95a5;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__field input:focus + label,
body.portal-role-guest .dispatch-auth--admin .dispatch-auth__field input:not(:placeholder-shown) + label,
body.portal-role-guest .dispatch-auth--admin .dispatch-auth__password-control input:focus + label,
body.portal-role-guest .dispatch-auth--admin .dispatch-auth__password-control input:not(:placeholder-shown) + label {
    color: #ff6974;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__password-toggle {
    color: #8f96a6;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__password-toggle:hover,
body.portal-role-guest .dispatch-auth--admin .dispatch-auth__password-toggle:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__form-meta {
    color: #a0a6b3;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__remember span,
body.portal-role-guest .dispatch-auth--admin .dispatch-auth__secure {
    color: #a0a6b3;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__remember input {
    accent-color: var(--admin-red);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__submit {
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, #e52835, #b70f1c);
    box-shadow:
        0 16px 34px rgba(183, 15, 28, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__submit:hover,
body.portal-role-guest .dispatch-auth--admin .dispatch-auth__submit:focus-visible {
    background: linear-gradient(135deg, #f13d49, #c71926);
    box-shadow:
        0 20px 42px rgba(183, 15, 28, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__help,
body.portal-role-guest .dispatch-auth--admin [data-support-open] {
    display: none !important;
}

body.portal-role-guest .dispatch-auth--admin .dispatch-auth__ticker {
    display: none !important;
}

@media (max-width: 960px) {
    body.portal-role-guest .dispatch-auth--admin .dispatch-auth__stage {
        grid-template-columns: 1fr !important;
    }

    body.portal-role-guest .dispatch-auth--admin .dispatch-auth__intro {
        max-width: 620px;
        text-align: center;
    }

    body.portal-role-guest .dispatch-auth--admin .dispatch-auth__eyebrow {
        justify-content: center;
    }

    body.portal-role-guest .dispatch-auth--admin .admin-auth__signals {
        max-width: 560px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 620px) {
    body.portal-role-guest .dispatch-auth--admin .admin-auth__signals {
        grid-template-columns: 1fr;
    }

    body.portal-role-guest .dispatch-auth--admin .dispatch-auth__card {
        padding: 30px 24px 26px;
        border-radius: 20px;
    }
}
