.right-form-login{
    position: unset;
}

.right-form-login form{
    width: 100%;
}

.right-form-login .form-footer{
    margin-top: 30px;
}


@media (max-width: 992px) {
    .hero-right.right-form-login {
        max-width: 600px;
        margin: 0 auto;
        width: auto;
        min-width: 369px;
    }
}


form .form-error {
    background-color: #ffeaea;   /* světle červené pozadí pro chybu */
    color: #b00020;              /* tmavě červený text */
    border: 1px solid #e0a0a0;   /* decentní rámeček */
    padding: 10px 14px;
    margin-top: 8px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 20px;
    width: 100%;
}



/* Dropdown panel – defaultně schovaný */
.sidebar-nav > li.dropdown > .dropdown-menu,
.main-menu > li.dropdown > .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    max-width: 320px;
    display: none;            /* klíčové */
    visibility: hidden;
    opacity: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    z-index: 9999;
    transition: none;         /* žádné animace */
}

/* Viditelný stav řízený JS (třída .is-open na LI) */
.sidebar-nav > li.dropdown.is-open > .dropdown-menu,
.main-menu > li.dropdown.is-open > .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    padding-bottom: 20px;
}

/* Položky v dropdownu – větší klik zóna */
.sidebar-nav .dropdown-menu li,
.main-menu .dropdown-menu li {
    display: block;
}
.sidebar-nav  .dropdown-menu a,
.main-menu .dropdown-menu a {
    display: block;
    padding: 22px 16px;
    line-height: 1.5;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
}

.sidebar-nav  .dropdown-menu a:hover,
.sidebar-nav  .dropdown-menu a:focus
.main-menu .dropdown-menu a:hover,
.main-menu .dropdown-menu a:focus { background: #f5f5f5; }

/* Když je dropdown poslední nebo má align-right, zarovnej panel doprava */
.sidebar-nav   > li.dropdown:last-child > .dropdown-menu,
.sidebar-nav   > li.dropdown.align-right > .dropdown-menu
.main-menu > li.dropdown:last-child > .dropdown-menu,
.main-menu > li.dropdown.align-right > .dropdown-menu {
    left: auto;
    right: 0;
}


.main-menu > li.dropdown.is-open > .dropdown-toggle::after {
    transform: rotate(180deg);
}

.main-menu > li.dropdown a:hover::after {
    width: 0%;
}

#ajax-loader {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(30, 30, 34, 0.9);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    font: 500 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    pointer-events: none;

    /* animace zjev/zmiz */
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease;
}

/* viditelný stav */
#ajax-loader.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* spinner (CSS, bez obrázků) */
#ajax-loader .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-right-color: #fff;
    border-radius: 50%;
    animation: spin .6s linear infinite;
}

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

/* respektuj uživatele s omezenými animacemi */
@media (prefers-reduced-motion: reduce) {
    #ajax-loader { transition: none; }
    #ajax-loader .spinner { animation: none; border-right-color: transparent; }
}


