@font-face {
    font-family: 'AgencyBold';
    src: local('Agency-Bold'),
        url('../fonts/Agency-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'RobotoRegular';
    src: local('Roboto-Regular'),
        url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root{
    --duesentrieb-edge-big: 2rem;
}

.agency-bold{
    font-family:AgencyBold;
}
.roboto-regular{
    font-family:RobotoRegular;
}

.bg-startpage {
  background-image:
    radial-gradient(ellipse farthest-corner at center left, rgba(0, 33, 51, 0.733), #05090bf2),
    url('../img/bgRasterTile.png');
  background-repeat: repeat, repeat;
  background-size: auto, 3rem;
  background-position: center, center;
  background-attachment: fixed, fixed;
}

.dues-button {
    clip-path: polygon(0 .8rem, .8rem 0, 100% 0, 100% calc(100% - .8rem), calc(100% - .8rem) 100%, 0% 100%);
    color:#fff;
    font-family: AgencyBold;
    text-align:center;
    background:linear-gradient(to bottom right, #f69b6a 0%, #f36f21 50%, #f36f21 100%);
    background-position: center left;
    cursor: pointer;
}

.dues-button-neutral {
    clip-path: polygon(0 .8rem, .8rem 0, 100% 0, 100% calc(100% - .8rem), calc(100% - .8rem) 100%, 0% 100%);
    color:#fff;
    font-family: AgencyBold;
    text-align:center;
    background:linear-gradient(to bottom right, #777 0%, #666 50%, #666 100%);
    background-position: center left;
    cursor: pointer;
}

.dues-button-inactive {
    clip-path: polygon(0 .8rem, .8rem 0, 100% 0, 100% calc(100% - .8rem), calc(100% - .8rem) 100%, 0% 100%);
    color:#aaa;
    font-family: AgencyBold;
    text-align:center;
    background-color:#444;
    background-position: center left;
}
.dues-button:hover{
    background: #f36f21;
}
.dues-button-neutral:hover{
    background: #666;
}

.dues-button-big {
    clip-path: polygon(0 var(--duesentrieb-edge-big), var(--duesentrieb-edge-big) 0, 100% 0, 100% calc(100% - var(--duesentrieb-edge-big)), calc(100% - var(--duesentrieb-edge-big)) 100%, 0% 100%);
    color:#fff;
    font-family: AgencyBold;
    text-align:center;
    background:linear-gradient(to bottom right, #f69b6a 0%, #f36f21 50%, #f36f21 100%);
    background-position: center left;
    cursor: pointer;
}
.dues-button-big:hover {
    background: #f36f21;
}

.dues-button-shadow {
    filter: drop-shadow(.1rem .2rem .1rem #0006);
}

.dues-impressum-button {
    background:linear-gradient(to bottom right, #f69b6a 0%, #f36f21 50%, #f36f21 100%);
    clip-path: polygon(0 2rem, 2rem 0, 100% 0, 100% 100%);
}
.dues-impressum-button:hover {
    background: #f36f21;
}

.legal-links {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.legal-link {
    clip-path: polygon(0 .65rem, .65rem 0, 100% 0, 100% calc(100% - .65rem), calc(100% - .65rem) 100%, 0% 100%);
    padding: 0.45rem 0.95rem;
    color: #fff;
    text-decoration: none;
    font-family: AgencyBold;
    line-height: 1;
    filter: drop-shadow(.1rem .2rem .1rem #0008);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    background: linear-gradient(145deg, rgba(37, 52, 69, 0.94), rgba(18, 28, 40, 0.96));
}


.legal-link:hover,
.legal-link.is-active {
    background: rgba(243, 111, 33, 1);
}

.legal-link:focus-visible {
    outline: 2px solid rgba(243, 111, 33, 0.92);
    outline-offset: 2px;
    transform: translateY(-1px);
}

.legal-page {
    width: 100%;
    max-width: 68rem;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.legal-page-title {
    margin-bottom: 1.5rem;
    text-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.45);
}

.legal-page-sections {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
}

.legal-section {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(150deg, rgba(12, 27, 43, 0.74), rgba(8, 17, 29, 0.86));
    padding: 1.1rem 1rem;
    box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.25);
}

.legal-section-heading {
    color: #f36f21;
    font-size: clamp(1.6rem, 2vw, 2rem);
    margin-bottom: 2rem;
}

.dues-text-box {
    clip-path: polygon(0 .8rem, .8rem 0, 100% 0, 100% calc(100% - .8rem), calc(100% - .8rem) 100%, 0% 100%);
    background:linear-gradient(to bottom right, #ffe5d6 0%,  #ffc3a2 100%);
}

.dues-text-box-alpha {
    clip-path: polygon(0 .8rem, .8rem 0, 100% 0, 100% calc(100% - .8rem), calc(100% - .8rem) 100%, 0% 100%);
    background:linear-gradient(to bottom right, #ffe5d620 0%,  #ffc3a220 100%);
}
.dues-text-box-alpha-bright {
    clip-path: polygon(0 .8rem, .8rem 0, 100% 0, 100% calc(100% - .8rem), calc(100% - .8rem) 100%, 0% 100%);
    background:linear-gradient(to bottom right, #7b7b7b6d 0%,  #ffffffba 100%);
}
.dues-text-box-alpha-brighten {
    clip-path: polygon(0 .8rem, .8rem 0, 100% 0, 100% calc(100% - .8rem), calc(100% - .8rem) 100%, 0% 100%);
    background:#def4;
}
.dues-text-box-alpha-dark {
    clip-path: polygon(0 .8rem, .8rem 0, 100% 0, 100% calc(100% - .8rem), calc(100% - .8rem) 100%, 0% 100%);
    background:linear-gradient(to bottom right, #0c253a6d 0%,  #12385786 100%);
}
.dues-text-box-alphagreen {
    clip-path: polygon(0 .8rem, .8rem 0, 100% 0, 100% calc(100% - .8rem), calc(100% - .8rem) 100%, 0% 100%);
    background:linear-gradient(to bottom right, #88ff8830 0%,  #88ff8850 100%);
}
.dues-text-box-darker {
    clip-path: polygon(0 .8rem, .8rem 0, 100% 0, 100% calc(100% - .8rem), calc(100% - .8rem) 100%, 0% 100%);
    background:linear-gradient(to bottom right, #f69b6a 0%, #f36f21 50%, #f36f21 100%);
}
.dues-text-box-dark {
    clip-path: polygon(0 .8rem, .8rem 0, 100% 0, 100% calc(100% - .8rem), calc(100% - .8rem) 100%, 0% 100%);
    background-color: #0004;
}
.dues-text-box-usermenu {
    clip-path: polygon(0 .8rem, .8rem 0, 100% 0, 100% calc(100% - .8rem), calc(100% - .8rem) 100%, 0% 100%);
    background-color: #333e;
}
/* .dues-text-box-navigationmenu-button {
    background-color: transparent;
}
.dues-text-box-navigationmenu-button:hover {
    background:radial-gradient(closest-side, #fff2, transparent);
} */
.dues-text-box-navigationmenu {
    /* clip-path: polygon(0 0, 100% 0, 100% calc(100% - .8rem), calc(100% - .8rem) 100%, 0% 100%); */
    box-shadow: 1rem 2rem 1rem 0rem #0002;
    background-color: #0008;
}

.service-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #03080eb8;
    backdrop-filter: blur(7px);
    overflow-y: auto;
}

.service-dialog-card {
    width: min(100%, 32rem);
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(243, 111, 33, 0.45);
    background: linear-gradient(150deg, rgba(24, 38, 54, 0.97), rgba(10, 21, 34, 0.98));
    box-shadow: 0 1.35rem 2.2rem rgba(0, 0, 0, 0.42);
    padding: 1.15rem;
    color: rgba(255, 255, 255, 0.94);
}

.service-dialog-close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 0;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.service-dialog-close:hover,
.service-dialog-close:focus-visible {
    background: rgba(243, 111, 33, 0.22);
    color: #fff;
}

.service-dialog-title {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 0.6rem;
    text-align: center;
}

.service-dialog-description {
    color: rgba(226, 234, 245, 0.88);
    margin-bottom: 0.95rem;
    text-align: center;
}

.service-dialog-highlight {
    color: #f36f21;
    font-weight: 700;
}

.service-dialog-icon-wrap {
    width: 6rem;
    height: 6rem;
    border-radius: 999px;
    margin: 0 auto 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(243, 111, 33, 0.45);
    background: radial-gradient(circle at 35% 25%, rgba(243, 111, 33, 0.25), rgba(18, 28, 40, 0.2));
}

.service-dialog-cost-box {
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 14, 24, 0.52);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.service-dialog-cost-title {
    font-size: 1.02rem;
    margin-bottom: 0.1rem;
}

.service-dialog-cost-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-family: RobotoRegular, sans-serif;
}

.service-dialog-cost-row-divider {
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    padding-bottom: 0.5rem;
    margin-bottom: 0.15rem;
}

.supported-document-types-page {
    width: 100%;
    max-width: 88rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #fff;
}

.supported-document-types-header {
    padding: 0.2rem 0;
}

.supported-document-types-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1;
    color: #fff;
}

.supported-document-types-subtitle {
    margin-top: 0.5rem;
    color: var(--lp-text-muted);
}

.supported-document-types-empty {
    padding: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.supported-document-types-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.9rem;
}

.supported-document-type-card {
    min-width: 0;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.supported-document-type-card:hover,
.supported-document-type-card:focus-within {
    transform: translateY(-2px);
}

.supported-document-type-card .lp-service-preview::after {
    content: none;
}

.supported-document-type-image,
.supported-document-type-image-placeholder {
    width: 100%;
    height: 100%;
}

.supported-document-type-image {
    object-fit: contain;
    display: block;
    background: rgba(8, 14, 22, 0.9);
}

.supported-document-type-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 18, 28, 0.62);
    color: rgba(255, 255, 255, 0.82);
    padding: 0.8rem;
    text-align: center;
}

.supported-document-type-name {
    line-height: 1.2;
}

.supported-document-type-preview {
    aspect-ratio: 210 / 297;
    background: rgba(8, 14, 22, 0.9);
}

@media (min-width: 640px) {
    .supported-document-types-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .supported-document-types-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .supported-document-types-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.service-dialog-checkbox {
    margin-top: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    position: relative;
    cursor: pointer;
}

.service-dialog-actions {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.service-dialog-security-note {
    margin-top: 2.8rem;
    width: calc(100% + 2.3rem);
    margin-left: -1.15rem;
    margin-right: -1.15rem;
    margin-bottom: -1.15rem;
    padding: 0.8rem 1.15rem 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: #07101b9e;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(231, 239, 248, 0.9);
    text-align: center;
}

.service-dialog-security-icon {
    width: 1rem;
    height: 1rem;
    color: rgba(243, 111, 33, 0.95);
    flex-shrink: 0;
}

.service-dialog-checkbox-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-dialog-checkbox-mark {
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(5, 14, 24, 0.75);
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.service-dialog-checkbox-input:checked + .service-dialog-checkbox-mark {
    border-color: rgba(243, 111, 33, 0.95);
    background: linear-gradient(135deg, #f69b6a 0%, #f36f21 100%);
}

.service-dialog-checkbox-input:checked + .service-dialog-checkbox-mark::after {
    content: '';
    position: absolute;
    width: 0.3rem;
    height: 0.58rem;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    left: 0.36rem;
    top: 0.18rem;
    transform: rotate(40deg);
}
:root {
    --lp-panel-bg: linear-gradient(150deg, rgba(31, 46, 60, 0.88), rgba(11, 22, 36, 0.92));
    --lp-panel-border: rgba(162, 184, 208, 0.25);
    --lp-panel-hover-border: #f36f21;
    --lp-text-main: rgba(255, 255, 255, 0.96);
    --lp-text-muted: rgba(228, 236, 245, 0.78);
    --lp-accent: #f36f21;
    --lp-accent-soft: rgba(243, 111, 33, 0.25);
}

.lp-landing {
    max-width: 1080px;
    margin: 0 auto;
    color: var(--lp-text-main);
}

.lp-hero {
    text-align: center;
    margin-top: 1.8rem;
    margin-bottom: 2.8rem;
}

.lp-heading {
    font-size: clamp(1.8rem, 3.8vw, 3rem);
    line-height: 1;
    margin-bottom: 0.95rem;
    letter-spacing: 0.02em;
}

.lp-subheading {
    color: var(--lp-text-muted);
    font-size: clamp(0.92rem, 1.2vw, 1.08rem);
}

.lp-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.lp-choice-card {
    background: var(--lp-panel-bg);
    border: 1px solid var(--lp-panel-border);
    border-radius: 1rem;
    padding: 1.3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    outline: none;
}

.lp-choice-card:hover,
.lp-choice-card:focus-visible,
.lp-choice-card:focus-within {
    border-color: var(--lp-panel-hover-border);
    box-shadow: 0 0 0 1px var(--lp-accent-soft), 0 20px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.lp-choice-title-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(188, 203, 220, 0.2);
}

.lp-choice-icon {
    width: 4.2rem;
    height: 4.2rem;
    min-width: 4.2rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
}

.lp-choice-icon svg {
    width: 2rem;
    height: 2rem;
}

.lp-choice-icon-muted {
    background-color: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.9);
}

.lp-choice-icon-primary {
    background-color: var(--lp-accent);
    color: #fff;
}

.lp-choice-title {
    font-size: clamp(1.6rem, 2vw, 2.3rem);
    line-height: 1;
    margin: 0;
}

.lp-choice-subtitle {
    color: var(--lp-text-muted);
    font-size: clamp(1.05rem, 1.25vw, 1.38rem);
    margin: 0.2rem 0 0;
}

.lp-choice-description {
    margin: 0 0 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(188, 203, 220, 0.2);
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.2rem;
    line-height: 1.5;
}

.lp-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.1rem;
}

.lp-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.lp-list li::before {
    content: '✓';
    color: var(--lp-accent);
    font-weight: 700;
    line-height: 1.2;
}

.lp-choice-actions {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.lp-choice-actions-single {
    margin-top: 1.8rem;
}

.lp-btn {
    clip-path: polygon(0 .65rem, .65rem 0, 100% 0, 100% calc(100% - .65rem), calc(100% - .65rem) 100%, 0% 100%);
    padding: 0.6rem 0.9rem;
    line-height: 1;
    font-size: 1.08rem;
    text-decoration: none;
    font-family: AgencyBold;
    border: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.account-shell {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    color: #111111;
}

.account-tabs-wrap {
    position: sticky;
    top: 4.1rem;
    z-index: 2;
}

.account-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 0.9rem 2.3rem rgba(0, 0, 0, 0.32);
    background: rgba(8, 20, 31, 0.65);
    backdrop-filter: blur(12px);
}

.account-tab {
    min-height: 3.6rem;
    font-size: clamp(1.05rem, 2.2vw, 1.6rem);
    color: rgba(255, 255, 255, 0.76);
    letter-spacing: 0.02em;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.account-tab:hover {
    color: #ffffff;
    background: rgba(243, 111, 33, 0.27);
}

.account-tab:focus-visible {
    outline: 2px solid rgba(243, 111, 33, 0.92);
    outline-offset: -2px;
    color: #ffffff;
}

.account-tab.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(246, 155, 106, 0.95) 0%, rgba(243, 111, 33, 0.96) 68%, rgba(212, 90, 23, 0.98) 100%);
}

.account-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-heading {
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.45);
}

.account-panel {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 233, 222, 0.95) 100%);
    box-shadow: 0 1.25rem 2.3rem rgba(0, 0, 0, 0.26);
    overflow: hidden;
}

.account-info-row {
    padding: 1.15rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.account-info-row + .account-info-row {
    border-top: 1px solid #fff4;
}

.account-label {
    color: rgba(17, 17, 17, 0.8);
    font-size: 1.05rem;
}

.account-value {
    color: #c14700;
    /* color: #c85a1a; */
    font-size: 1.2rem;
    text-align: right;
    overflow-wrap: anywhere;
}

.account-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0.6rem 1.4rem;
    border: 0;
    line-height: 1;
    font-size: 1.1rem;
}

.account-balance-summary {
    padding: 1.15rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.account-balance-amount {
    margin-top: 0.35rem;
    font-size: clamp(1.4rem, 3.4vw, 2rem);
    color: #f36f21;
}

.scanner-hint-box {
    width: 100%;
    margin-bottom: 1.1rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(59, 93, 123, 0.68);
    background: linear-gradient(160deg, rgba(4, 22, 39, 0.88), rgba(2, 13, 26, 0.91));
    box-shadow: inset 0 0 0 1px rgba(29, 53, 78, 0.4);
    padding: 0.95rem 1rem 0.9rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.85rem;
}

.scanner-hint-icon-wrap {
    align-self: flex-start;
    margin-top: 0.06rem;
    line-height: 0;
}

.scanner-hint-content {
    min-width: 0;
}

.scanner-hint-row {
    margin: 0;
    font-size: clamp(0.88rem, 0.95vw, 0.98rem);
    font-weight: 400;
    line-height: 1.4;
    color: rgba(220, 231, 244, 0.9);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.34rem;
}

.scanner-hint-row + .scanner-hint-row {
    margin-top: 0.42rem;
}

.scanner-hint-row-primary {
    color: rgba(236, 244, 252, 0.93);
}

.scanner-hint-prefix {
    font-weight: 600;
    color: rgba(240, 247, 255, 0.98);
}

.scanner-hint-divider {
    height: 1px;
    margin: 0.55rem 0 0.62rem;
    background: linear-gradient(90deg, rgba(88, 114, 138, 0.08), rgba(88, 114, 138, 0.55), rgba(88, 114, 138, 0.08));
}

.scanner-hint-link {
    color: #2b8fff;
    font-size: inherit;
    line-height: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
}

.scanner-hint-link:hover {
    color: #58abff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.scanner-hint-link:focus-visible {
    outline: 2px solid rgba(43, 143, 255, 0.85);
    outline-offset: 2px;
    border-radius: 0.2rem;
}

.scanner-hint-link-icon {
    display: inline-flex;
    line-height: 0;
}

.scanner-hint-link-placeholder {
    opacity: 0.95;
}

.scanner-hint-link-inline {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .scanner-hint-box {
        padding: 0.85rem 0.82rem;
        grid-template-columns: 1fr;
        row-gap: 0.5rem;
    }

    .scanner-hint-icon-wrap {
        margin-top: 0;
    }

    .scanner-hint-row {
        font-size: 0.95rem;
    }
}

.account-subheading {
    font-size: 1.05rem;
    color: rgba(17, 17, 17, 0.8);
    padding: 1rem 1.25rem;
}

.account-ledger-head {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 1fr;
    gap: 1rem;
    padding: 0.95rem 1.25rem;
    font-size: 1rem;
    color: rgba(17, 17, 17, 0.78);
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);
}

.account-ledger-head-no-top {
    border-top: 0;
}

.account-ledger-row {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 1fr;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: rgba(17, 17, 17, 0.87);
    border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.account-ledger-row:last-child {
    border-bottom: 0;
}

.account-ledger-cell {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.account-ledger-cell-accent {
    color: #f36f21;
    text-align: center;
}

.account-ledger-cell-date {
    text-align: right;
}

.account-ledger-head-api-keys,
.account-ledger-row-api-keys {
    grid-template-columns: 0.7fr 1.4fr 1fr 1fr 1fr 0.8fr;
}

.account-ledger-cell-actions {
    align-items: flex-end;
}

.account-mobile-label {
    display: none;
    font-size: 0.82rem;
    color: rgba(17, 17, 17, 0.58);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.account-empty {
    padding: 1rem 1.25rem 1.3rem;
    color: #c85a1a;
    font-size: 1.05rem;
}

.account-settings-status {
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    color: #ffffff;
    background: rgba(15, 119, 72, 0.9);
}

.account-settings-panel {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.account-settings-block {
    border-radius: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.72);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.account-settings-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.account-settings-title {
    font-size: 1.35rem;
    color: #111111;
}

.account-settings-info {
    margin-top: 2.2rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.account-settings-badge {
    color: #f36f21;
    white-space: nowrap;
}

.account-settings-preview-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.account-settings-preview {
    /* width: 100%;
    max-width: 16rem;
    max-height: 8rem;
    object-fit: contain;
    /* border: 1px solid rgba(0, 0, 0, 0.12); * /
    padding: 0.4rem; */
}

.account-settings-gallery-item .account-settings-preview {
    max-width: 100%;
    /* max-height: 6.5rem; */
}

.account-settings-gallery-actions .dues-button-neutral {
    /* font-size: 0.82rem;
    line-height: 1.15; */
}

.account-settings-preview[data-zoomable] {
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.account-settings-preview[data-zoomable]:hover,
.account-settings-preview[data-zoomable]:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 0.6rem 1.1rem rgba(0, 0, 0, 0.18);
    border-color: rgba(243, 111, 33, 0.5);
}

.account-settings-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.account-settings-general-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.account-settings-toggle-row {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(17, 17, 17, 0.86);
}

.account-settings-upload-label {
    display: inline-flex;
}

.account-settings-error {
    color: #b91c1c;
    font-size: 0.93rem;
}

.account-settings-reset {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.account-settings-reset-btn {
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.86rem;
    line-height: 1;
    background: linear-gradient(145deg, rgba(37, 52, 69, 0.94), rgba(18, 28, 40, 0.96));
}

.account-settings-reset-btn:hover,
.account-settings-reset-btn:focus-visible {
    background: rgba(243, 111, 33, 0.27);
}

@media (max-width: 640px) {
    .legal-links {
        right: 0.5rem;
        bottom: 0.5rem;
        gap: 0.3rem;
    }

    .legal-link {
        padding: 0.35rem 0.65rem;
        font-size: 0.9rem;
    }

    .legal-section {
        padding: 0.95rem 0.85rem;
    }

    .account-shell {
        gap: 0.9rem;
    }

    .account-tabs-wrap {
        top: 4rem;
    }

    .account-tab {
        min-height: 3.2rem;
        font-size: 1rem;
    }

    .account-info-row,
    .account-balance-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-value {
        text-align: left;
    }

    .account-ledger-head {
        display: none;
    }

    .account-ledger-row {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .account-ledger-row-api-keys {
        grid-template-columns: 1fr;
    }

    .account-ledger-cell-accent,
    .account-ledger-cell-date {
        text-align: left;
    }

    .account-ledger-cell-actions {
        align-items: flex-start;
    }

    .account-mobile-label {
        display: block;
    }

    .account-settings-head {
        flex-direction: column;
    }
}

.lp-btn:hover,
.lp-btn:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.lp-btn-primary {
    background: linear-gradient(135deg, #f69b6a 0%, #f36f21 52%, #f36f21 100%);
    color: #fff;
}

.lp-btn-primary:hover,
.lp-btn-primary:focus-visible {
    background: #f36f21;
}

.lp-btn-secondary {
    color: #aaa;
    background-color: #444;
}

.lp-btn-secondary:hover,
.lp-btn-secondary:focus-visible {
    color: #fff;
    background-color: #565656;
}

.lp-services {
    margin-top: 4.6rem;
}

.lp-section-title {
    text-align: center;
    font-size: clamp(1.9rem, 2.5vw, 2.7rem);
    line-height: 1;
    margin: 0;
}

.lp-section-subtitle {
    text-align: center;
    color: var(--lp-text-muted);
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: clamp(0.92rem, 1.2vw, 1.08rem);
}

.lp-carousel-controls {
    margin-top: 0.45rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.lp-carousel-button {
    width: 1.65rem;
    height: 1.65rem;
    clip-path: polygon(0 .4rem, .4rem 0, 100% 0, 100% calc(100% - .4rem), calc(100% - .4rem) 100%, 0% 100%);
    border: none;
    background: linear-gradient(135deg, #f69b6a 0%, #f36f21 52%, #f36f21 100%);
    color: #fff;
    font-size: 0.85rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, filter 0.2s ease;
}

.lp-carousel-button:hover,
.lp-carousel-button:focus-visible {
    background: #f36f21;
    color: #fff;
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.lp-carousel-track {
    margin-top: 0.7rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(12.5rem, 22vw, 15.5rem);
    gap: 0.7rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(173, 194, 218, 0.45) rgba(8, 15, 24, 0.45);
}

.lp-carousel-card {
    background: var(--lp-panel-bg);
    border: 1px solid rgba(162, 184, 208, 0.24);
    border-radius: 0.85rem;
    overflow: hidden;
    padding: 0.85rem;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.lp-carousel-card:hover,
.lp-carousel-card:focus-within {
    border-color: rgba(243, 111, 33, 0.52);
    transform: none;
}

.lp-service-head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.lp-service-icon {
    width: 1.15rem;
    height: 1.15rem;
    min-width: 1.15rem;
    color: #f36f21;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lp-service-icon svg {
    width: 100%;
    height: 100%;
}

.lp-service-name {
    font-size: clamp(1.15rem, 1.2vw, 1.45rem);
    letter-spacing: 0.01em;
    line-height: 1;
    margin: 0;
}

.lp-service-preview {
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(166, 183, 204, 0.26);
    background: rgba(14, 20, 30, 0.62);
    aspect-ratio: 4 / 3;
    min-height: 6.5rem;
    position: relative;
}

/* Override for supported document types page: enforce portrait A4 preview */
.lp-service-preview.supported-document-type-preview {
    aspect-ratio: 210 / 297;
    min-height: 0;
}

.lp-service-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lp-service-preview img[data-zoomable] {
    cursor: zoom-in;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.lp-service-preview img[data-zoomable]:hover,
.lp-service-preview img[data-zoomable]:focus-visible {
    transform: scale(1.02);
    filter: brightness(1.06);
}

.image-select-preview[data-zoomable] {
    cursor: zoom-in;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.image-select-preview[data-zoomable]:hover,
.image-select-preview[data-zoomable]:focus-visible {
    transform: scale(1.02);
    filter: brightness(1.06);
}

.lp-service-preview::after {
    content: '+';
    position: absolute;
    right: 0.45rem;
    bottom: 0.4rem;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    background: rgba(6, 13, 22, 0.8);
    border: 1px solid rgba(243, 111, 33, 0.7);
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.lp-carousel-card p {
    margin: 0;
    color: rgba(243, 248, 252, 0.9);
    font-size: 0.95rem;
    line-height: 1.35;
}

.lp-api-cta {
    margin-top: 8rem;
    background: var(--lp-panel-bg);
    border: 1px solid rgba(170, 189, 214, 0.3);
    border-radius: 0.9rem;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lp-api-copy h2 {
    margin: 0;
    font-size: clamp(1.5rem, 1.9vw, 2.25rem);
    line-height: 1;
}

.lp-api-copy p {
    margin: 0.5rem 0 0;
    color: var(--lp-text-muted);
    font-size: 1.05rem;
}

body.image-zoom-lock {
    overflow: hidden;
}

.image-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #03080eb8;
    backdrop-filter: blur(7px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, visibility 200ms ease;
}

.image-zoom-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.image-zoom-dialog {
    width: min(92vw, 72rem);
    max-height: 92vh;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(243, 111, 33, 0.45);
    background: linear-gradient(150deg, rgba(24, 38, 54, 0.97), rgba(10, 21, 34, 0.98));
    box-shadow: 0 1.35rem 2.2rem rgba(0, 0, 0, 0.42);
    padding: 2.3rem 0.7rem 0.7rem;
}

.image-zoom-image-wrap {
    width: 100%;
    max-height: calc(92vh - 3rem);
    display: grid;
    place-items: center;
}

.image-zoom-image {
    max-width: 100%;
    max-height: calc(92vh - 4rem);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.image-zoom-close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 0;
    color: rgba(255, 255, 255, 0.85);
    background: #0004;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.image-zoom-close:hover,
.image-zoom-close:focus-visible {
    background: rgba(243, 111, 33, 0.22);
    color: #fff;
    outline: none;
}

.image-zoom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 0;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    user-select: none;
    transition: background 0.15s, color 0.15s;
}

.image-zoom-nav:hover,
.image-zoom-nav:focus-visible {
    background: rgba(243, 111, 33, 0.22);
    color: #fff;
    outline: none;
}

.image-zoom-nav-prev {
    left: 1rem;
}

.image-zoom-nav-next {
    right: 1rem;
}

@media (max-width: 900px) {
    .lp-choice-grid {
        grid-template-columns: 1fr;
    }

    .lp-choice-card {
        padding: 1.2rem;
    }

    .lp-choice-title {
        font-size: 1.95rem;
    }

    .lp-choice-subtitle {
        font-size: 1.2rem;
    }

    .lp-choice-description,
    .lp-list {
        font-size: 1rem;
    }

    .lp-carousel-track {
        grid-auto-columns: minmax(14rem, 82vw);
    }

    .lp-api-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .lp-api-cta .lp-btn {
        width: 100%;
    }
}

.error-404-shell {
    width: 100%;
    max-width: 58rem;
    margin: 0 auto;
    color: #f5f9ff;
}

.error-404-panel {
    background: linear-gradient(150deg, rgba(31, 46, 60, 0.88), rgba(11, 22, 36, 0.92));
    border: 1px solid rgba(162, 184, 208, 0.25);
    border-radius: 1rem;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.35);
    text-align: center;
}

.error-404-status {
    margin: 0;
    color: #f36f21;
    font-size: clamp(2.6rem, 8vw, 4.4rem);
    line-height: 1;
    text-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.45);
}

.error-404-title {
    margin: 0.65rem 0 0;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    line-height: 1.05;
}

.error-404-text {
    margin: 0.9rem auto 0;
    max-width: 44rem;
    color: rgba(228, 236, 245, 0.86);
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.45;
}

.error-404-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.error-404-action-item {
    min-width: 12rem;
}

.error-404-action-link {
    display: block;
    text-decoration: none;
}

.error-404-action-link:focus-visible {
    outline: 2px solid #f6c9af;
    outline-offset: 3px;
    border-radius: 0.2rem;
}

@media (max-width: 640px) {
    .error-404-panel {
        padding: 1.3rem 1rem;
    }

    .error-404-actions {
        flex-direction: column;
    }

    .error-404-action-item {
        width: 100%;
    }
}

/* Tutorial-Design */

.driver-popover.tutorial-theme {
  background-color: #888;
  /* clip-path: polygon(0 .8rem, .8rem 0, 100% 0, 100% calc(100% - .8rem), calc(100% - .8rem) 100%, 0% 100%); */
  color: #fff;
  border-radius: 0;
}
.driver-popover.tutorial-theme button{
  flex: 1;
  text-align: center;
  background-color: #f56f21;
  color: #fff;
  border: 0;
  text-shadow: none;
  font-size: 14px;
  padding: 5px 8px;
  border-radius: 6px;
}
.driver-popover.tutorial-theme .driver-popover-close-btn {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  background-color: transparent;
  padding:.5rem;
  width:.8rem;
  height:.8rem;
  margin:.5rem;
  font-size: xx-large;
}

.driver-popover.tutorial-theme .driver-popover-close-btn:hover {
  color: #f56f21;
}
.driver-popover.tutorial-theme .driver-popover-title {
    font-family:AgencyBold;
    /* margin-bottom:1rem */
}
.driver-popover.tutorial-theme .driver-popover-footer {
    gap:8rem;
}
.driver-popover.tutorial-theme .driver-popover-progress-text {color:#0008}
.driver-popover.tutorial-theme .driver-popover-prev-btn {
    clip-path: polygon(0 .4rem, .4rem 0, 100% 0, 100% calc(100% - .4rem), calc(100% - .4rem) 100%, 0% 100%);
    color:#fff;
    font-family: AgencyBold;
    text-align:center;
    background:linear-gradient(to bottom right, #f69b6a 0%, #f36f21 50%, #f36f21 100%);
    background-position: center left;
    border-radius:0;
}
.driver-popover.tutorial-theme .driver-popover-btn-disabled{
    background:linear-gradient(to bottom right, #777 0%, #666 50%, #666 100%);
}
.driver-popover.tutorial-theme .driver-popover-next-btn {
    clip-path: polygon(0 .4rem, .4rem 0, 100% 0, 100% calc(100% - .4rem), calc(100% - .4rem) 100%, 0% 100%);
    color:#fff;
    font-family: AgencyBold;
    text-align:center;
    background:linear-gradient(to bottom right, #f69b6a 0%, #f36f21 50%, #f36f21 100%);
    background-position: center left;
    border-radius:0;
}

.driver-popover.tutorial-theme .driver-popover-arrow-side-left.driver-popover-arrow {border-left-color: #888; border-width: 1rem;}
.driver-popover.tutorial-theme .driver-popover-arrow-side-right.driver-popover-arrow {border-right-color: #888; border-width: 1rem;}
.driver-popover.tutorial-theme .driver-popover-arrow-side-top.driver-popover-arrow {border-top-color: #888; border-width: 1rem;}
.driver-popover.tutorial-theme .driver-popover-arrow-side-bottom.driver-popover-arrow {border-bottom-color: #888; border-width: 1rem;}

/* .driver-popover.tutorial-theme .driver-active-element {border: 1rem pink solid; outline-width: 1rem; outline-color: #2b8fff;} */