﻿/*Records*/

/*Booking*/

/*Prescriptions*/

/* 
    MOBILE SELECTOR COMPONENT - pro výběr usera v mobilní verzi
    Mobile Filter Selector - pro výběr filtru v mobilní verzi
*/

.mobile-user-selector .trigger {
    cursor: pointer;
    padding: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.mobile-user-selector .trigger-text {
    background: white;
    border-radius: 50rem;
    width: 250px;
    height: 30px;
    line-height: 30px;
}

.react-container .modal-overlay,
.mobile-user-selector .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100; /* redukce z 1000*/
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.react-container .modal-content,
.mobile-user-selector .modal-content {
    width: 100%;
    height: 80vh;
    background-color: white;
    box-sizing: border-box;
    overflow-y: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 2px solid #1f519c;
}

.react-container .mobile-filter-selector-header,
.mobile-user-selector .mobile-user-selector-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.react-container .back-button,
.mobile-user-selector .back-button {
    background: none;
    border: none;
    color: #1f519c;
    font-size: 4rem;
    cursor: pointer;
}

.react-container .mobile-filter-selector-body {
    padding: 0;
    margin: 0;
    flex: 1;
    align-items: start;
}

.mobile-user-selector .user-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 10px;
    flex: 1;
    align-items: start;
}

.mobile-user-selector .user-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: #1f519c;
}

.react-container .mobile-filter-selector-item {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-bottom: 25px;
}

.mobile-user-selector .user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--user-bg, white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mobile-user-selector .user-icon {
    width: 40px;
    height: 40px;
}

.mobile-user-selector .user-name {
    margin-top: 8px;
    color: #1f519c;
    text-align: center;
}

.react-container .mobile-filter-selector-footer,
.mobile-user-selector .mobile-user-selector-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.react-container .submit-button,
.mobile-user-selector .submit-button {
    background-color: #1f519c;
    color: white;
    border-radius: 50rem;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.react-container .mobile-filter-selector-label {
    font-weight: bold;
    color: #355192;
    margin-bottom: 5px;
    display: block;
    font-size: 1em;
}

.react-container .mobile-filter-button {
    width: 250px;
    height: 35px;
    border-radius: 50rem;
    border: none;
    background-color: white;
    display: inline-flex;
    align-items: center;
    justify-content:center;
    gap: 8px,
}

/* Multiselecti*/
/* --- STYLOVÁNÍ MULTISELECTU --- */

.k-multiselect {
    /* Výška */
    min-height: 35px;
}

/* kolekce vybraných hodnot */
div.k-input-values {
    margin-left: 3px;
}

.k-multiselect .k-chip {
    height: 26px;
    border-radius: 2rem;
    background: #98936c;
    color: white;
}

    .k-multiselect .k-chip:hover {
        background: #98936c;
        opacity: 0.9;
    }

.k-multiselect .k-chip-content {
    font-size: 12px;
}

.k-grid-toolbar .k-input-solid {
    background-color: white;
    border-radius: 2rem;
    border: #abacb3 solid 1px;
}

    .k-grid-toolbar .k-input-solid input::placeholder {
        color: #1f519c;
        opacity: 0.7;
        font-size: 14px;
        padding-left: 5px;
    }

/* --- STYLOVÁNÍ VYSKAKOVACÍHO OKNA (POPUP) --- */

/* 1. Hlavní kontejner seznamu */
.k-animation-container,
.k-animation-container-shown {
    --kendo-color-surface: #ffffff !important;
    --kendo-color-surface-alt: #ffffff !important;
}

div.k-list-content {
    overflow: hidden;
    overflow-y: auto;
}

ul.k-list {
    background-color: white !important;
}

/* Jednotlivé položky seznamu ul/li */
.k-list-item {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin: 1px 1px 1px 5px !important;
    padding: 4px 4px !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer;
    font-weight: normal !important;
    min-height: auto !important;
}

    /* Hover efekt */
    .k-list-item:hover {
        background-color: #f0f0f0 !important;
        color: #000 !important;
        box-shadow: none !important;
    }

    /* Vybraná položka */
    .k-list-item.k-selected {
        background-color: #e6e6e6 !important;
        color: #000 !important;
        font-weight: normal !important;
    }

/* Scroller uvnitř */
.k-list-scroller {
    background-color: transparent !important;
    max-height: 250px !important;
}


/* STYLOVÁNÍ DOWNLOAD BUTTONU */

.download-button {
    background-color: #fff !important;
    color: #1f519c !important;
    border: #abacb3 solid 1px;
    border-radius: 50rem;
}

    .download-button span {
        padding: 0px 1em;
        font-size: 14px;
    }

    .download-button:hover {
        opacity: 0.9;
    } 