@charset "UTF-8";
/* =====================================================
   ZÁKLAD POUZE PRO OBCHODNÍ PODMÍNKY + PRIVACY POLICY
===================================================== */

:root {
    --app-background: #eef0f3;
    --app-text: #17191d;

    --safe-top: 0px;
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: 0px;
    --safe-left: env(safe-area-inset-left, 0px);
}

html,
body {
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

html {
    background: var(--app-background);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    overflow: hidden;
    color: var(--app-text);
    background: var(--app-background);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    font-size: 16px;
    overscroll-behavior: none;
    -webkit-tap-highlight-color: transparent;
}

button,
input {
    font: inherit;
}

button {
    padding: 0;
    border: 0;
    color: inherit;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible {
    outline: 3px solid rgba(48, 125, 246, 0.45);
    outline-offset: 3px;
}

/* =====================================================
   SPOLEČNÁ HORNÍ LIŠTA
===================================================== */
.services-top-fixed {
position: relative;
    z-index: 50;

    flex: 0 0 auto;

    width: 100%;

    padding:
        calc(12px + var(--safe-top, 0px))
        calc(14px + var(--safe-right, 0px))
        0px
        calc(14px + var(--safe-left, 0px));

    box-sizing: border-box;

    background: #f4f4f4;
 

    box-shadow:
        0 5px 14px  rgba(0,0,0,0.0);
}

.services-header {
position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 64px;

    padding: 8px 16px;

    box-sizing: border-box;

    background: #1d1a1b;

    border-radius: 8px;

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.2);
}

.services-header__back {
display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: transparent;

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;
}

.services-header__back-image {
display: block;

    width: 36px;
    height: 36px;

    object-fit: contain;
 

    pointer-events: none;
}

.services-header__logo {
display: flex;
    align-items: center;
    justify-content: flex-end;

    min-width: 120px;
    min-height: 42px;
}

.services-header__logo-image {
display: block;

    width: auto;
    max-width: 150px;
    height: 42px;

    object-fit: contain;
}

.services-title {
display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 38px;

    margin-top: 12px;
    padding: 7px 12px ;

    box-sizing: border-box;

    color: #ffd400;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;

    background: #1d1a1b;

    border-radius: 7px;

    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.14);
}

/* =====================================================
   OBAL PRÁVNÍCH STRÁNEK
===================================================== */
.registration-screen {
position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    overflow: hidden;

    background: #ffffff;
    color: #111827;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    box-sizing: border-box;
}

.registration-screen *,
.registration-screen *::before,

.registration-screen *::after {
box-sizing: border-box;
}

.registration-screen__inner {
position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 620px;

    height: 100%;
    min-height: 0;

    margin: 0 auto;
    padding: 0;

    overflow: hidden;

    background: #ffffff;
}

.registration-content {
position: relative;

    display: block;
    flex: 1 1 auto;

    width: 100%;

    min-width: 0;
    min-height: 0;

    margin: 0;

    padding:
        24px
        calc(14px + var(--safe-right, 0px))
        calc(45px + var(--safe-bottom, 0px))
        calc(14px + var(--safe-left, 0px));

    overflow-x: hidden;
    overflow-y: auto;

    background: #f4f4f4;

    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
}

.pwa-registration-page {
position: relative;

    display: block;

    width: 100%;
    min-height: 100%;

    margin: 0;
    padding: 0;

    overflow: visible;

    background: transparent;
    color: #111827;
}

.pwa-registration-page.is-open {
display: block;
}

.pwa-registration-inner {
width: 100%;
    min-height: 0;

    margin: 0;
    padding: 0;
}

.pwa-registration-card {
width: 100%;

    margin: 0;
    padding: 28px 22px;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;

    text-align: left;

    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16);
}

/* =====================================================
   SPOLEČNÉ ACCOUNT TŘÍDY POUŽITÉ PRÁVNÍMI STRÁNKAMI
===================================================== */
.account-screen {
background: #ffffff;
}

.account-content {
background: #f4f4f4;
}

.account-card {
margin: 0;
}

/* =====================================================
   ÚZKÉ TELEFONY
===================================================== */
@media (max-width: 370px) {
    .services-top-fixed {
    padding:
                calc(10px + var(--safe-top, 0px))
                calc(10px + var(--safe-right, 0px))
                10px
                calc(10px + var(--safe-left, 0px));
    }

    .services-header {
    min-height: 56px;

            padding: 6px 12px;
    }

    .services-header__back {
    width: 40px;
            height: 40px;
    }

    .services-header__back-image {
    width: 32px;
            height: 32px;
    }

    .services-header__logo-image {
    max-width: 125px;
            height: 36px;
    }

    .services-title {
    min-height: 34px;

            margin-top: 9px;

            font-size: 14px;
    }

    .registration-content {
    padding:
                18px
                calc(10px + var(--safe-right, 0px))
                calc(38px + var(--safe-bottom, 0px))
                calc(10px + var(--safe-left, 0px));
    }

    .pwa-registration-card {
    padding: 22px 16px;
            border-radius: 21px;
    }

}

/* =====================================================
   PRÁVNÍ STRÁNKY – OBCHODNÍ PODMÍNKY + PRIVACY POLICY
===================================================== */
.legal-content {
padding-bottom:
        calc(30px + env(safe-area-inset-bottom));
}

.legal-card {
width: 100%;
    padding: 15px;

    box-sizing: border-box;
}