.flash-container {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 340px;
    width: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flash-container {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 500px;
    width: calc(100% - 40px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.flash {
    font-family: "Baloo Bhaijaan 2", sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 100%;
    box-sizing: border-box;
    animation: slideIn 0.35s ease-out, fadeOut 0.5s ease-in forwards;
    animation-delay: 0s, 4.5s;

    background: #e8fdf3;
    border: 1px solid #b6f0cf;
    color: #0f5132;
}

.flash-icon {
    margin-right: 10px;
    font-size: 18px;
}

.flash-text {
    flex: 1;
}

.flash-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
    padding: 0 5px;
    line-height: 1;
}

/* ❌ error varianta */
.flash-error {
    background: #fde8e8;
    border: 1px solid #f5b5b5;
    color: #842029;
}

/* Animace */
@keyframes slideIn {
    from { opacity: 0; transform: translateX(100%); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(100%); }
}


/* ROW */
.row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0; /* žádné záporné okraje, ať to nerozbíjí layout */
    padding: 0;
}

/* Všechny sloupce */
[class*="col-"] {
    flex: 0 0 auto;
    padding: 0.5rem; /* volitelný vnitřní padding */
    box-sizing: border-box;
}

/* ---- GRID SIZES ---- */

/* základ: col-12 (celá šířka) */
.col-12 { flex-basis: 100%; max-width: 100%; }
.col-6  { flex-basis: 50%;  max-width: 50%; }
.col-4  { flex-basis: 33.3333%; max-width: 33.3333%; }
.col-3  { flex-basis: 25%;  max-width: 25%; }

/* ---- BREAKPOINTS ---- */
/* malé obrazovky (≥576px) */
@media (min-width: 576px) {
    .col-sm-12 { flex-basis: 100%; max-width: 100%; }
    .col-sm-6  { flex-basis: 50%; max-width: 50%; }
    .col-sm-4  { flex-basis: 33.3333%; max-width: 33.3333%; }
    .col-sm-3  { flex-basis: 25%; max-width: 25%; }
}

/* střední (≥768px) */
@media (min-width: 768px) {
    .col-md-12 { flex-basis: 100%; max-width: 100%; }
    .col-md-6  { flex-basis: 50%; max-width: 50%; }
    .col-md-4  { flex-basis: 33.3333%; max-width: 33.3333%; }
    .col-md-3  { flex-basis: 25%; max-width: 25%; }
}

/* velké (≥992px) */
@media (min-width: 992px) {
    .col-lg-12 { flex-basis: 100%; max-width: 100%; }
    .col-lg-6  { flex-basis: 50%; max-width: 50%; }
    .col-lg-4  { flex-basis: 33.3333%; max-width: 33.3333%; }
    .col-lg-3  { flex-basis: 25%; max-width: 25%; }
}

/* extra velké (≥1200px) */
@media (min-width: 1200px) {
    .col-xl-12 { flex-basis: 100%; max-width: 100%; }
    .col-xl-6  { flex-basis: 50%; max-width: 50%; }
    .col-xl-4  { flex-basis: 33.3333%; max-width: 33.3333%; }
    .col-xl-3  { flex-basis: 25%; max-width: 25%; }
}

/* ALIGNMENT UTILITIES */
.text-center {
    text-align: center !important;
}
.text-left {
    text-align: left !important;
}
.text-right {
    text-align: right !important;
}

:root {
    --spacer: 0.25rem; /* základní jednotka */
}

/* Margin Top (mt-) */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: calc(var(--spacer) * 1) !important; }
.mt-2 { margin-top: calc(var(--spacer) * 2) !important; }
.mt-3 { margin-top: calc(var(--spacer) * 3) !important; }
.mt-4 { margin-top: calc(var(--spacer) * 4) !important; }
.mt-5 { margin-top: calc(var(--spacer) * 5) !important; }

/* Margin Bottom (mb-) */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: calc(var(--spacer) * 1) !important; }
.mb-2 { margin-bottom: calc(var(--spacer) * 2) !important; }
.mb-3 { margin-bottom: calc(var(--spacer) * 3) !important; }
.mb-4 { margin-bottom: calc(var(--spacer) * 4) !important; }
.mb-5 { margin-bottom: calc(var(--spacer) * 5) !important; }

/* Margin Left (ml-) a Right (mr-) */
.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: calc(var(--spacer) * 1) !important; }
.ml-2 { margin-left: calc(var(--spacer) * 2) !important; }
.ml-3 { margin-left: calc(var(--spacer) * 3) !important; }
.ml-4 { margin-left: calc(var(--spacer) * 4) !important; }
.ml-5 { margin-left: calc(var(--spacer) * 5) !important; }

.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: calc(var(--spacer) * 1) !important; }
.mr-2 { margin-right: calc(var(--spacer) * 2) !important; }
.mr-3 { margin-right: calc(var(--spacer) * 3) !important; }
.mr-4 { margin-right: calc(var(--spacer) * 4) !important; }
.mr-5 { margin-right: calc(var(--spacer) * 5) !important; }

