/*
 * Best Lab authentication experience
 * Served directly from the application's parent webroot; no asset build required.
 */

@font-face {
    font-family: "BestLab Kurdish";
    src: url("../../lab/storage/fonts/Kufam/static/Kufam-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "BestLab Kurdish";
    src: url("../../lab/storage/fonts/Kufam/static/Kufam-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "BestLab Kurdish";
    src: url("../../lab/storage/fonts/Kufam/static/Kufam-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700 900;
    font-display: swap;
}

:root {
    --bl-auth-navy-950: #04181e;
    --bl-auth-navy-900: #06242c;
    --bl-auth-navy-800: #0a3540;
    --bl-auth-teal-700: #08727a;
    --bl-auth-teal-600: #0b8d91;
    --bl-auth-teal-500: #17a9a3;
    --bl-auth-mint-400: #4fd5bd;
    --bl-auth-mint-100: #ddf8f1;
    --bl-auth-ink: #102e36;
    --bl-auth-muted: #698087;
    --bl-auth-line: #d9e7e7;
    --bl-auth-paper: #f8fbfa;
    --bl-auth-white: #ffffff;
    --bl-auth-danger: #d94f5c;
    --bl-auth-success: #14856f;
    --bl-auth-radius-xl: 34px;
    --bl-auth-radius-lg: 20px;
    --bl-auth-radius-md: 14px;
    --bl-auth-shadow: 0 38px 95px rgba(1, 25, 31, 0.3);
    --bl-auth-font: "Segoe UI", Tahoma, Arial, sans-serif;
}

html[dir="rtl"] {
    --bl-auth-font: "BestLab Kurdish", Tahoma, Arial, sans-serif;
}

html {
    min-height: 100%;
    background: var(--bl-auth-navy-950);
}

body.bestlab-auth-page {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--bl-auth-ink);
    background:
        radial-gradient(circle at 14% 12%, rgba(46, 189, 174, 0.18), transparent 27rem),
        radial-gradient(circle at 91% 86%, rgba(20, 124, 137, 0.2), transparent 30rem),
        linear-gradient(135deg, #03171d 0%, #072a33 48%, #0a3540 100%);
    font-family: var(--bl-auth-font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.bestlab-auth-page,
.bestlab-auth-page *,
.bestlab-auth-page *::before,
.bestlab-auth-page *::after {
    box-sizing: border-box;
}

.bestlab-auth-page button,
.bestlab-auth-page input,
.bestlab-auth-page select,
.bestlab-auth-page textarea {
    font-family: inherit;
}

.bestlab-auth-ambient {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.bestlab-auth-ambient::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 84%);
    mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.bestlab-auth-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.55;
    animation: bestlab-orbit 18s ease-in-out infinite alternate;
}

.bestlab-auth-orb-one {
    top: -9rem;
    left: -7rem;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgba(99, 227, 204, 0.28);
    box-shadow: inset 0 0 8rem rgba(39, 187, 174, 0.08);
}

.bestlab-auth-orb-two {
    right: -12rem;
    bottom: -12rem;
    width: 35rem;
    height: 35rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    animation-delay: -7s;
}

.bestlab-auth-orb-three {
    top: 48%;
    left: 44%;
    width: 7rem;
    height: 7rem;
    background: rgba(78, 212, 189, 0.08);
    box-shadow: 0 0 5rem rgba(78, 212, 189, 0.18);
    animation-delay: -11s;
}

@keyframes bestlab-orbit {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(1.8rem, -1.2rem, 0) scale(1.06); }
}

.bestlab-auth-page .bestlab-auth-stage {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    padding: clamp(12px, 2vw, 30px);
}

.bestlab-auth-page .container-login100 {
    width: 100%;
    min-height: calc(100vh - clamp(24px, 4vw, 60px));
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: transparent;
}

.bestlab-auth-page .bestlab-auth-shell {
    direction: ltr;
    width: min(100%, 1480px);
    min-height: calc(100vh - clamp(24px, 4vw, 60px));
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
    grid-template-areas: "visual form";
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: var(--bl-auth-radius-xl);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--bl-auth-shadow);
    animation: bestlab-shell-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes bestlab-shell-in {
    from { opacity: 0; transform: translateY(14px) scale(0.992); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Visual laboratory panel */
.bestlab-auth-page .bestlab-auth-visual {
    grid-area: visual;
    position: relative;
    z-index: 1;
    width: auto;
    min-height: 680px;
    padding: clamp(26px, 3.2vw, 52px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    isolation: isolate;
    color: var(--bl-auth-white);
    background: var(--bl-auth-navy-900);
}

.bestlab-auth-page .bestlab-auth-visual::before {
    position: absolute;
    z-index: -3;
    inset: 0;
    content: "";
    background-image: var(--bestlab-auth-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: saturate(0.72) contrast(1.08);
    transform: scale(1.035);
    transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.bestlab-auth-page .bestlab-auth-shell:hover .bestlab-auth-visual::before {
    transform: scale(1.055);
}

.bestlab-auth-page .bestlab-auth-visual::after {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
    background:
        linear-gradient(180deg, rgba(2, 25, 31, 0.35) 0%, rgba(2, 27, 34, 0.44) 42%, rgba(3, 29, 35, 0.93) 100%),
        linear-gradient(115deg, rgba(3, 54, 63, 0.84) 0%, rgba(5, 71, 77, 0.32) 52%, rgba(38, 173, 157, 0.14) 100%);
}

.bestlab-auth-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: linear-gradient(145deg, #000 0%, transparent 67%);
    mask-image: linear-gradient(145deg, #000 0%, transparent 67%);
}

.bestlab-auth-scanline {
    position: absolute;
    z-index: -1;
    top: -15%;
    right: 0;
    left: 0;
    height: 22%;
    opacity: 0.23;
    background: linear-gradient(to bottom, transparent, rgba(104, 242, 215, 0.52), transparent);
    filter: blur(10px);
    animation: bestlab-scan 9s linear infinite;
}

@keyframes bestlab-scan {
    from { transform: translateY(-20vh); }
    to { transform: translateY(120vh); }
}

.bestlab-visual-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.bestlab-system-code,
.bestlab-live-state {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(3, 35, 42, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.bestlab-system-code {
    padding: 0 16px;
}

.bestlab-live-state {
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.86);
}

.bestlab-live-state i {
    width: 7px;
    height: 7px;
    margin-inline-end: 8px;
    border-radius: 50%;
    background: #6af2c9;
    box-shadow: 0 0 0 5px rgba(106, 242, 201, 0.12), 0 0 16px rgba(106, 242, 201, 0.78);
    animation: bestlab-pulse 2s ease-out infinite;
}

@keyframes bestlab-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(106, 242, 201, 0.11), 0 0 13px rgba(106, 242, 201, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(106, 242, 201, 0), 0 0 20px rgba(106, 242, 201, 0.9); }
}

.bestlab-visual-copy {
    max-width: 670px;
    padding: 7vh 0 4vh;
    animation: bestlab-copy-in 0.9s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes bestlab-copy-in {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

.bestlab-visual-symbol {
    width: 66px;
    height: 66px;
    margin-bottom: 26px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 20px;
    color: #83f3d8;
    background: rgba(4, 43, 49, 0.52);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 35px rgba(0, 19, 24, 0.2);
    backdrop-filter: blur(16px);
    font-size: 27px;
}

.bestlab-visual-kicker {
    margin: 0 0 12px;
    color: #8cf4dc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bestlab-visual-copy h1 {
    max-width: 640px;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 4.5vw, 72px);
    font-weight: 650;
    line-height: 0.99;
    letter-spacing: -0.055em;
    text-shadow: 0 12px 42px rgba(0, 19, 24, 0.28);
}

.bestlab-visual-features {
    margin-top: clamp(30px, 4.4vh, 54px);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bestlab-visual-features span {
    min-height: 41px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(3, 33, 40, 0.34);
    backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 600;
}

.bestlab-visual-features i {
    color: #72e8cf;
}

.bestlab-signal-card {
    width: min(100%, 410px);
    padding: 17px 19px 15px;
    align-self: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(2, 31, 37, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 48px rgba(0, 15, 20, 0.18);
    backdrop-filter: blur(18px);
}

.bestlab-signal-head,
.bestlab-signal-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.52);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.bestlab-signal-status {
    color: #74ebd1;
}

.bestlab-waveform {
    height: 44px;
    margin: 9px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
}

.bestlab-waveform i {
    width: 2px;
    height: 13px;
    display: block;
    flex: 1;
    border-radius: 2px;
    background: linear-gradient(to bottom, #7bf0d5, rgba(45, 179, 166, 0.24));
    box-shadow: 0 0 12px rgba(80, 222, 199, 0.28);
}

.bestlab-waveform i:nth-child(2n) { height: 24px; }
.bestlab-waveform i:nth-child(3n) { height: 38px; }
.bestlab-waveform i:nth-child(5n) { height: 18px; }
.bestlab-waveform i:nth-child(7n) { height: 31px; }

/* Form panel */
.bestlab-auth-page .bestlab-auth-panel {
    grid-area: form;
    direction: ltr;
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: clamp(24px, 3vw, 46px) clamp(25px, 4vw, 66px) 28px;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 98% 2%, rgba(76, 211, 189, 0.09), transparent 16rem),
        linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
    background-image:
        radial-gradient(circle at 98% 2%, rgba(76, 211, 189, 0.09), transparent 16rem),
        linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}

html[dir="rtl"] .bestlab-auth-page .bestlab-auth-panel,
html[dir="rtl"] .bestlab-auth-page .bestlab-auth-visual {
    direction: rtl;
}

.bestlab-auth-toolbar {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    padding-bottom: clamp(24px, 4vh, 42px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.bestlab-auth-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bestlab-auth-logo {
    width: 54px;
    height: 54px;
    padding: 7px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #dceaea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(14, 70, 77, 0.1);
}

.bestlab-auth-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.bestlab-auth-brand-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.18;
}

.bestlab-auth-brand-copy strong {
    max-width: 240px;
    overflow: hidden;
    color: var(--bl-auth-ink);
    font-size: 15px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bestlab-auth-brand-copy small {
    margin-top: 4px;
    color: var(--bl-auth-muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bestlab-language-dropdown {
    flex: 0 0 auto;
}

.bestlab-language-button.btn {
    min-width: 76px;
    height: 43px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #d9e7e7;
    border-radius: 13px;
    color: #31545b;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 7px 18px rgba(15, 66, 72, 0.06);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bestlab-language-button.btn:hover,
.bestlab-language-button.btn:focus,
.bestlab-language-dropdown.show .bestlab-language-button {
    border-color: #8fcfc8;
    color: var(--bl-auth-teal-700);
    background: #fff;
    box-shadow: 0 10px 25px rgba(12, 120, 121, 0.12);
    transform: translateY(-1px);
}

.bestlab-language-button::after {
    margin-inline-start: 2px;
}

.bestlab-language-dropdown .dropdown-menu {
    min-width: 190px;
    margin-top: 9px;
    padding: 7px;
    overflow: hidden;
    border: 1px solid #d9e8e7;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 48px rgba(10, 52, 58, 0.16);
}

html[dir="rtl"] .bestlab-language-dropdown .dropdown-menu {
    text-align: right;
}

.bestlab-language-dropdown .dropdown-item {
    min-height: 39px;
    padding: 8px 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-radius: 10px;
    color: #345860;
    font-size: 12px;
    font-weight: 650;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.bestlab-language-dropdown .dropdown-item:hover,
.bestlab-language-dropdown .dropdown-item:focus {
    color: var(--bl-auth-teal-700);
    background: #eaf8f5;
}

html[dir="rtl"] .bestlab-language-dropdown .dropdown-item i {
    transform: rotate(180deg);
}

.bestlab-auth-content {
    width: 100%;
    max-width: 580px;
    margin: auto;
    animation: bestlab-form-in 0.75s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes bestlab-form-in {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}

html[dir="rtl"] .bestlab-auth-content {
    animation-name: bestlab-form-in-rtl;
}

@keyframes bestlab-form-in-rtl {
    from { opacity: 0; transform: translateX(-18px); }
    to { opacity: 1; transform: translateX(0); }
}

.bestlab-form-marker {
    width: 48px;
    height: 7px;
    margin-bottom: 21px;
    display: flex;
    gap: 4px;
}

.bestlab-form-marker span {
    height: 100%;
    display: block;
    border-radius: 999px;
    background: #dcebea;
}

.bestlab-form-marker span:first-child {
    width: 25px;
    background: linear-gradient(90deg, var(--bl-auth-teal-600), var(--bl-auth-mint-400));
}

.bestlab-form-marker span:nth-child(2) { width: 9px; }
.bestlab-form-marker span:nth-child(3) { width: 6px; }

.bestlab-auth-content form {
    width: 100%;
    margin: 0;
}

.bestlab-auth-page .login100-form-title {
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--bl-auth-ink);
    font-family: var(--bl-auth-font);
    line-height: 1.2;
}

.bestlab-auth-page form > .login100-form-title:first-child {
    margin-bottom: 30px;
    padding: 0;
    text-align: start;
    color: #102f37;
    font-size: clamp(26px, 2.2vw, 34px);
    font-weight: 760;
    letter-spacing: -0.035em;
}

.bestlab-auth-page form > .login100-form-title:not(:first-child),
.bestlab-auth-page .bestlab-auth-content > .login100-form-title {
    margin-top: 22px;
    padding: 14px 16px;
    border: 1px solid #dfebea;
    border-radius: 13px;
    text-align: center;
    background: #f5faf9;
    font-size: 13px;
    font-weight: 600;
}

.bestlab-auth-page .login100-form-title a {
    color: var(--bl-auth-teal-700);
    text-decoration: none;
}

.bestlab-auth-page .login100-form-title a:hover {
    color: var(--bl-auth-teal-600);
}

.bestlab-auth-page .login100-form-title h5,
.bestlab-auth-page .login100-form-title .h6 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.bestlab-auth-page .login100-form-title i {
    margin-inline-end: 5px;
}

/* Input fields */
.bestlab-auth-page .wrap-input100 {
    width: 100%;
    height: 64px;
    margin-bottom: 14px;
    display: block;
    position: relative;
    overflow: visible;
    border: 1px solid var(--bl-auth-line);
    border-radius: var(--bl-auth-radius-md);
    background: #f9fcfb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bestlab-auth-page .wrap-input100:hover {
    border-color: #b7d4d2;
    background: #fff;
}

.bestlab-auth-page .wrap-input100:focus-within {
    border-color: #4bb9ae;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(26, 165, 157, 0.11), 0 10px 25px rgba(10, 91, 93, 0.07);
    transform: translateY(-1px);
}

.bestlab-auth-page .input100 {
    position: relative;
    z-index: 2;
    top: 0;
    width: 100%;
    height: 62px !important;
    padding: 23px 18px 5px;
    border: 0;
    border-radius: inherit;
    outline: 0;
    color: #17383f;
    background: transparent;
    font-family: var(--bl-auth-font);
    font-size: 15px;
    font-weight: 580;
    line-height: 1.2;
    box-shadow: none;
}

.bestlab-auth-page select.input100 {
    padding-top: 22px;
    cursor: pointer;
}

.bestlab-auth-page .input100[readonly] {
    cursor: pointer;
}

.bestlab-auth-page .input100::placeholder {
    color: #9aadb1;
    font-weight: 450;
}

.bestlab-auth-page .label-input100 {
    position: absolute;
    z-index: 3;
    top: 9px;
    right: auto;
    left: 0;
    width: 100%;
    padding: 0 18px !important;
    color: #748a8f;
    font-family: var(--bl-auth-font);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0.055em;
    text-align: left;
    text-transform: uppercase;
    pointer-events: none;
    transition: color 0.2s ease;
}

html[dir="rtl"] .bestlab-auth-page .label-input100 {
    right: 0;
    left: auto;
    text-align: right;
}

.bestlab-auth-page .wrap-input100:focus-within .label-input100 {
    color: var(--bl-auth-teal-700);
}

.bestlab-auth-page .focus-input100 {
    position: absolute;
    z-index: 1;
    inset: -1px;
    width: auto;
    height: auto;
    border: 0;
    border-radius: inherit;
    opacity: 0;
    visibility: hidden;
    transform: none;
    pointer-events: none;
}

.bestlab-auth-page .input100:focus + .focus-input100 {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.bestlab-auth-page .error-validation {
    border-color: rgba(217, 79, 92, 0.78);
    color: var(--bl-auth-danger);
    background: #fffafa;
    box-shadow: 0 0 0 3px rgba(217, 79, 92, 0.08);
}

.bestlab-auth-page .error-validation .label-input100 {
    color: var(--bl-auth-danger);
}

.bestlab-auth-page input[type="email"],
.bestlab-auth-page input[name="otp"],
.bestlab-auth-page input[name="code"] {
    direction: ltr;
}

.bestlab-auth-page .toggle-password {
    z-index: 5 !important;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    top: 50% !important;
    margin: 0;
    border-radius: 9px;
    color: #769095 !important;
    background: #edf5f4;
    transform: translateY(-50%) !important;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.bestlab-auth-page .toggle-password:hover {
    color: var(--bl-auth-teal-700) !important;
    background: #ddf4ef;
}

html:not([dir="rtl"]) .bestlab-auth-page .toggle-password {
    right: 14px !important;
    left: auto !important;
}

html[dir="rtl"] .bestlab-auth-page .toggle-password {
    right: auto !important;
    left: 14px !important;
}

/* Registration-specific controls */
.bestlab-auth-page #register_form .validate-input > .row.form-group {
    width: 100%;
    min-height: 68px;
    margin: 0 0 14px;
    padding: 13px 16px;
    align-items: center;
    border: 1px solid var(--bl-auth-line);
    border-radius: var(--bl-auth-radius-md);
    background: #f9fcfb;
}

.bestlab-auth-page #register_form .validate-input > .row.form-group h5 {
    margin: 0;
    color: #607b80;
    font-size: 12px;
    font-weight: 750;
}

.bestlab-auth-page #register_form input[type="radio"] {
    width: 16px;
    height: 16px;
    margin-inline-end: 4px;
    accent-color: var(--bl-auth-teal-600);
    vertical-align: -3px;
}

.bestlab-auth-page #register_form input[type="radio"] + label {
    margin: 0 15px 0 0;
    color: #31545b;
    font-size: 13px;
    font-weight: 600;
}

html[dir="rtl"] .bestlab-auth-page #register_form input[type="radio"] + label {
    margin: 0 0 0 15px;
}

.bestlab-auth-page #register_form .wrap-input100[style*="height"] {
    height: auto !important;
    padding: 8px;
    border: 0;
    background: #eef5f4;
}

.bestlab-auth-page #register_form .wrap-input100[style*="height"] > .row {
    width: calc(100% + 10px);
    margin: -5px;
}

.bestlab-auth-page #register_form .wrap-input100[style*="height"] [class*="col-"] {
    padding: 5px;
}

.bestlab-auth-page #register_form #age,
.bestlab-auth-page #register_form #age_unit {
    width: 100%;
    height: 51px !important;
    padding: 0 14px;
    border: 1px solid #d9e7e7;
    border-radius: 11px;
    color: #294b52;
    outline: 0;
    background: #fff;
    box-shadow: none;
    font-size: 13px;
}

.bestlab-auth-page #register_form #age:focus,
.bestlab-auth-page #register_form #age_unit:focus {
    border-color: #52bcb1;
    box-shadow: 0 0 0 3px rgba(26, 165, 157, 0.1);
}

.bestlab-auth-page .select2-container {
    z-index: 4;
    width: 100% !important;
}

.bestlab-auth-page .wrap-input100 .select2-container .select2-selection--single {
    height: 62px;
    border: 0;
    border-radius: inherit;
    background: transparent;
}

.bestlab-auth-page .wrap-input100 .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 25px 42px 4px 18px;
    color: #17383f;
    font-size: 14px;
    font-weight: 580;
    line-height: 31px;
}

html[dir="rtl"] .bestlab-auth-page .wrap-input100 .select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 18px;
    padding-left: 42px;
}

.bestlab-auth-page .wrap-input100 .select2-container .select2-selection--single .select2-selection__arrow {
    top: 17px;
    right: 14px;
}

html[dir="rtl"] .bestlab-auth-page .wrap-input100 .select2-container .select2-selection--single .select2-selection__arrow {
    right: auto;
    left: 14px;
}

.bestlab-auth-page .select2-dropdown {
    overflow: hidden;
    border: 1px solid #cfe2e0;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(12, 61, 67, 0.15);
}

/* Remember-me row and links */
.bestlab-auth-page .flex-sb-m {
    gap: 14px;
}

.bestlab-auth-page .label-checkbox100 {
    min-height: 22px;
    margin: 0;
    padding: 2px 0 0 30px;
    color: #6c8287;
    font-family: var(--bl-auth-font);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}

html[dir="rtl"] .bestlab-auth-page .label-checkbox100 {
    padding: 2px 30px 0 0;
}

.bestlab-auth-page .label-checkbox100::before {
    top: 0;
    right: auto;
    left: 0;
    width: 22px;
    height: 22px;
    border: 1px solid #c8dedd;
    border-radius: 7px;
    color: transparent;
    background: #f8fbfa;
    font-family: "Font Awesome 5 Free";
    font-size: 10px;
    font-weight: 900;
    transform: none;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

html[dir="rtl"] .bestlab-auth-page .label-checkbox100::before {
    right: 0;
    left: auto;
}

.bestlab-auth-page .input-checkbox100:checked + .label-checkbox100::before {
    border-color: var(--bl-auth-teal-600);
    color: #fff;
    background: var(--bl-auth-teal-600);
    box-shadow: 0 5px 12px rgba(11, 141, 145, 0.2);
}

.bestlab-auth-page .txt1,
.bestlab-auth-page a.txt1 {
    color: var(--bl-auth-teal-700);
    font-family: var(--bl-auth-font);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.18s ease;
}

.bestlab-auth-page .txt1:hover,
.bestlab-auth-page a.txt1:hover {
    color: var(--bl-auth-teal-500);
    text-decoration: none;
}

/* Primary action */
.bestlab-auth-page .container-login100-form-btn {
    width: 100%;
    display: flex;
    justify-content: stretch;
}

.bestlab-auth-page .login100-form-btn {
    position: relative;
    width: 100%;
    height: 56px;
    padding: 0 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(115deg, #076f78 0%, #0c9594 58%, #24b5a6 100%);
    box-shadow: 0 14px 30px rgba(8, 126, 127, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    font-family: var(--bl-auth-font);
    font-size: 12px;
    font-weight: 780;
    letter-spacing: 0.075em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.bestlab-auth-page .login100-form-btn::before {
    position: absolute;
    top: -70%;
    left: -18%;
    width: 42%;
    height: 230%;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: rotate(18deg) translateX(-220%);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.bestlab-auth-page .login100-form-btn:hover,
.bestlab-auth-page .login100-form-btn:focus {
    color: #fff;
    background: linear-gradient(115deg, #076f78 0%, #0c9594 58%, #24b5a6 100%);
    box-shadow: 0 18px 36px rgba(8, 126, 127, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    filter: saturate(1.08);
    transform: translateY(-2px);
    outline: 0;
}

.bestlab-auth-page .login100-form-btn:hover::before {
    transform: rotate(18deg) translateX(420%);
}

.bestlab-auth-page .login100-form-btn:active {
    box-shadow: 0 8px 18px rgba(8, 126, 127, 0.22);
    transform: translateY(0);
}

/* Validation and status messages */
.bestlab-auth-page .callout {
    margin: 0 0 19px;
    padding: 14px 16px;
    border: 1px solid #ead7d9;
    border-inline-start: 4px solid var(--bl-auth-danger);
    border-radius: 13px;
    color: #70484d;
    background: #fff8f8;
    box-shadow: none;
    font-size: 12px;
}

.bestlab-auth-page .callout h5 {
    margin: 0 0 7px;
    font-size: 13px;
    font-weight: 750;
}

.bestlab-auth-page .callout p,
.bestlab-auth-page .callout ul {
    margin: 0;
}

.bestlab-auth-page .callout ul {
    padding-inline-start: 18px;
}

.bestlab-auth-page .callout-success {
    border-color: #cce7df;
    border-inline-start-color: var(--bl-auth-success);
    color: #285e52;
    background: #f3fbf8;
}

/* Footer and social links */
.bestlab-auth-page .bestlab-auth-footer {
    width: 100%;
    max-width: 580px;
    margin: clamp(30px, 5vh, 55px) auto 0;
    padding: 18px 0 0;
    border: 0;
    border-top: 1px solid #e4eeed;
    color: #8a9b9f;
    background: transparent;
    font-size: 10px;
    line-height: 1.5;
}

.bestlab-auth-footer .row {
    margin: 0 !important;
    padding-top: 0 !important;
}

.bestlab-auth-footer [class*="col-"] {
    padding: 0;
}

.bestlab-auth-footer .social {
    margin: 0 0 11px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    text-align: center !important;
}

.bestlab-auth-footer .social li {
    display: block !important;
}

.bestlab-auth-footer .social a {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #dce9e8;
    border-radius: 9px;
    background: #fff;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.bestlab-auth-footer .social a:hover {
    border-color: #9ed1cc;
    box-shadow: 0 8px 18px rgba(11, 112, 116, 0.11);
    transform: translateY(-2px);
}

.bestlab-auth-footer .social img {
    width: 21px !important;
    height: 21px;
    display: block;
    object-fit: contain;
}

.bestlab-auth-footer > strong {
    display: block;
    font-weight: 600;
}

.bestlab-auth-footer > strong a {
    color: #789096;
    text-decoration: none;
    transition: color 0.18s ease;
}

.bestlab-auth-footer > strong a:hover {
    color: var(--bl-auth-teal-700);
}

/* jQuery UI datepicker follows the same visual language. */
.bestlab-auth-page .ui-datepicker {
    padding: 10px;
    border: 1px solid #ccdfdd !important;
    border-radius: 15px;
    box-shadow: 0 22px 50px rgba(9, 57, 63, 0.18);
    font-family: var(--bl-auth-font);
}

.bestlab-auth-page .ui-datepicker .ui-datepicker-header {
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--bl-auth-teal-700);
}

/* Responsive layout */
@media (max-width: 1120px) {
    .bestlab-auth-page .bestlab-auth-shell {
        grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    }

    .bestlab-auth-page .bestlab-auth-visual {
        padding: 32px;
    }

    .bestlab-visual-copy h1 {
        font-size: clamp(38px, 5vw, 58px);
    }

    .bestlab-signal-card {
        width: min(100%, 340px);
    }
}

@media (max-width: 860px) {
    .bestlab-auth-page .bestlab-auth-stage {
        padding: 12px;
    }

    .bestlab-auth-page .container-login100,
    .bestlab-auth-page .bestlab-auth-shell {
        min-height: calc(100vh - 24px);
    }

    .bestlab-auth-page .bestlab-auth-shell {
        width: min(100%, 720px);
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "visual"
            "form";
        border-radius: 26px;
    }

    .bestlab-auth-page .bestlab-auth-visual {
        width: 100%;
        min-height: 260px;
        padding: 24px 26px;
    }

    .bestlab-auth-page .bestlab-auth-visual::after {
        background:
            linear-gradient(90deg, rgba(3, 36, 43, 0.92), rgba(4, 45, 51, 0.42)),
            linear-gradient(180deg, rgba(2, 28, 34, 0.2), rgba(2, 28, 34, 0.76));
    }

    .bestlab-visual-copy {
        max-width: 560px;
        padding: 34px 0 0;
    }

    .bestlab-visual-symbol {
        display: none;
    }

    .bestlab-visual-copy h1 {
        font-size: clamp(34px, 8vw, 52px);
    }

    .bestlab-visual-features {
        margin-top: 22px;
    }

    .bestlab-signal-card {
        display: none;
    }

    .bestlab-auth-page .bestlab-auth-panel {
        padding: 28px clamp(22px, 8vw, 62px) 25px;
    }
}

@media (max-width: 575px) {
    .bestlab-auth-page .bestlab-auth-stage {
        padding: 0;
    }

    .bestlab-auth-page .container-login100,
    .bestlab-auth-page .bestlab-auth-shell {
        min-height: 100vh;
    }

    .bestlab-auth-page .bestlab-auth-shell {
        border: 0;
        border-radius: 0;
    }

    .bestlab-auth-page .bestlab-auth-visual {
        min-height: 208px;
        padding: 20px;
    }

    .bestlab-system-code,
    .bestlab-live-state {
        min-height: 31px;
        padding-inline: 11px;
        font-size: 9px;
    }

    .bestlab-visual-copy {
        padding-top: 28px;
    }

    .bestlab-visual-kicker {
        margin-bottom: 7px;
        font-size: 10px;
    }

    .bestlab-visual-copy h1 {
        font-size: clamp(30px, 10vw, 42px);
    }

    .bestlab-visual-features {
        margin-top: 15px;
        gap: 6px;
    }

    .bestlab-visual-features span {
        min-height: 32px;
        padding: 0 10px;
        border-radius: 9px;
        font-size: 10px;
    }

    .bestlab-auth-page .bestlab-auth-panel {
        padding: 22px 18px 24px;
    }

    .bestlab-auth-toolbar {
        padding-bottom: 30px;
    }

    .bestlab-auth-logo {
        width: 47px;
        height: 47px;
        border-radius: 14px;
    }

    .bestlab-auth-brand-copy strong {
        max-width: 145px;
        font-size: 13px;
    }

    .bestlab-auth-brand-copy small {
        font-size: 8px;
    }

    .bestlab-language-button.btn {
        min-width: 62px;
        height: 39px;
        padding: 0 10px;
        border-radius: 11px;
    }

    .bestlab-auth-page form > .login100-form-title:first-child {
        margin-bottom: 24px;
        font-size: 25px;
    }

    .bestlab-auth-page .wrap-input100 {
        height: 61px;
        margin-bottom: 12px;
    }

    .bestlab-auth-page .input100 {
        height: 59px !important;
    }

    .bestlab-auth-page .flex-sb-m {
        padding-bottom: 24px;
        flex-wrap: wrap;
    }

    .bestlab-auth-page #register_form .validate-input > .row.form-group h5 {
        margin-bottom: 10px;
    }

    .bestlab-auth-page #register_form .validate-input > .row.form-group [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .bestlab-auth-page #register_form .wrap-input100[style*="height"] [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .bestlab-auth-page .bestlab-auth-footer {
        margin-top: 34px;
    }
}

@media (max-width: 380px) {
    .bestlab-auth-brand-copy {
        display: none;
    }

    .bestlab-auth-page .bestlab-auth-panel {
        padding-inline: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bestlab-auth-page *,
    .bestlab-auth-page *::before,
    .bestlab-auth-page *::after {
        scroll-behavior: auto !important;
        animation-delay: 0ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: more) {
    .bestlab-auth-page .wrap-input100,
    .bestlab-language-button.btn {
        border-color: #728f93;
    }

    .bestlab-auth-page .login100-form-btn {
        background: #006b70;
    }
}

/*
 * Best Lab Auth / second-generation clinical gateway
 * The desktop composition deliberately separates the diagnostic image and the
 * secure form into two interlocking instruments instead of one generic card.
 */
.bestlab-auth-coordinate {
    position: absolute;
    color: rgba(164, 232, 221, 0.36);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.22em;
    writing-mode: vertical-rl;
}

.bestlab-auth-coordinate-one { top: 11%; left: 2.2%; }
.bestlab-auth-coordinate-two { right: 2.2%; bottom: 11%; transform: rotate(180deg); }

.bestlab-auth-page .bestlab-auth-shell {
    width: min(100%, 1500px);
    min-height: min(900px, calc(100vh - clamp(24px, 4vw, 60px)));
    grid-template-columns: minmax(0, 1.16fr) minmax(430px, 0.84fr);
    gap: clamp(12px, 1.35vw, 22px);
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.bestlab-auth-page .bestlab-auth-visual {
    min-height: 720px;
    border: 1px solid rgba(181, 238, 229, 0.2);
    border-radius: 52px 14px 52px 52px;
    box-shadow: 0 42px 100px rgba(0, 12, 18, 0.42);
}

html[dir="rtl"] .bestlab-auth-page .bestlab-auth-visual {
    border-radius: 14px 52px 52px 52px;
}

.bestlab-auth-page .bestlab-auth-visual::after {
    background:
        radial-gradient(circle at 76% 38%, rgba(72, 239, 206, 0.15), transparent 18%),
        linear-gradient(180deg, rgba(1, 17, 24, 0.3), rgba(2, 24, 31, 0.57) 48%, rgba(2, 23, 29, 0.96)),
        linear-gradient(118deg, rgba(2, 54, 64, 0.92), rgba(5, 72, 79, 0.3) 58%, rgba(88, 225, 199, 0.11));
}

.bestlab-auth-crosshair {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: clamp(36px, 6vw, 100px);
    width: 210px;
    height: 210px;
    opacity: 0.34;
    border: 1px solid rgba(127, 238, 217, 0.34);
    border-radius: 50%;
    transform: translateY(-50%);
}

html[dir="rtl"] .bestlab-auth-crosshair { right: auto; left: clamp(36px, 6vw, 100px); }

.bestlab-auth-crosshair::before,
.bestlab-auth-crosshair::after {
    position: absolute;
    content: "";
    background: rgba(136, 232, 218, 0.27);
}

.bestlab-auth-crosshair::before { top: 50%; right: -36px; left: -36px; height: 1px; }
.bestlab-auth-crosshair::after { top: -36px; bottom: -36px; left: 50%; width: 1px; }

.bestlab-auth-crosshair i {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #65e6cd;
    box-shadow: 0 0 15px rgba(101, 230, 205, 0.8);
}

.bestlab-auth-crosshair i:first-child { top: 15%; left: 18%; }
.bestlab-auth-crosshair i:nth-child(2) { top: 34%; right: 3%; }
.bestlab-auth-crosshair i:nth-child(3) { right: 25%; bottom: 5%; }

.bestlab-lab-emblem {
    position: relative;
    width: 116px;
    height: 116px;
    margin-bottom: 30px;
    display: grid;
    place-items: center;
}

.bestlab-lab-emblem .bestlab-visual-symbol { margin: 0; display: grid; }

.bestlab-emblem-ring {
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(122, 239, 218, 0.4);
    border-radius: 50%;
    animation: bestlab-emblem-spin 18s linear infinite;
}

.bestlab-emblem-ring::before {
    position: absolute;
    inset: 14px;
    content: "";
    border: 1px solid rgba(165, 220, 235, 0.2);
    border-radius: inherit;
}

.bestlab-emblem-node {
    position: absolute;
    z-index: 3;
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    color: #89f3df;
    font-size: 10px;
    border: 1px solid rgba(137, 243, 223, 0.28);
    border-radius: 10px 10px 10px 3px;
    background: rgba(3, 27, 34, 0.88);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.bestlab-emblem-node-a { top: -4px; right: 11px; }
.bestlab-emblem-node-b { bottom: 5px; left: 2px; }

@keyframes bestlab-emblem-spin { to { transform: rotate(360deg); } }

.bestlab-auth-page .bestlab-auth-panel {
    position: relative;
    min-height: calc(100% - 58px);
    margin-block: 29px;
    overflow: visible;
    border: 1px solid rgba(225, 242, 239, 0.96);
    border-radius: 14px 52px 52px 52px;
    background:
        radial-gradient(circle at 98% 2%, rgba(84, 211, 188, 0.09), transparent 24%),
        linear-gradient(145deg, #ffffff, #f5fbf9);
    box-shadow: 0 34px 88px rgba(0, 14, 19, 0.35);
}

html[dir="rtl"] .bestlab-auth-page .bestlab-auth-panel {
    border-radius: 52px 14px 52px 52px;
}

.bestlab-auth-page .bestlab-auth-panel::before {
    position: absolute;
    top: 82px;
    right: 100%;
    width: clamp(13px, 1.4vw, 23px);
    height: 4px;
    content: "";
    background: linear-gradient(90deg, #47c9b3, #6ce8d1);
    box-shadow: 0 0 16px rgba(72, 222, 196, 0.65);
}

html[dir="rtl"] .bestlab-auth-page .bestlab-auth-panel::before { right: auto; left: 100%; }

.bestlab-panel-number {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: -24px;
    color: rgba(19, 83, 85, 0.26);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.25em;
    writing-mode: vertical-rl;
    transform: translateY(-50%);
}

html[dir="rtl"] .bestlab-panel-number { right: auto; left: -24px; transform: translateY(-50%) rotate(180deg); }

.bestlab-auth-toolbar {
    padding: clamp(24px, 3vw, 42px) clamp(24px, 4vw, 58px) 20px;
}

.bestlab-auth-trustline {
    width: calc(100% - clamp(48px, 8vw, 116px));
    height: 34px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 34px repeat(4, 1fr);
    align-items: center;
    gap: 7px;
}

.bestlab-auth-trustline > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--bl-auth-teal-600);
    font-size: 11px;
    border: 1px solid rgba(11, 141, 145, 0.2);
    border-radius: 10px 10px 10px 3px;
    background: rgba(23, 169, 163, 0.08);
}

.bestlab-auth-trustline > i {
    height: 3px;
    border-radius: 10px;
    background: #dcecea;
}

.bestlab-auth-trustline > i:first-of-type { background: linear-gradient(90deg, #43cbb4, #78dfce); }

.bestlab-auth-content { padding-top: clamp(22px, 3vw, 42px); }

.bestlab-auth-page .wrap-input100 {
    border-radius: 17px 17px 17px 5px;
}

html[dir="rtl"] .bestlab-auth-page .wrap-input100 { border-radius: 17px 17px 5px 17px; }

.bestlab-auth-page .login100-form-btn {
    border-radius: 16px 16px 16px 5px;
    background: linear-gradient(115deg, #073b43, #0b7d80 58%, #19a99f);
}

html[dir="rtl"] .bestlab-auth-page .login100-form-btn { border-radius: 16px 16px 5px 16px; }

@media (max-width: 1120px) {
    .bestlab-auth-page .bestlab-auth-shell {
        grid-template-columns: minmax(0, 1fr) minmax(400px, 0.92fr);
    }
}

@media (max-width: 860px) {
    .bestlab-auth-page .bestlab-auth-shell {
        width: min(100%, 680px);
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bestlab-auth-page .bestlab-auth-visual {
        min-height: 390px;
        border-radius: 34px 34px 9px 34px;
    }

    html[dir="rtl"] .bestlab-auth-page .bestlab-auth-visual { border-radius: 34px 34px 34px 9px; }

    .bestlab-auth-page .bestlab-auth-panel,
    html[dir="rtl"] .bestlab-auth-page .bestlab-auth-panel {
        min-height: 0;
        margin: 0;
        border-radius: 9px 34px 34px 34px;
    }

    html[dir="rtl"] .bestlab-auth-page .bestlab-auth-panel { border-radius: 34px 9px 34px 34px; }

    .bestlab-auth-page .bestlab-auth-panel::before,
    .bestlab-panel-number,
    .bestlab-auth-coordinate { display: none; }
}

@media (max-width: 575px) {
    .bestlab-auth-page .bestlab-auth-stage { padding: 8px; }
    .bestlab-auth-page .bestlab-auth-visual { min-height: 305px; padding: 23px; border-radius: 26px 26px 7px 26px; }
    html[dir="rtl"] .bestlab-auth-page .bestlab-auth-visual { border-radius: 26px 26px 26px 7px; }
    .bestlab-auth-page .bestlab-auth-panel,
    html[dir="rtl"] .bestlab-auth-page .bestlab-auth-panel { border-radius: 7px 26px 26px 26px; }
    html[dir="rtl"] .bestlab-auth-page .bestlab-auth-panel { border-radius: 26px 7px 26px 26px; }
    .bestlab-lab-emblem { width: 88px; height: 88px; margin-bottom: 18px; }
    .bestlab-auth-crosshair { width: 150px; height: 150px; }
    .bestlab-auth-trustline { width: calc(100% - 40px); }
}

@media (prefers-reduced-motion: reduce) {
    .bestlab-emblem-ring { animation: none; }
}
