html {
    box-sizing: border-box;
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
}
:root {
    --primary-color:#07354f;
    --primary-color-10:#041D2B;
    --secondary-color:#a51780;
    --secondary-color-10:#6D0853;
    --tertiary-color:#313334;
    --primary-color-bg:#07354f;
    --secondary-color-bg:#a51780;
    --tertiary-color-bg:#313334;
    --primary-color-text:#313334;
    --secondary-color-text:#a51780;
    --tertiary-color-text:#313334;
    --primary-color-tint:#e6ebed;
    --primary-color-link:#07354f;
    --secondary-color-link:#a51780;
    --tertiary-color-link:#313334;
    --text-grey:#212121;
    --text-grey-mid:#909090;
    --text-grey-light:#bcbcbc;
    --red-status:#e50046;
    --green-status:#79c143;
    --amber-status:#D8A927;
    --info-status:#00a1d4;
    --red-status-rgb:229, 0, 70;
    --green-status-rgb:121, 193, 67;
    --amber-status-rgb:216, 169, 39;
    --info-status-rgb:0, 161, 212;
    --grey-status:#D9D9D9;
    --white-background:#FFF;
    --white-text:#fff;
    --tint-background:#edf2f3;
    --light-grey:#d8d8d8;
    --input-bg:#f7f8f9;
    --input-border:#f4f4f4;
    --primary-btn-text:#FFF;
    --secondary-btn-text:#FFF;
    --tertiary-btn-text:#FFF;
    --mid-grey:#5C5C5C;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

[x-cloak] {
    display: none !important;
}

body.guest-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.4), transparent 34%),
        linear-gradient(160deg, var(--tint-background, #edf5f7) 0%, #f8fbfc 52%, #ffffff 100%);
    color: #17324d;
    font-family: "DM Sans", sans-serif;
    font-size: 1.5rem;
    line-height: 1.5;
}

body.guest-body img {
    display: block;
    max-width: 100%;
    height: auto;
}

body.guest-body h1,
body.guest-body h2,
body.guest-body h3,
body.guest-body h4,
body.guest-body h5,
body.guest-body h6 {
    margin: 0 0 1rem;
    color: var(--primary-color, #07354f);
    font-weight: 600;
    line-height: 1.1;
}

body.guest-body h1 {
    font-size: 3.8rem;
}

body.guest-body h2 {
    font-size: 2.2rem;
}

body.guest-body h3,
body.guest-body h4,
body.guest-body h5,
body.guest-body h6 {
    font-size: 1.6rem;
}

body.guest-body p {
    margin: 0 0 1.6rem;
    color: #4f677b;
    font-size: 1.5rem;
    line-height: 1.6;
}

body.guest-body a {
    color: var(--secondary-color-link, var(--primary-color, #07354f));
    text-decoration: none;
}

body.guest-body a:hover {
    text-decoration: underline;
}

body.guest-body strong {
    font-weight: 700;
}

body.guest-body input,
body.guest-body textarea,
body.guest-body select,
body.guest-body button {
    font: inherit;
}

body.guest-body input:not([type="checkbox"]):not([type="radio"]),
body.guest-body textarea,
body.guest-body select {
     font-weight: normal;
    line-height: 120%;
    padding: 0.7rem;
    display: inline-block;
    width: 100%;
    font-family: $sans-font;
    appearance: none;
    border: none;
    border: 1px solid $grey-border;
    @include font-size(1.5);
    border-radius:9px;
    color: var(--text-grey);
    background: none;
    background-color: var(--input-bg);
    border: 1px solid  var(--input-border) ;
    color: $text-grey;
}

/*body.guest-body input:not([type="checkbox"]):not([type="radio"]):focus,
body.guest-body textarea:focus,
body.guest-body select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 0.3rem rgba(99, 102, 241, 0.16);
}*/

.alert {
    margin-bottom: 1.6rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 1.2rem;
    font-size: 1.4rem;
    line-height: 1.6;
}

.alert-success {
    border-color: #a7d9b7;
    background: #eaf8ef;
    color: #18794a;
}

.alert-danger {
    border-color: #e0a7ae;
    background: #fae8ea;
    color: #b42318;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
    padding: 1rem 2rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    border-color: var(--primary-color, #07354f);
    background: var(--primary-color, #07354f);
    color: var(--primary-color-text, #fff);
}

.btn-primary:hover {
    border-color: var(--primary-color-10, #05263a);
    background: var(--primary-color-10, #05263a);
    color: var(--primary-color-text, #fff);
}

.btn-secondary {
    border-color: var(--secondary-color, #a51780);
    background: var(--secondary-color, #a51780);
    color: var(--secondary-color-text, #fff);
}

.btn-secondary:hover {
    border-color: var(--secondary-color-10, #6d0853);
    background: var(--secondary-color-10, #6d0853);
    color: var(--secondary-color-text, #fff);
}

.btn-primary-outline,
.btn-outline-primary {
    border-color: var(--primary-color, #07354f);
    background: transparent;
    color: var(--primary-color, #07354f);
}

.btn-primary-outline:hover,
.btn-outline-primary:hover {
    background: var(--primary-color, #07354f);
    color: var(--primary-color-text, #fff);
}

.btn-outline-secondary {
    border-color: var(--secondary-color, #a51780);
    background: transparent;
    color: var(--secondary-color, #a51780);
}

.btn-outline-secondary:hover {
    background: var(--secondary-color, #a51780);
    color: var(--secondary-color-text, #fff);
}

.compact-btn {
    padding: 0.65rem 1rem;
    font-size: 1.25rem;
}

.btn-text {
    border: 0;
    background: none;
    color: var(--secondary-color-link, var(--primary-color, #07354f));
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0;
}

.btn-text:hover {
    text-decoration: underline;
}

.shadow-box {
    box-shadow: 0 1.8rem 4.8rem rgba(15, 23, 42, 0.12);
}

.title-button-wrap {
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.remember-password {
    gap: 1rem;
    flex-wrap: wrap;
}

.error-list {
    margin: 0;
    padding-left: 1.8rem;
    color: #b42318;
    font-size: 1.4rem;
}

.error-list li + li {
    margin-top: 0.5rem;
}
/*
.login-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2.4rem;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(160deg, var(--primary-color, #07354f) 0%, #0d4868 100%);
}

.login-panel {
    display: grid;
    gap: 2rem;
    width: min(100%, 88rem);
    padding: 2rem;
    border-radius: 2.4rem;
    background: #fff;
}

.login-panel > div {
    border-radius: 2rem;
}

.login-panel > div:first-child {
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
}

.login-panel > div:first-child > div {
    margin: auto 0;
}

.login-panel > div:last-child {
    padding: 3rem;
    background: var(--secondary-color, #a51780);
}

.login-panel > div:last-child h1,
.login-panel > div:last-child p,
.login-panel > div:last-child a {
    color: #fff;
    text-align: left;
}

.login-panel > div:last-child p,
.login-panel > div:last-child a {
    margin-bottom: 0;
    font-weight: 400;
}

.login-panel h1 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.login-panel img,
.logo-login {
    width: min(18rem, 90%);
    max-height: 5.6rem;
    margin: 0 auto 3rem;
}

.login-panel label {
    display: block;
    margin-bottom: 0.6rem;
    color: #17324d;
    font-size: 1.4rem;
    font-weight: 600;
}

.login-panel .remember-password label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0;
    width: auto;
}

.login-panel .btn {
    width: 100%;
    margin-top: 1.5rem;
}
*/
.prose {
    color: #17324d;
    font-size: 1.5rem;
    line-height: 1.7;
}

.prose h1,
.prose h2,
.prose h3 {
    margin-top: 0;
}

.prose p:last-child {
    margin-bottom: 0;
}

.prose ul,
.prose ol {
    margin: 0 0 1.6rem 1.8rem;
    padding: 0;
}

.prose li + li {
    margin-top: 0.4rem;
}

.block {
    display: block;
}

.inline {
    display: inline;
}

.flex,
.d-flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center,
.align-center {
    align-items: center;
}

.justify-between,
.justify-space-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.w-full {
    width: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

.overflow-hidden {
    overflow: hidden;
}

.rounded {
    border-radius: 0.4rem;
}

.rounded-md {
    border-radius: 0.6rem;
}

.shadow-sm {
    box-shadow: 0 0.1rem 0.2rem rgba(15, 23, 42, 0.06);
}

.shadow-md {
    box-shadow: 0 0.5rem 1.8rem rgba(15, 23, 42, 0.12);
}

.border-gray-300 {
    border-color: #d1d5db;
}

.text-indigo-600 {
    color: #4f46e5;
    accent-color: #4f46e5;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-white {
    background-color: #fff;
}

.text-sm {
    font-size: 1.4rem;
}

.font-medium {
    font-weight: 500;
}

.text-gray-600 {
    color: #4b5563;
}

.text-green-600 {
    color: #16a34a;
}

.underline {
    text-decoration: underline;
}

.hover\:text-gray-900:hover {
    color: #111827;
}

.focus\:outline-none:focus {
    outline: none;
}

.focus\:border-indigo-500:focus {
    border-color: #6366f1;
}

.focus\:ring-indigo-500:focus {
    box-shadow: 0 0 0 0.3rem rgba(99, 102, 241, 0.16);
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.14);
}

.focus\:ring-offset-2:focus {
    outline-offset: 0.2rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 0.8rem;
}

.mb-3 {
    margin-bottom: 1.2rem;
}

.mb-4 {
    margin-bottom: 1.6rem;
}

.mt-1 {
    margin-top: 0.4rem;
}

.mt-2 {
    margin-top: 0.8rem;
}

.mt-4 {
    margin-top: 1.6rem;
}

.mt-6 {
    margin-top: 2.4rem;
}

.ml-2 {
    margin-left: 0.8rem;
}

.ml-4 {
    margin-left: 1.6rem;
}

.p-6 {
    padding: 2.4rem;
}

.pt-4 {
    padding-top: 1.6rem;
}

.pt-6 {
    padding-top: 2.4rem;
}

.ticket-feedback-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.55), transparent 36%),
        linear-gradient(160deg, var(--tint-background, #eef4f7) 0%, #f8fbfc 52%, #ffffff 100%);
}

.ticket-feedback-card {
    width: min(100%, 76rem);
    background: #fff;
    border-radius: 2.4rem;
    padding: 2rem;
    box-shadow: 0 2.4rem 8rem rgba(7, 53, 79, 0.12);
}

.ticket-feedback-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ticket-feedback-brand img {
    max-width: 18rem;
    max-height: 5.6rem;
}

.ticket-feedback-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.2rem;
    border-radius: 999px;
    background: rgba(7, 53, 79, 0.08);
    color: var(--primary-color, #07354f);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ticket-feedback-card h1 {
    margin: 1rem 0 0.75rem;
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.05;
    color: var(--primary-color, #07354f);
}

.ticket-feedback-card p {
    color: #38586b;
    line-height: 1.65;
}

.ticket-feedback-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.75rem 0;
}

.ticket-feedback-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ticket-feedback-option label {
    display: block;
    height: 100%;
    padding: 1.25rem;
    border: 2px solid #d9e5eb;
    border-radius: 1.8rem;
    cursor: pointer;
    transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.ticket-feedback-option label strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.ticket-feedback-option--good input:checked + label {
    border-color: #1f9d62;
    box-shadow: 0 0 0 0.4rem rgba(31, 157, 98, 0.12);
    transform: translateY(-0.1rem);
}

.ticket-feedback-option--bad input:checked + label {
    border-color: #d84e4e;
    box-shadow: 0 0 0 0.4rem rgba(216, 78, 78, 0.12);
    transform: translateY(-0.1rem);
}

.ticket-feedback-comment {
    margin-top: 1.5rem;
}

.ticket-feedback-comment textarea {
    min-height: 15rem;
    padding: 1rem 1.1rem;
    border: 1px solid #ccdbe3;
    border-radius: 1.6rem;
    resize: vertical;
    color: #173447;
    background: #fbfdfe;
}

.ticket-feedback-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.ticket-feedback-actions .btn {

}

.ticket-feedback-meta {
    font-size: 0.95rem;
    color: #5c7686;
}

.device-tag-sheet-page {
    display: grid;
    grid-template-columns: minmax(28rem, 36rem) minmax(0, 1fr);
    gap: 1.25rem;
}

.device-tag-sheet-panel,
.device-tag-sheet-preview {
    background: #fff;
    border: 1px solid #d7e1e8;
    border-radius: 2.4rem;
    padding: 1.25rem;
    box-shadow: 0 1.8rem 4.8rem rgba(15, 23, 42, 0.06);
}

.device-tag-sheet-panel h2,
.device-tag-sheet-preview h2 {
    margin: 0 0 0.85rem;
    color: #153047;
}

.device-tag-sheet-panel p,
.device-tag-sheet-preview p {
    color: #546b7d;
    line-height: 1.6;
}

.device-tag-sheet-grid {
    display: grid;
    gap: 1rem;
}

.device-tag-sheet-fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.device-tag-sheet-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.device-tag-sheet-inline label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.device-tag-sheet-select,
.device-tag-sheet-input {
    border: 1px solid #c8d6df;
    border-radius: 1.4rem;
    padding: 0.8rem 0.95rem;
    background: #fbfdfe;
}

.device-tag-sheet-select {
    min-height: 14rem;
}

.device-tag-sheet-results {
    max-height: 42rem;
    overflow: auto;
    border: 1px solid #d7e1e8;
    border-radius: 1.8rem;
    background: #fbfdfe;
}

.device-tag-sheet-device {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid #e4edf2;
}

.device-tag-sheet-device:first-child {
    border-top: 0;
}

.device-tag-sheet-device label {
    display: block;
    cursor: pointer;
}

.device-tag-sheet-device strong {
    display: block;
    color: #133047;
}

.device-tag-sheet-device span {
    color: #61798b;
    font-size: 0.95rem;
}

.device-tag-sheet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.device-tag-sheet-preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.device-tag-sheet-note {
    padding: 0.85rem 1rem;
    border-radius: 1.6rem;
    background: #fff8df;
    border: 1px solid #ecd08c;
    color: #6c5414;
    margin-bottom: 1rem;
}

.device-tag-sheet-labels {
    --label-gap: 14mm;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--label-gap);
}

.device-tag-sheet-label {
    padding: 0.5rem;
    border: 1px dashed #b8cad6;
    border-radius: 1.8rem;
    background: #fff;
    break-inside: avoid;
}

.device-tag-sheet-label-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0.75rem;
    min-height: 47mm;
    align-items: center;
}

.device-tag-sheet-label-copy h3 {
    margin: 0 0 0.35rem;
    color: #10263c;
    font-size: 1rem;
    line-height: 1.2;
}

.device-tag-sheet-label-copy p {
    margin: 0 0 0.3rem;
    font-size: 0.88rem;
    color: #546b7d;
    line-height: 1.45;
}

.device-tag-sheet-label-copy small {
    display: block;
    color: #6c8292;
    font-size: 0.78rem;
}

.device-tag-sheet-label-qr svg {
    width: 100%;
    height: auto;
    display: block;
}

.device-trust-label-page {
    min-height: 100vh;
    padding: 2rem 1rem 3rem;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.78), transparent 34%),
        linear-gradient(165deg, var(--tint-background, #eef5f7) 0%, #ffffff 100%);
}

.device-trust-label-shell {
    width: min(100%, 96rem);
    margin: 0 auto;
}

.device-trust-label-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.device-trust-label-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    background: #fff;
    border-radius: 2.8rem;
    border: 1px solid rgba(203, 213, 225, 0.8);
    box-shadow: 0 2.4rem 8rem rgba(15, 23, 42, 0.1);
    padding: 1.5rem;
}

.device-trust-label-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.device-trust-label-brand img {
    max-width: 18rem;
    max-height: 5.6rem;
}

.device-trust-label-copy h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1;
    color: #12263a;
}

.device-trust-label-copy p {
    margin: 0 0 0.9rem;
    color: #4f677b;
    line-height: 1.6;
}

.device-trust-label-meta {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
    color: #395265;
}

.device-trust-label-meta strong {
    color: #12263a;
}

.device-trust-label-qr {
    display: grid;
    place-items: center;
    padding: 1rem;
    border-radius: 2.4rem;
    background: linear-gradient(180deg, #f8fbfd 0%, #eef4f7 100%);
    border: 1px solid #d8e4ea;
}

.device-trust-label-qr svg {
    width: min(100%, 36rem);
    height: auto;
    display: block;
}

.device-trust-label-url {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1.6rem;
    background: #f8fbfd;
    border: 1px solid #d8e4ea;
    color: #486173;
    font-size: 0.92rem;
    line-height: 1.55;
    word-break: break-all;
}

.device-trust-page {
    min-height: 100vh;
    padding: 2rem 1rem;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 34%),
        radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.1), transparent 28%),
        linear-gradient(160deg, var(--tint-background, #edf5f7) 0%, #f8fbfc 52%, #ffffff 100%);
}

.device-trust-shell {
    width: min(100%, 92rem);
    margin: 0 auto;
}

.device-trust-hero {
    display: grid;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 2.8rem;
    padding: 1.75rem;
    box-shadow: 0 2.4rem 8rem rgba(15, 23, 42, 0.1);
}

.device-trust-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.device-trust-brand img {
    max-width: 19rem;
    max-height: 5.8rem;
}

.device-trust-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--primary-color, #0f172a);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.device-trust-summary h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    color: #10233b;
}

.device-trust-summary p {
    margin: 0.85rem 0 0;
    color: #466173;
    line-height: 1.65;
    max-width: 64ch;
}

.device-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.83rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.device-trust-pill::before {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: currentColor;
}

.device-trust-pill--good {
    background: rgba(31, 157, 98, 0.12);
    color: #18794a;
}

.device-trust-pill--warning {
    background: rgba(216, 169, 39, 0.16);
    color: #8a6116;
}

.device-trust-pill--alert {
    background: rgba(216, 78, 78, 0.12);
    color: #b42318;
}

.device-trust-pill--muted {
    background: rgba(100, 116, 139, 0.12);
    color: #546578;
}

.device-trust-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-top: 1rem;
    color: #5f748a;
    font-size: 0.95rem;
}

.device-trust-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    min-height: 2rem;
}

.device-trust-meta__item--wide {
    flex: 1 1 18rem;
}

.device-trust-meta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #486076;
    flex: 0 0 auto;
}

.device-trust-meta__icon svg {
    width: 1rem;
    height: 1rem;
}

.device-trust-meta__label {
    font-weight: 700;
    color: #445b6f;
}

.device-trust-meta__value {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.device-trust-meta__status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(216, 169, 39, 0.14);
    color: #7a5714;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
}

.device-trust-meta__status--muted {
    background: rgba(100, 116, 139, 0.12);
    color: #546578;
}

.device-trust-meta__detail {
    color: #6f879a;
}

.device-trust-meta__spinner {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 999px;
    border: 2px solid rgba(122, 87, 20, 0.18);
    border-top-color: #7a5714;
    animation: device-trust-spin 0.85s linear infinite;
}

.device-trust-meta__status--muted .device-trust-meta__spinner {
    border-color: rgba(84, 101, 120, 0.18);
    border-top-color: #546578;
}

.device-trust-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.device-trust-overview__item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 5.25rem;
    padding: 0.95rem 1rem;
    border-radius: 2rem;
    border: 1px solid rgba(203, 213, 225, 0.78);
    background: rgba(248, 250, 252, 0.82);
}

.device-trust-overview__item--good {
    background: rgba(31, 157, 98, 0.08);
    border-color: rgba(31, 157, 98, 0.18);
}

.device-trust-overview__item--warning {
    background: rgba(216, 169, 39, 0.1);
    border-color: rgba(216, 169, 39, 0.22);
}

.device-trust-overview__item--alert {
    background: rgba(216, 78, 78, 0.08);
    border-color: rgba(216, 78, 78, 0.18);
}

.device-trust-overview__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 1.8rem;
    background: rgba(255, 255, 255, 0.82);
    color: #10233b;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.device-trust-overview__icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.device-trust-overview__value {
    margin: 0;
    color: #10233b;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
}

.device-trust-overview__label {
    display: block;
    margin-top: 0.2rem;
    color: #52697d;
    font-size: 0.9rem;
    font-weight: 700;
}

.device-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.device-trust-card {
    position: relative;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(203, 213, 225, 0.7);
    border-radius: 2.2rem;
    padding: 1.25rem;
    box-shadow: 0 1.6rem 5rem rgba(15, 23, 42, 0.07);
}

.device-trust-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 0.5rem;
    border-radius: 2.2rem 2.2rem 0 0;
    background: rgba(148, 163, 184, 0.45);
}

.device-trust-card--good {
    border-color: rgba(31, 157, 98, 0.18);
    background: linear-gradient(180deg, rgba(31, 157, 98, 0.06) 0%, rgba(255, 255, 255, 0.96) 28%);
}

.device-trust-card--good::before {
    background: #1f9d62;
}

.device-trust-card--warning {
    border-color: rgba(216, 169, 39, 0.22);
    background: linear-gradient(180deg, rgba(216, 169, 39, 0.08) 0%, rgba(255, 255, 255, 0.96) 28%);
}

.device-trust-card--warning::before {
    background: #d8a927;
}

.device-trust-card--alert {
    border-color: rgba(216, 78, 78, 0.18);
    background: linear-gradient(180deg, rgba(216, 78, 78, 0.07) 0%, rgba(255, 255, 255, 0.96) 28%);
}

.device-trust-card--alert::before {
    background: #d64e4e;
}

.device-trust-card--muted {
    border-color: rgba(100, 116, 139, 0.18);
    background: linear-gradient(180deg, rgba(100, 116, 139, 0.07) 0%, rgba(255, 255, 255, 0.96) 28%);
}

.device-trust-card--muted::before {
    background: #64748b;
}

.device-trust-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.device-trust-card__identity {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.device-trust-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.88);
    color: #17314d;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
    flex: 0 0 auto;
}

.device-trust-card__icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.device-trust-card__label {
    margin: 0;
    color: #5f748a;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.device-trust-card h2 {
    margin: 0.45rem 0 0;
    font-size: 1.32rem;
    line-height: 1.15;
    color: #13293d;
}

.device-trust-card__detail {
    margin: 1rem 0 0;
    color: #52697d;
    line-height: 1.55;
}

.device-trust-footer {
    margin-top: 1rem;
    padding: 0 0.25rem;
    color: #61778b;
    font-size: 0.95rem;
    line-height: 1.6;
}

@keyframes device-trust-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 640px) {
    .sm\:max-w-2xl {
        max-width: 67.2rem;
    }

    .sm\:pt-0 {
        padding-top: 0;
    }

    .sm\:rounded-lg {
        border-radius: 0.8rem;
    }
}

@media (min-width: 700px) {
    .login-panel {
        grid-template-columns: minmax(0, 1.2fr) minmax(28rem, 0.95fr);
        padding: 1.8rem;
    }

    .login-panel > div:first-child {
        padding: 2rem;
    }

    .login-panel > div:first-child > div {
        padding: 0 10%;
    }
}

@media (max-width: 980px) {
    .device-tag-sheet-page {
        grid-template-columns: 1fr;
    }

    .device-tag-sheet-labels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .device-trust-label-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .ticket-feedback-card {
        padding: 1.5rem;
        border-radius: 2rem;
    }

    .ticket-feedback-options {
        grid-template-columns: 1fr;
    }

    .ticket-feedback-actions {
        align-items: stretch;
    }

    .ticket-feedback-actions .btn {
        width: 100%;
    }

    .device-trust-hero {
        padding: 1.35rem;
        border-radius: 2.4rem;
    }

    .device-trust-overview {
        grid-template-columns: 1fr;
    }

    .device-trust-grid {
        grid-template-columns: 1fr;
    }

    .device-trust-card__header {
        flex-direction: column;
    }
}

@media print {
    .device-tag-sheet-panel,
    .device-tag-sheet-note,
    .device-tag-sheet-preview-meta .btn {
        display: none !important;
    }

    .device-tag-sheet-page,
    .device-tag-sheet-preview {
        display: block;
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    .device-tag-sheet-label {
        border: 0;
        border-radius: 0;
        padding: 0;
    }

    .device-tag-sheet-labels {
        gap: 0;
    }

    body.guest-body {
        background: #fff;
    }

    .device-trust-label-page {
        min-height: auto;
        padding: 0;
        background: #fff;
    }

    .device-trust-label-actions {
        display: none;
    }

    .device-trust-label-shell {
        width: 100%;
        margin: 0;
    }

    .device-trust-label-card {
        box-shadow: none;
        border-radius: 0;
        border: 0;
        padding: 0.5rem;
    }
}
.login-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: var(--primary-color);
}
.login-panel, .guest-body .login-panel {
    width: 92%;
    background-color: var(--white-background);
    border-radius: 10px;
    max-width: 400px;
    @media screen and (min-width:700px) {
        display: flex;
        justify-content: space-between;
        max-width: 850px;

    }
    > div {
        @media screen and (min-width:700px) {
            width: calc(53% - 15px);
        min-height: 480px;
        }
    
    &:last-child {
        background-color: var(--secondary-color);
        border-radius: 14px;
        @media screen and (min-width:700px) {
            width: calc(47% - 15px);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        }
        @media screen and (max-width:699px) {
            margin-top: 3rem;

        }
        padding: 30px;
        h1 {
            font-size: 2.0rem;
            line-height: 130%;


        }
        h1, p, a {
            color: #FFF;
            text-align: left;
        }
        p, a {
            font-weight: 300;
            margin: 0;
        }
    }
    &:first-child {

        display: flex;
        flex-direction: column;
  

        > div {
            margin: auto 0;
            @media screen and (min-width:700px) {
                padding: 0 10%;
            }
        }
 
    }
    }
    h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        text-align: center;
        font-weight: 600;


    }
    .logo, img {
        margin-bottom: 3rem;
        display: block;
        
    }
    img, svg {
        width: 90%;
        max-width: 145px;
        max-height: 50px;
        display: block;
    }
    label {
        width: 100%;
        font-weight: 600;  
        font-size: 1.5rem;    
    }
    p, a {
        font-weight: 400;
        font-size: 1.5rem;
    }
    label, p {
         color:#343535;
    }
    .remember-password {
        label {
            width: auto;
            margin: 0;
        }
    }
    .form-group {

        margin-bottom: 1.5rem;
        &:last-child {
            margin-bottom: 0;
        }

    }
    .btn {
        width: 100%;
        margin-top: 2rem;

    }
    .error-list {
        font-size: 1.5rem;
        list-style: none;

    }
    h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        color:  var(--red-status);
        font-weight: 600;
    }
}
.main-right {
    background-color: var(--tint-background);
    h1 {
        color:var(--tertiary-color-text);
        font-size: 2.4rem;
        font-weight: 500;
        &:has(a) {
            font-weight: 500;
            min-height: 36px;
        }
        a {
            font-size: 1.6rem;
            text-decoration: underline;
            display: block;
            clear: both;
            margin: 0 0 0.5rem 0;
            text-decoration: none;
            font-weight: 600;
            color: var(--primary-color);
        
        }
    }
}
.button, .btn {
    appearance: none;
    border: none;
    padding:1rem 2.5rem;
    @include font-size(1.4);
    text-align: center;
    line-height: 100%;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    border-radius: 5px;
    font-family: inherit;
    font-weight: 500;
    &.button-disabled {
        cursor: none;
        background-color:$light-grey;
        &:hover {
            filter: brightness(1);

        }
    }
    &.btn-round {
        padding:0.8rem;
        border-radius: 50%;
    }
    &.arrow-button {
        padding-right: 70px;
        position: relative;
        &:after {
        content: url(/assets/images/arrow-right-white.svg);
        position: absolute;
        right: 25px;
        transition: all ease-in-out;
        }
        &:hover {
            &:after {
               translate: -3px 0;
            }
        }
 
    }
    &.btn-compact {
        padding: 1rem;
    }
    &.btn-primary {
        background-color: var(--primary-color);
        color: var(--primary-btn-text);
        border: 1px solid var(--primary-color);;
        &:hover {
            background-color: var(--primary-color-10);
            border: 1px solid var(--primary-color-10);
        }
    }
    &.btn-secondary {
        background-color: var(--secondary-color);
        color: var(--secondary-btn-text);
        border: 1px solid var(--secondary-color);

        &:hover {
            background-color: var(--secondary-color-10);
            border: 1px solid var(--secondary-color-10);
        }
    }
    &.btn-emergency, &.btn-danger {
        background-color: var(--red-status);
        border: 1px solid var(--red-status);
        color:var(--white-text);
        &:hover {
            filter: brightness(0.5);
        }
    }
    &.btn-success {
        background-color: var(--green-status);
        border: 1px solid var(--green-status);
        color:var(--white-text);
        &:hover {
            filter: brightness(0.5);
        }
    }
    &.btn-warning {
        background-color: var(--amber-status);
        color:var(--white-text);
        &:hover {
            filter: brightness(0.5);
        }
    }
    

}
.compact-btn, .compact-button {
    padding: 0.4rem;
    font-size: 1.3rem;
}
button {
    appearance: none;
    cursor: pointer;
}
.btn-outline {
    background: none;

    &.white-border {
        border: 1px solid  var(--white-text);
        color: var(--white-text);
        &:hover {
        }
    }
    &.btn-outline-primary {
        border: 1px solid  var(--primary-color);
        color: var(--primary-color);
        background-color: var(--white-bg);
        &:hover {
            color: var(--white-text);
            background-color: var(--primary-color);
    
        }
    }
    &.btn-outline-secondary {
        border: 1px solid  var(--secondary-color);
        color: var(--secondary-color);
        &:hover {
            color: var(--white-text);
            background-color: var(--secondary-color);
    
        }
    }
    &.btn-outline-grey {
        border: 1px solid  var(--text-grey);
        color: var(--text-grey);
        &:hover {
            color: var(--white-text);
            background-color: var(--text-grey);
    
        }
    }
    &.btn-disabled {
        opacity:0.7;
        cursor: none;
        pointer-events: none;
    }
}
.btn-disabled {
      opacity:0.7;
    cursor: none;
    pointer-events: none;
}
.btn.btn-faded {
    opacity: 0.7;
    cursor: not-allowed;
    &.btn-primary {
    color: var(--text-grey);
}
}