/* Padding Top (pt-) a Bottom (pb-) */
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: calc(var(--spacer) * 1) !important; }
.pt-2 { padding-top: calc(var(--spacer) * 2) !important; }
.pt-3 { padding-top: calc(var(--spacer) * 3) !important; }
.pt-4 { padding-top: calc(var(--spacer) * 4) !important; }
.pt-5 { padding-top: calc(var(--spacer) * 5) !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: calc(var(--spacer) * 1) !important; }
.pb-2 { padding-bottom: calc(var(--spacer) * 2) !important; }
.pb-3 { padding-bottom: calc(var(--spacer) * 3) !important; }
.pb-4 { padding-bottom: calc(var(--spacer) * 4) !important; }
.pb-5 { padding-bottom: calc(var(--spacer) * 5) !important; }


a {
    color: #000;              /* černá barva */
    text-decoration: underline; /* podtržení */
}

a:hover,
a:focus {
    color: #333;              /* lehce světlejší/šedší na hover */
    text-decoration: underline;
}

a:visited {
    color: #000;
}

a.btn-hero{
    color: white;
    text-decoration: none;
}

.read-more-btn{
    color: white !important;
}

.blog-first::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* černý průhledný overlay */
}

.main-menu a.active {
    color: var(--primary-green);
}
.account-menu {
    list-style: none; /* vypne defaultní puntíky */
    margin-left: 0;
    padding-left: 0;
}

.account-menu li {
    margin-top: 10px;
    position: relative;
    padding-left: 24px; /* místo pro ikonu */
}

.account-menu li::before {
    content: "›"; /* šipka, můžeš dát i ikonku přes fontawesome */
    position: absolute;
    left: 0;
    top: 0;
    color: #0073e6; /* hezká modrá */
    font-weight: bold;
}

.account-menu {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.form-grid-button a.active {
    background-color: rgb(238, 253, 242);
    border: 2px solid var(--primary-green);
}

.btn-action{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background-color: #3fb84b;
    border-radius: 999px;
    border: none;
    height: 50px;
    color: white !important;
    line-height: 50px;
    width: 100%;
    gap: 15px;
    cursor: pointer;
    transition: color 0.3s, text-decoration 0.3s;
    padding: 0px 23px;
    text-decoration: none;
}

.btn-action:hover{
    text-decoration: underline;
    color: white;
    line-height: 50px;
    width: 100%;
    gap: 15px;
    cursor: pointer;
    transition: color 0.3s, text-decoration 0.3s;
    padding: 0px 23px;
}

.contract-list{
    height: auto;
}
.contract-list p{
margin-top: 7px;
    font-size: 15px;
}
.contract-list small{
    color: gray;
}

.contract-list .btns{
    margin-top: 8px;
    border-top: 1px solid silver;
    padding-top: 15px;
}

.contract-list .btns a{
    float: right;
    border: 1px solid black;
    color: black;
    text-decoration: none;
    margin-right: 20px;
    padding: 5px 10px;
    border-radius: 120px;
    font-size: 15px;
}

.contract-list .btns a:hover{
    color: #3fb84b;
    border-color: #3fb84b;
}



@media (max-width: 1400px) {
    .btn-hp-second-custom{
        color: #3fb84b !important;
    }
    .btn-hp-second-custom:hover{
        color: black !important;
        text-decoration: none;
    }

    .btn-hp-first-custom{
        color: white !important;
    }
    .btn-hp-first-custom:hover{
        color: black !important;;
    }

    .btn-hp-first-custom:hover svg path{
        fill: black !important;
    }
}

.btn-green-philosophy{
    color: white !important;;
}

.btn-green-camera{
    padding: 15px;
    color: white !important;;
}


.account-container{
    padding-top: 82px;
}

@media (max-width: 1000px) {
    .account-container{
        padding-top: 52px;
    }
}


.sidebar-nav a:hover{
    text-decoration: none;
}
@media (max-width: 900px) {
    .row-account {
        display: block;
    }
}

@media (max-width: 600px) {
    .simple-box{
        flex-direction: row !important;
    }
}


#selectButton{
    line-height: 22px;
    font-size: 15px;
    padding: 9px 42px;
    width: auto;
    height: auto;
    background: #3fb84b;
    color: white;
}

