.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;
    }
}


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;
}