#error-name, #error-email, #error-phone {
    text-align: left;
}
input[type="button"]:disabled {
    background-color: #25475f;
}
input#children, input#adults {
    background-color: #0a3652;
}

#branches {
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    overflow: hidden;
    transition: max-height 300ms ease, opacity 200ms ease, transform 200ms ease, margin-top 200ms ease;
    margin-top: 0;
    pointer-events: none;
    display: block;
}

#branches.branches-visible,
#branches.show {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 3rem;
    pointer-events: auto;
    overflow: visible;
}

#copyButtonVS, #copyButtonUcet {
    cursor: pointer;
}
text-success{
    color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
}

.custom-card-news {
    min-height: unset!important;
}

.cursor-pointer {
    cursor: pointer;
}

.nav-item:hover {
    text-decoration-thickness: 2px;
}
.button-interprets-all {
    color: var(--bs-light);
    border-color: var(--bs-light);
}

@media (max-width: 768px) {
    .pt-mobile-5 {
      padding-top: 5rem;
    }
  }
.navbar-toggler {
    padding-left: 5px;
}

.menu-icon {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-icon.hide {
    opacity: 0;
    transform: rotate(180deg);
}

.menu-icon.show {
    opacity: 1;
    transform: rotate(0deg);
}

@media (min-width: 768px) {
    .mobile-width-100 {
      width: auto !important; /* Nebo jiná hodnota podle potřeby */
    }
  }
  
  @media (max-width: 767.98px) {
    .mobile-width-100 {
      width: 100% !important;
    }
  }

:root {
    --stage-orange-color: #FB7E75;
    --stage-blue-color: #268FD1;
}

/* Page */

.schedule {
    /*padding: 1rem;*/
}


/* Header with day switch and info */

.schedule__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2.4rem;
}

.day-switch {
    padding: 1.25rem;
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 33rem;
}

.day-switch__button {
    font: inherit;
    border: none;
    outline: none !important;
    cursor: pointer;

    padding: 1rem;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 0.2rem;

    text-decoration: none;
    color: var(--white-color);
    line-height: 1.1;
    background-color: #0A3652;
}

.day-switch__button.active {
    background-color: var(--primary-color);
    border: 2px solid;
    border-image-source: linear-gradient(180deg, #FF6D92 0%, #EA5178 100%);
    border-image-slice: 1;
}

.day-switch__button-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.day-switch__button-text {
    font-size: 1rem;
    font-weight: 500;
}

.info {
    display: inline-flex;
    gap: 0.5rem;
    font-size: 0.938rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--white-color);
}

.info__text {
    margin: 0;
}

.info__icon {
    height: 1.2rem;
}


/* Timeline */

.schedule__timeline {
    position: relative;
    margin-top: 4.2rem;
    display: grid;
    grid-template-columns: auto auto;
    place-content: start center;
    gap: 1.1rem;
}


/* Time sidebar */

.schedule__timeline-time {
    --time-margin-top: 6.2rem;

    margin-top: var(--time-margin-top);
    height: calc(100% - var(--time-margin-top));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white-color);
}

.schedule__timeline-time>p {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #88A6BA;
}


/* Stages */

.schedule__timeline-stages {
    /*display: grid;
    gap: 0.625rem;
    grid-template-columns: repeat(4, 1fr);
    overflow-x: auto;
    justify-items: stretch;*/
    display: grid;
    gap: 0.625rem;

    grid-auto-flow: column;
    grid-auto-columns: 17.5rem;

    justify-content: center;

    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    width: 100%;
}

@media screen and (max-width: 767px) {
    .schedule__timeline-stages {
        justify-content: flex-start; /* na mobilu zarovnání vlevo */
        
        padding-left: 1rem;          /* trochu odsazení zleva */
    }
}



.stage {
    display: grid;
    gap: 0.125rem;
    width: 17.5rem;
}

.stage__header {
    height: 6.5rem;
    box-shadow: 0px 2px 0px 0px #FFFFFF40 inset;
}

.stage>div:not(:first-child) {
    height: 5rem;
    background-color: #0A3652;
    position: relative;
}

.stage__header {
    text-align: center;
    display: grid;
    place-content: center;
    text-transform: uppercase;
    color: var(--white-color);
}

/* Moneta */
.stage:nth-child(1) .stage__header {
    background-color: var(--primary-color);
}

/* Hyundai */
.stage:nth-child(2) .stage__header {
    background-color: var(--secondary-color);
}