.legal-language-radio {
position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.legal-language-tabs {
width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-bottom: 21px;
    padding: 5px;

    border-radius: 15px;

    background: #edf0f4;

    box-sizing: border-box;
}

.legal-language-tab {
min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 12px;

    border-radius: 11px;

    color: #687386;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;

    text-align: center;

    cursor: pointer;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

#taxisoft-terms-cz:checked
~ .legal-language-tabs
label[for="taxisoft-terms-cz"],

#taxisoft-terms-en:checked
~ .legal-language-tabs
label[for="taxisoft-terms-en"],

#taxisoft-privacy-cz:checked
~ .legal-language-tabs
label[for="taxisoft-privacy-cz"],

#taxisoft-privacy-en:checked
~ .legal-language-tabs
label[for="taxisoft-privacy-en"] {
background: #111113;
    color: #ffffff;

    box-shadow:
        0 6px 16px
        rgba(17, 17, 19, 0.18);
}

.legal-language-panel {
display: none;
}

#taxisoft-terms-cz:checked
~ .legal-language-panel--terms-cz {
display: block;
}

#taxisoft-terms-en:checked
~ .legal-language-panel--terms-en {
display: block;
}

#taxisoft-privacy-cz:checked
~ .legal-language-panel--privacy-cz {
display: block;
}

#taxisoft-privacy-en:checked
~ .legal-language-panel--privacy-en {
display: block;
}

.legal-heading {
width: 100%;

    margin-bottom: 19px;

    text-align: center;
}

.legal-heading__date {
display: block;

    margin-bottom: 8px;

    color: #8a93a2;

    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
}

.legal-heading__title {
margin: 0;

    color: #111827;

    font-size: 22px;
    line-height: 1.25;
    font-weight: 900;
}

.legal-heading__subtitle {
margin: 10px 0 0;

    color: #697386;

    font-size: 13px;
    line-height: 1.55;
    font-weight: 600;
}

.legal-company-box {
width: 100%;

    margin: 22px 0 28px;
    padding: 21px 24px;

    border: 0;
    border-left: 7px solid #f3a611;
    border-radius: 20px;

    background: #f7f8fa;

    box-shadow: none;

    box-sizing: border-box;
}

.legal-company-box__title {
display: none;
}

.legal-company-box__row {
width: 100%;

    display: flex;
    align-items: baseline;
    flex-wrap: wrap;

    gap: 5px;

    margin: 0;
    padding: 3px 0;

    border: 0;

    box-sizing: border-box;
}

.legal-company-box__row span {
color: #172033;

    font-size: 15px;
    line-height: 1.5;
    font-weight: 900;

    white-space: nowrap;
}

.legal-company-box__row span::after {
content: ":";
}

.legal-company-box__row strong {
min-width: 0;

    color: #263247;

    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;

    text-align: left;

    overflow-wrap: anywhere;
    word-break: normal;
}

.legal-text {
width: 100%;
}

.legal-section {
width: 100%;

    margin-bottom: 13px;
    padding: 16px;

    border: 1px solid #e0e5eb;
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 5px 16px
        rgba(15, 23, 42, 0.045);

    box-sizing: border-box;
}

.legal-section:last-child {
margin-bottom: 0;
}

.legal-section h2 {
margin: 0 0 11px;

    color: #111827;

    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
}

.legal-section p {
margin: 0 0 11px;

    color: #606b7e;
  text-align: left;
    font-size: 13px;
    line-height: 1.62;
    font-weight: 600;
}

.legal-section p:last-child {
margin-bottom: 0;
}

.legal-section strong {
color: #30394a;
    font-weight: 900;
}

.legal-section ul {
margin: 0;
    padding: 0;

    list-style: none;
}

.legal-section li {
position: relative;

    margin-bottom: 9px;
    padding-left: 18px;

    color: #606b7e;
text-align: left;
    font-size: 13px;
    line-height: 1.58;
    font-weight: 600;
}

.legal-section li:last-child {
margin-bottom: 0;
}

.legal-section li::before {
content: "";

    position: absolute;
    top: 8px;
    left: 0;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #f4c400;
}

.legal-related-button {
width: 100%;
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 14px;
    padding: 10px 14px;

    border: 0;
    border-radius: 13px;

    background: #071633;
    color: #ffffff;

    font-family: inherit;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 900;

    text-align: center;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}

.legal-related-button:active {
transform: scale(0.985);
}

@media (max-width: 480px) {
    .legal-company-box {
    margin-top: 19px;
            margin-bottom: 25px;

            padding: 18px 19px;

            border-left-width: 6px;
            border-radius: 18px;
    }

    .legal-company-box__row {
    padding: 2px 0;
    }

    .legal-company-box__row span,
        .legal-company-box__row strong {
    font-size: 14px;
            line-height: 1.5;
    }

}

@media (max-width: 360px) {
    .legal-company-box {
    padding: 16px;
    }

    .legal-company-box__row {
    display: block;
    }

    .legal-company-box__row span,
        .legal-company-box__row strong {
    display: inline;
    }

}

@media (max-width: 480px) {
    .legal-card {
    padding: 13px;
    }

    .legal-heading__title {
    font-size: 20px;
    }

    .legal-company-box {
    padding: 13px;
    }

    .legal-section {
    padding: 14px;
            border-radius: 14px;
    }

    .legal-section h2 {
    font-size: 14px;
    }

    .legal-section p,
        .legal-section li {
    font-size: 12.5px;
    }

}

@media (max-width: 360px) {
    .legal-company-box__row {
    grid-template-columns: 1fr;
            gap: 3px;
    }

    .legal-company-box__row strong {
    text-align: left;
    }

}