.btn-calendar {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
}

.btn-calendar:hover {
    background-color: #002b80;
    color: white;
}

/* Přihlašovací a registrační tlačítka */
.btn-login,
.btn-signup {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login {
    background-color: var(--primary-blue);
    color: white;
    border: none;
}

.btn-login:hover {
    background-color: #002b80;
    color: white;
}

.btn-signup {
    background-color: white;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.btn-signup:hover {
    background-color: #f8f9fa;
}

/* Power Button */
.power-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #dc3545;
}

.power-btn:hover {
    background-color: #dc3545;
}

.power-btn:hover svg {
    stroke: white;
}

.container {
    padding: 0 20px;
}

/* Kalendář */
.calendar-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    padding: 20px;
    margin: 14px auto;
    width: fit-content;
    min-width: 100%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 7px 15px;
}

.calendar-title {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}


.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: auto;
    height: 40px;
    color: var(--primary-blue);
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.modal-select .form-select {
    height: auto;
}

.js-error-message {
    margin-top: 8px;
    text-align: center;
}

/* Modal */

.modal-sm {
    max-width: 450px;
    /* Zvětšená šířka */
}

.modal-content {
    border-radius: 8px;
    border: none;
    padding: 24px;
}

.modal-header {
    border: none;
    padding-bottom: 20px;
}

.modal-title {
    color: var(--primary-blue);
    font-size: 20px;
    font-weight: 500;
}

.reservation-field {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
}

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

.popup-form-label {
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-modal-primary {
    background-color: var(--primary-blue);
    color: white;
    border-radius: 30px;
    padding: 8px 24px;
    border: 2px solid var(--primary-blue);
    margin-left: 0;
    width: 140px;
}

.btn-modal-primary:hover {
    border-color: var(--primary-blue);
    /* border: 2px solid var(--primary-blue); */
}

.btn-modal-danger {
    background-color: var(--danger-color);
    color: white;
    border-radius: 30px;
    padding: 8px 24px;
    margin-left: 10px;
    width: 168px;
    border: 2px solid var(--danger-color) !important;
}

.btn-modal-danger:hover {
    color: var(--danger-color) !important;
}

.btn-modal-close {
    color: #6b7280;
    font-size: 14px;
    padding: 0;
    background: none;
    border: none;
}

.btn-close {
    display: none;
}

.modal-header .close-icon {
    cursor: pointer;
    padding: 4px;
    color: #6B7280;
    border: none;
    background: none;
}

#sluzba-popis {
    margin-top: 30px;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    font-size: .95rem;
}


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

}