#selectButton:hover{
    line-height: 22px;
    font-size: 15px;
    padding: 9px 42px;
    width: auto;
    height: auto;
    background: var(--light-green-bg) !important;
    color: black !important;
    border: none !important;
}

#selectButton svg{
    position: relative;
    top: 0px;
    margin-left: 20px;
}

#photoTooltip{
    position: relative;
    top: 2px;
    margin-left: 9px;
    color: black;
}


/* HTML: <div class="loader"></div> */
.loader {
    width: 20px;
    height: 50px;
    aspect-ratio: 1;
    background: #3fb84b;
    box-shadow: 0 0 60px 15px #3fb84b;
    transform: translate(-80px);
    clip-path: inset(0);
    animation:
            l4-1 0.5s ease-in-out infinite alternate,
            l4-2 1s   ease-in-out infinite;
}
@keyframes l4-1 {
    100% {transform: translateX(80px)}
}
@keyframes l4-2 {
    33% {clip-path: inset(0 0 0 -100px)}
    50% {clip-path: inset(0 0 0 0)     }
    83% {clip-path: inset(0 -100px 0 0)}
}

#preview {
    position: relative;
    overflow: hidden;
}

/* zelený široký pruh */
.scan-beam {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 40%; /* tloušťka pruhu */
    background: linear-gradient(
            to bottom,
            rgba(0, 255, 0, 0) 0%,
            rgba(0, 255, 0, 0.4) 50%,
            rgba(0, 255, 0, 0) 100%
    );
    animation: scan-move 3s linear infinite;
    pointer-events: none;
}

@keyframes scan-move {
    0%   { top: -50%; }
    100% { top: 110%; }
}

.analyze{
    color: black;
    font-weight: bold;
}

.footer-container{
    padding-bottom: 0px;
    padding-right: 0px;
    padding-left: 0px;

}

.footer-contact{
    background-color: white;
    margin-top: 40px;
}

.footer-container .footer-title{
    padding-left: 20px;
    padding-right: 20px;
}

.footer-container .sc-links-container{
    padding-left: 20px;
    padding-right: 20px;
}

.footer-contact{
    padding: 2rem;
}

.footer-contact .footer-inner-3col {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px;
}

.footer-contact .footer-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Levý sloupec odkazy – zarovnání vlevo + underline */
.footer-contact .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left; /* <-- zarovná odkazy vlevo */
}
.footer-contact .footer-links li a {
    text-decoration: underline; /* <-- klasické podtržení */
    color: inherit;
}
.footer-contact .footer-links li a:hover {
    opacity: 0.7; /* jemný hover efekt */
}


/* Střední sloupec – app store loga */
.footer-contact .footer-app-title {
    font-weight: 600;
    margin-bottom: 8px;
}
.footer-contact .footer-app-buttons {
    display: flex;
    gap: 12px;
}
.footer-contact .app-badge img {
    height: 36px; /* upravit dle real log */
    display: block;
}

/* Pravý sloupec */
.footer-contact .footer-right a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
    color: inherit;
}
.footer-contact .footer-right a:hover {
    border-bottom-color: currentColor;
}

/* Responsivita pro mobil */
@media(max-width: 768px) {
    .footer-contact .footer-inner-3col {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: left;
    }
    .footer-contact .footer-right {
        align-items: flex-start;
    }
}