/* Marlenka */
.stage:nth-child(3) .stage__header {
    background-color: var(--stage-orange-color);
}

/* Ctvrta */
.stage:nth-child(4) .stage__header {
    background-color: var(--stage-blue-color);
}

.stage__header-title {
    margin: 0;
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: 0.02em;
}

.stage__header-text {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}


/* Interpret cards */

.stage__interpret {
    position: absolute;
    width: 100%;
    z-index: 1;
    box-sizing: border-box;
    display: grid;
    place-content: center;
    place-items: center;
    text-align: center;
    gap: 0.2rem;

    text-decoration: none;
    line-height: 1.1;
    color: var(--white-color);

    border: 2px solid transparent;
    transition: border-color 150ms ease-in-out;
}

/* Moneta */
.stage:nth-child(1) .stage__interpret {
    --border-color: var(--primary-color);
    background-color: #644161;
}

/* Hyundai */
.stage:nth-child(2) .stage__interpret {
    --border-color: var(--secondary-color);
    background-color: #126277;
}

/* Marlenka */
.stage:nth-child(3) .stage__interpret {
    --border-color: var(--stage-orange-color);
    background-color: #6A5360;
}

/* Ctvrta */
.stage:nth-child(4) .stage__interpret {
    --border-color: var(--stage-blue-color);
    background-color: #155A85;
}

.stage__interpret:hover {
    color: var(--white-color);
    border-color: var(--border-color);
}

.stage__interpret-title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    max-width: fit-content;
}

.stage__interpret-title::before {
    content: "";
    position: absolute;
    bottom: 0.12rem;
    left: 0;
    right: 0;
    height: 0.012rem;
    background-color: white;
    opacity: 0;
    transition: opacity 150ms ease-in-out;
}

.stage__interpret-text {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;
}

.stage__interpret:hover .stage__interpret-title::before {
    opacity: 1;
}


/* Responsiveness */

@media screen and (max-width: 767px) {


    /* Header and day switch */

    .schedule__header {
        gap: 1.5rem;
    }

    .day-switch {
        padding: 0.625rem;
    }

    .day-switch__button-title {
        font-size: 1.063rem;
    }

    .day-switch__button-text {
        font-size: 0.938rem;
    }


    /* Stage */

    .stage {
        /*width: 15rem;*/
    }

    .stage>div:not(:first-child) {
        height: 3.75rem;
    }

    .stage__header {
        height: 4.74rem;
    }

    .stage__header-title {
        font-size: 1.375rem;
    }

    .stage__interpret-text {
        font-size: 0.75rem;
    }


    /* Timeline */

    .schedule__timeline {
        gap: 0.5rem;
        margin-top: 2.2rem;
    }

    .schedule__timeline-time {
        --time-margin-top: 4.4rem;
    }

    .schedule__timeline-stages {
        gap: 0.4rem;
    }


    /* 14px */

    .info,
    .stage__header-text,
    .schedule__timeline-time>p,
    .stage__interpret-title {
        font-size: 0.875rem;
    }

    .scroll-hint {
        position: fixed;
        left: 50%;
        background: rgba(255, 255, 255, 0.6);
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 12px;
        z-index: 10;
        /* animation: blink 1s infinite; */
        transform: translateX(-50%);
        bottom: 10px;
    }

    @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
    }

    .schedule__timeline::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.4));
    }    
}
.h4, h4 {
    font-size: calc(1rem + .3vw);
}
.h5, h5 {
    font-size: 1rem;
}
.custom-col {
    max-width: 50%;  /* maximálně 50 % šířky */
    width: 100%;     /* aby se to přizpůsobilo obsahu uvnitř */
    text-align: center; /* pokud chceš centrovat obsah textu */
}
#ticket-content .content .button-wrapper .btn-primary {
    padding: 15px 40px !important;
    font-family: Raleway;
    font-weight: 700;
    font-size: 19px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}
.valid-code {
color: #02da38 !important
}
button#pickup-location {
    background-color: #25475F;
    border-radius: 0px;
    color: #88A6BA;
    border: 0!important;
    border-bottom: 1px solid #3B698A!important;
}
button#pickup-location.show {
    border-color: unset;
}
.dropdown-branches ul li {
    background-color: #25475F;
    border-radius: 0px;
    border-bottom: 1px solid #3B698A;
}
.dropdown-branches ul li button {
color: #88A6BA !important;
}

