@media (max-width: 1200px) {
    .nav-link,
    .username {
        margin-right: 10px !important;
        padding: 6px 10px;
        font-size: 13px;
    }

    .badge {
        padding: 4px 8px;
        font-size: 13px;
    }

    .btn-calendar {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .ms-auto.d-flex.align-items-center {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-end;
    }

    .nav-separator {
        display: none;
    }

    .badge {
        order: -1;
    }

    .username {
        order: -1;
    }
}

@media only screen and (max-width: 1032px) {
    .container-kredity,
    .container-mujucet {
        padding-right: 16px;
        padding-left: 16px;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .navbar-brand-text {
        display: none;
    }

    .btn-calendar span {
        display: none;
    }


    .calendar-container {
        margin: 10px 0;
        padding: 10px;
        border-radius: 0;
    }

    .container {
        padding: 0 10px;
    }

    .filter-container {
        padding: 0 10px;
        flex-wrap: wrap;
    }

    .filter-group {
        flex: 1 1 100%;
        margin-bottom: 10px;
    }

    .coins-container svg {
        margin-right: 0px !important;
    }

    .dobit-kredity {
        position: relative;
        z-index: 10;
        padding: 16px 64px !important;
    }
}

@media only screen and (max-width: 620px) {
    .coins-container svg {
        margin-left: 50% !important;
        height: 80px !important;
        z-index: 1;
    }
}

@media only screen and (max-width: 540px) {
    .status-container {
        flex-direction: column;
        align-items: start !important;
    }

    .status-info h4 {
        margin-bottom: 8px !important;
    }

    .dobit-kredity {
        margin-top: 8px;
    }

    .coins-container svg {
        display: none;
    }

    .table th, td {
        padding: 8px !important;
    }

}


/* Filtry */
.filter-container {
    gap: 24px;
    margin: 24px 0;
    padding: 0 20px;
    width: fit-content;
    display: flex;
    justify-content: flex-start;
}

.filter-container select {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    height: 40px;
    min-width: 200px;
    background-color: white;
}

.filter-group {
    flex: 0 0 280px;
    width: 350px;
    margin-bottom: 20px;
}

.filter-group select {
    width: 100%;
}


.filter-label {
    display: block;
    text-transform: uppercase;
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-select {
    width: 75%;
    height: 40px;
    padding: 8px 12px;
    color: var(--primary-blue);
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}


/* ====== MŮJ ÚČET + KREDITY ====== */

.container-kredity,
.container-mujucet {
    margin-top: 50px;
    width: 1000px;
}

/* ====== MŮJ ÚČET ====== */

.btn-back {
    background: none;
    border: none;
    color: #003399;
    text-decoration: underline;
    cursor: pointer;
}

.btn-primary-mujucet {
    background-color: #003399;
    color: white;
    border: none;
    width: 85%;
    border-radius: 30px;
    padding: 12px;
    text-align: center;
    margin-left: 0;
}

.btn-primary-mujucet:hover {
    background-color: #002266;
    color: white;
}

/* ====== PLATBY A KREDITY ====== */

.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}


/* ====== NOVE HESLO CONTAINER ====== */

.container-noveheslo {
    max-width: 400px;
    margin: auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}


/* Zelený blok s aktuálním stavem */
.background-card {
    background: #D8F8E8;
    padding: 20px;
    padding-bottom: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    position: relative;
}

/* Kontejner pro text a tlačítko */
.status-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* button dobit kredity */
.dobit-kredity {
    padding: 20px 90px;
    font-size: 16px;
    color: white;
    background: #0E7F5C;
    border: none;
    border-radius: 50px;
    text-align: center;
}

/* Kontejner pro mince – umístěný doprostřed dole */
.coins-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.coins-container svg {
    width: 132px;
    height: auto;
}


/* ====== TABULKA ====== */
.table {
    font-size: 14px;
    border-collapse: collapse;
    /* Sloučí okraje buněk */
    width: 100%;
    background: white;
}

.table th,
.table td {
    padding: 16px 20px;
    border-bottom: 1px solid #E0E3F0;
    /* Jemné oddělení řádků */
    text-align: left;
}

/* Odstranění box-shadow na buňkách */
.table td {
    box-shadow: none;
}

/* ====== STAVY REZERVACÍ ====== */
.status-cancelled {
    color: red;
    font-weight: 400;
    font-size: 13px;
}

.status-success {
    color: #0E7F5C;
    font-weight: 400;
    font-size: 13px;
}

/* ====== TLAČÍTKO ZRUŠIT ====== */
.btn-cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FCE8E8;
    color: #D82C2C;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-cancel:hover {
    background-color: #F8D7DA;
    color: #C82333;
}

.btn-cancel svg {
    margin-right: 6px;
}

.pagination-controls {
    display: flex;
    gap: 10px;
}

.pagination-btn {
    background-color: transparent;
    border: 1px solid #A1B3CE;
    color: #A1B3CE;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: 0.2s ease-in-out;
}

.pagination-btn:hover {
    background-color: #E0E7FF;
    border-color: #6366F1;
    color: #6366F1;
}

.entries-dropdown .form-select {
    width: 70px;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background-color: #F9FAFB;
    color: #1F2937;
    cursor: pointer;
}


.card {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Zajištění konzistentního stylu nadpisů */
h2.heading-font {
    font-size: 30px;
    /* Zmenšení velikosti nadpisu */
    font-weight: 400;
    /* Nastavení méně tučného textu */
    color: #082654;
}


.background-card {
    background: #D8F8E8;
    height: 180px;
    margin-top: 20px;
    margin-bottom: 20px;
}

a {
    color: #082654;
}

.form-box {
    background: white;
    padding: 42px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px;
}

.input-group {
    background: #F6F7FB;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    padding: 10px;
    align-items: center;
    transition: border 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.input-group-text {
    background: transparent;
    border: none;
    font-size: 18px;
    color: #a1a5b3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.form-control:focus {
    outline: none;
    box-shadow: none;
}

.form-control, .form-select {
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 14px;
    color: #082654;
    padding: 8px 12px;
}

.forgot-password {
    margin-top: 15px;
    display: block;
    font-size: 14px;
}

.input-group-text svg {
    width: 20px;
    height: 20px;
    stroke: #A1B3CE;
}

.custom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 30px;
    border: 1px solid #DBDFE6;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 400;
    color: #082654;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.custom-btn:hover {
    background-color: #082654;
    color: white;
}

.custom-btn:hover .plus-icon {
    color: white;
}

.underline {
    text-decoration: underline;
}

.btn-kredit {
    background-color: var(--success-color);
    color: white;
}

/* ====== CENTROVÁNÍ FORMULÁŘE ====== */
.centered-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5px;
    min-height: calc(100vh - 100px);
}

.reservation-field label {
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    width: 120px;
    margin: 0;
}

.reservation-field span {
    color: var(--primary-blue);
    font-size: 14px;
}

/* Select boxy */
.form-group label {
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
}