/* VŠE POUZE POD .terms-page */
.terms-page {
    --content-max: 1200px;
    --pad-top-desktop: 150px;
    --pad-top-mobile: 100px;
    --text-color: var(--text-gray, #444);
    --border-color: rgba(0, 0, 0, .08);

    color: var(--text-color);
    display: block;
    padding-top: var(--pad-top-desktop);
}

@media (max-width: 768px) {
    .terms-page {
        padding-top: var(--pad-top-mobile);
    }
}

/* Vnitřní kontejner */
.terms-page .terms-wrap {
    max-width: var(--content-max);
    margin: 0 auto;
    background: #fff;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    padding: 24px;
}

@media (max-width: 768px) {
    .terms-page .terms-wrap {
        padding: 16px;
    }
}

/* Typografie – základ */
.terms-page h1,
.terms-page h2,
.terms-page h3,
.terms-page h4,
.terms-page h5,
.terms-page h6 {
    color: var(--text-color);
    margin: 0 0 .6em 0;
    line-height: 1.25;
    font-weight: 600;
}

.terms-page h1 { font-size: 2rem; }
.terms-page h2 { font-size: 1.5rem; margin-top: 1.6em; }
.terms-page h3 { font-size: 1.25rem; margin-top: 1.2em; }
.terms-page h4 { font-size: 1.125rem; margin-top: 1.1em; }
.terms-page h5 { font-size: 1rem; margin-top: 1em; }
.terms-page h6 { font-size: .95rem; margin-top: 1em; }

.terms-page p {
    margin: 0 0 1em 0;
}

.terms-page strong,
.terms-page b {
    font-weight: 600;
}

/* Odkazy */
.terms-page a {
    color: inherit;
    text-decoration: underline;
}
.terms-page a:hover,
.terms-page a:focus {
    opacity: .85;
}

/* Seznamy */
.terms-page ul,
.terms-page ol {
    margin: 0 0 1em 0;
    padding-left: 1.25em;
}
.terms-page li { margin: .25em 0; }

/* TOC (obsah) */
.terms-page .terms-toc {
    margin: 0 0 1.25rem 0;
    padding: .75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #fff;
}
.terms-page .terms-toc ul {
    list-style: disc;
    padding-left: 1.25em;
    margin: 0;
}

/* Sekce + offset pro kotvy (scrolluje pod fixní header) */
.terms-page .terms-section {
    margin: 1.5rem 0;
    scroll-margin-top: var(--pad-top-desktop);
}
@media (max-width: 768px) {
    .terms-page .terms-section {
        scroll-margin-top: var(--pad-top-mobile);
    }
}

/* Tabulky (lehké) */
.terms-page .terms-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
}
.terms-page .terms-content th,
.terms-page .terms-content td {
    padding: .6rem .5rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
    text-align: left;
}
.terms-page .terms-content th {
    font-weight: 600;
}

/* Responsivní přetečení tabulek */
.terms-page .terms-content table {
    display: table;
}
@media (max-width: 768px) {
    .terms-page .terms-content {
        overflow-x: auto;
    }
    .terms-page .terms-content table {
        min-width: 600px; /* jen když je potřeba horizontální scroll */
    }
}

/* Obrázky a media uvnitř textu */
.terms-page .terms-content img,
.terms-page .terms-content video,
.terms-page .terms-content svg {
    max-width: 100%;
    height: auto;
}

/* Kód / pre (kdyby se v textu objevilo) */
.terms-page code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .95em;
    background: rgba(0,0,0,.04);
    padding: .1em .3em;
    border-radius: 3px;
}
.terms-page pre {
    margin: 1em 0;
    padding: .75rem;
    background: rgba(0,0,0,.04);
    border-radius: 4px;
    overflow: auto;
}

/* Oddělovač (pokud by byl v obsahu) */
.terms-page hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 1.5rem 0;
}


.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 6px rgba(0,0,0,.08);
    border-top: 1px solid rgba(0,0,0,.1);
    z-index: 9999;
    font-size: 14px;
    color: var(--text-gray, #444);
    transition: transform 0.3s ease;
    transform: translateY(100%);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.cookie-consent p {
    margin: 0;
    line-height: 1.4;
}

.cookie-consent button {
    background: var(--primary-green);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.cookie-consent button:hover {
    opacity: .8;
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }
}


.footer-body{
    max-width: unset;
}