button#pickup-location.show, button#pickup-location:active {
    border: 0!important;
    border-bottom: 1px solid #3B698A!important;
    color: #88A6BA !important;
}
button#pickup-location:active, .dropdown-branches ul li:hover{
    background-color: #1b384d!important;
}
.dropdown-branches .dropdown-item:focus, .dropdown-branches .dropdown-item:hover {
    color: unset;
    background-color: unset;
}

/* Zarovnání dropdownu se selectem a bez překrytí dalších inputů */
.dropdown-branches .dropdown-menu {
    position: static !important;
    width: 100% !important;
    min-width: 100% !important;
    margin-top: 0 !important;
    float: none !important;
    display: none;
}

.dropdown-branches.show .dropdown-menu {
    display: block !important;
    opacity: 1;
    pointer-events: auto;
}

.dropdown-branches .dropdown-menu.show {
    display: block !important;
    opacity: 1;
    pointer-events: auto;
}

.navbar-nav li {
    margin-bottom: 0;
}

.account-dropdown__toggle {
    transition: color 0.2s ease, transform 0.2s ease;
}

.account-dropdown__toggle:hover,
.account-dropdown__toggle:focus {
    color: #ff8aa9 !important;
    transform: translateY(-1px);
}

.account-dropdown__menu {
    margin-top: 0.8rem !important;
    min-width: 13.5rem;
    padding: 0.5rem;
    background:
        radial-gradient(circle at right top, rgba(33, 170, 176, 0.2), transparent 55%),
        rgba(5, 44, 70, 0.95);
    border: 1px solid rgba(136, 166, 186, 0.3);
    border-radius: 0.8rem;
    box-shadow: 0 18px 36px rgba(0, 9, 17, 0.4);
    backdrop-filter: blur(10px);
}

.account-dropdown__item {
    padding: 0.56rem 0.7rem;
    border-radius: 0.52rem;
    color: #d4e4ee;
    font-weight: 700;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.account-dropdown__item:hover,
.account-dropdown__item:focus {
    color: #ffffff;
    background: linear-gradient(160deg, rgba(234, 81, 120, 0.9), rgba(203, 71, 106, 0.9));
}

.account-dropdown .dropdown-divider {
    border-color: rgba(136, 166, 186, 0.25);
    margin: 0.45rem 0;
}

.account-dropdown__logout {
    border: 1px solid rgba(136, 166, 186, 0.35);
    color: #d4e4ee;
    background: rgba(18, 53, 77, 0.6);
    font-weight: 700;
}

.account-dropdown__logout:hover,
.account-dropdown__logout:focus {
    border-color: rgba(255, 109, 146, 0.6);
    background: rgba(234, 81, 120, 0.22);
    color: #ffffff;
}

/* Account pages */
.account-shell {
    background:
        radial-gradient(circle at right top, rgba(33, 170, 176, 0.16), transparent 52%),
        radial-gradient(circle at left bottom, rgba(234, 81, 120, 0.18), transparent 58%),
        rgba(4, 42, 68, 0.78);
    border: 1px solid rgba(136, 166, 186, 0.24);
    box-shadow: 0 22px 55px rgba(0, 11, 20, 0.28);
    backdrop-filter: blur(6px);
}

.account-shell--auth {
    max-width: 680px;
    margin: 0 auto;
}

.account-card {
    background: rgba(37, 71, 95, 0.42);
    border: 1px solid rgba(136, 166, 186, 0.2);
    border-radius: 0.75rem;
}

.account-alert {
    border-radius: 0.6rem;
}

.account-alert.alert-warning {
    background: linear-gradient(135deg, #ffb347 0%, #ff9800 100%);
    border: 1px solid rgba(255, 196, 91, 0.85);
    color: #1f2937;
}

.account-alert.alert-warning .btn-outline-dark {
    color: #1f2937;
    border-color: #1f2937;
    background: rgba(255, 255, 255, 0.35);
    font-weight: 700;
}

.account-alert.alert-warning .btn-outline-dark:hover,
.account-alert.alert-warning .btn-outline-dark:focus {
    color: #111827;
    border-color: #111827;
    background: rgba(255, 255, 255, 0.55);
}

.account-form .form-label {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.account-auth-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.account-auth-nav__item {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #a7c0d0;
    background: rgba(11, 45, 67, 0.88);
    border: 1px solid rgba(136, 166, 186, 0.26);
    border-radius: 0.6rem;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.72rem 0.9rem;
    transition: all 0.2s ease;
}

.account-auth-nav__item:hover {
    color: #ffffff;
    border-color: rgba(255, 109, 146, 0.5);
}

.account-auth-nav__item.is-active {
    color: #ffffff;
    background: linear-gradient(160deg, rgba(234, 81, 120, 0.95), rgba(203, 71, 106, 0.95));
    border-color: rgba(255, 109, 146, 0.75);
}

.account-btn-main {
    min-height: 48px;
}

.account-google-btn {
    border-radius: 0.5rem;
    font-weight: 700;
    min-height: 44px;
}

.account-filter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.account-filter-nav__item {
    border: 1px solid rgba(136, 166, 186, 0.3);
    border-radius: 999px;
    color: #b9cfdb;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.62rem 0.9rem;
    transition: all 0.2s ease;
}

.account-filter-nav__item:hover {
    color: #ffffff;
    border-color: rgba(255, 109, 146, 0.52);
}

.account-filter-nav__item.is-active {
    color: #ffffff;
    border-color: rgba(255, 109, 146, 0.8);
    background: rgba(234, 81, 120, 0.2);
}

.account-table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(0, 0, 0, 0.14);
    --bs-table-striped-color: #ffffff;
    --bs-table-color: #ffffff;
    --bs-table-border-color: rgba(136, 166, 186, 0.2);
}

.account-table thead th {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9fbbca;
    border-bottom-width: 1px;
}

.account-status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.account-status-badge.is-success {
    color: #b8ffdb;
    background: rgba(11, 122, 82, 0.42);
    border: 1px solid rgba(52, 199, 145, 0.42);
}

.account-status-badge.is-warning {
    color: #ffe4ac;
    background: rgba(138, 95, 0, 0.35);
    border: 1px solid rgba(248, 190, 61, 0.48);
}

.account-status-badge.is-danger {
    color: #ffd0d8;
    background: rgba(146, 28, 58, 0.35);
    border: 1px solid rgba(244, 87, 133, 0.48);
}

.account-orders-list {
    display: grid;
    gap: 0.8rem;
}

.account-detail-list {
    display: grid;
    gap: 0.58rem;
}

.account-detail-list > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(136, 166, 186, 0.16);
    padding-bottom: 0.46rem;
}

.account-detail-list > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.account-detail-list dt {
    color: #90adbf;
    font-weight: 500;
}

.account-detail-list dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.account-bank-transfer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 1rem;
    align-items: start;
}

.account-bank-transfer__qr {
    background: rgba(8, 43, 66, 0.72);
    border: 1px solid rgba(136, 166, 186, 0.22);
    border-radius: 0.65rem;
    padding: 0.75rem;
}

.account-bank-transfer__qr-image {
    display: block;
    width: 100%;
    max-width: 170px;
    height: auto;
    margin: 0 auto;
    border-radius: 0.4rem;
}

.account-copy-feedback {
    min-width: 82px;
}

.ticket-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.ticket-preview-item {
    display: grid;
    gap: 0.45rem;
}

.ticket-preview-thumb-wrap {
    width: 100%;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(136, 166, 186, 0.28);
    border-radius: 0.45rem;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ticket-preview-thumb-wrap:hover,
.ticket-preview-thumb-wrap:focus {
    transform: translateY(-1px);
    border-color: rgba(255, 109, 146, 0.6);
    box-shadow: 0 12px 26px rgba(2, 14, 25, 0.35);
}

.ticket-preview-thumb {
    width: 100%;
    display: block;
    aspect-ratio: 3.4 / 1;
    object-fit: cover;
    background: rgba(4, 30, 48, 0.9);
}

.ticket-preview-thumb--iframe {
    border: 0;
    pointer-events: none;
}

.ticket-preview-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
}

.ticket-preview-meta__code {
    font-size: 0.75rem;
    color: #adc8d8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.ticket-preview-download-link {
    justify-self: center;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    border: 1px solid rgba(136, 166, 186, 0.35);
    border-radius: 999px;
    padding: 0.22rem 0.62rem;
    background: rgba(18, 53, 77, 0.6);
}

.ticket-preview-download-link:hover,
.ticket-preview-download-link:focus {
    color: #fff;
    border-color: rgba(255, 109, 146, 0.6);
    background: rgba(234, 81, 120, 0.22);
}

@media (max-width: 767.98px) {
    .account-shell {
        border-radius: 0.75rem;
    }

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

    .account-bank-transfer {
        grid-template-columns: 1fr;
    }

}
