:root {
    --primary: #B27644;
    --primary-lighter: #756059;
    --text-dark: #524341;
    --text-light:white;
    --primarybutton:#B27644;
    --hover-primarybutton: #945E3A;

    --primary-gradient: linear-gradient(to right, #aa9589, #66574e);
    --hover-gradient: linear-gradient(to right, #756059, #483b3b);
    --problem: #ea546c;
}

/*
 VZHLED ALERTŮ ( UPOZORNĚNÍ )
 */

.alert{
    padding: 10px 20px;
    font-size: 18px;
    margin: 20px 0px;
    border-radius: 5px;
}

.alert-success{
    background-color: #f2faeb;
    border-left: 6px solid #87c655;
}
.alert-error{
    background-color: #fff3ed;
    border-left: 6px solid #ff6537;
}

a,
button{
    all: unset;
    cursor: pointer;
}
.btn {
    display:block;
    width: auto;
    text-align: center;
    font-size: 15px;
    border: 0px black solid;

    background: red;
    cursor: pointer;

    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
}
.btn_full{
    width: 100%;
    margin: 10px 0px;
}

.btn:hover{
    text-decoration: none;
    opacity: 0.9;
}

.btn_classic {
    color: white;
    background: var(--primarybutton);
}

.btn_classic:hover{
    background: var(--hover-primarybutton);
}


.scroll{
    max-height: 95vh; /* Nastavení maximální výšky na 70 % výšky okna */
    overflow-x: auto; /* Povolení vertikálního posouvání, pokud je formulář větší než max-height */
    overflow-y: auto;
}

p,a,span{
    font-size: 12px;
}

@media (max-width: 800px) {
    p,a{
        font-size: 12px;
    }
}


.boxInfo a {
    color: var(--primarybutton);
    text-decoration: underline;
}

/* Styl pro odkaz při najetí myší */
.boxInfo a:hover {
    color: var(--hover-primarybutton);
    text-decoration: underline;

}

/* Styl pro navštívený odkaz */
.boxInfo a:visited {
    color: var(--primarybutton);
    text-decoration: underline;
}

/* Styl pro aktivní odkaz (např. při kliknutí) */
.boxInfo a:active {
    color: var(--primarybutton);
    text-decoration: underline;

}
.edit{
    background: darkkhaki;
}
.edit:hover{
    background: darkgoldenrod;
}
.delete{
    background: #ea546c;
}
.delete:hover{
    background: darkred;
}
.add{
    //border: 5px solid #87c655 ;
    //background: none;
    background: #87c655;
}
.add:hover{
    background: darkgreen;
}
.icon-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.tooltip {
    display: none;
    position: absolute;
    z-index:100;
    bottom: 100%;
    padding: 2px 2px;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    font-size: 10px;
    white-space: nowrap;
}
.inputBox {
    -webkit-appearance: none;  /* Odstraní nativní vzhled na iOS */
    -moz-appearance: none;     /* Odstraní nativní vzhled na Firefox */
    font-size: 0.875rem;
//color: var(--text-dark);
    padding: 0.5rem;
    border: 5px solid #DBC196;
    border-radius: 0.5rem;
    margin: 10px;
    outline: none;
    display: inline-block;
    cursor: pointer;
    min-width: 70px;

    background-image: url('../images/help/caret-down.svg'); /* nahraďte cestou k vašemu obrázku */
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
}
.icon-container:hover .tooltip {
    display: block;
}


/* Styl pro modální okno (skryté) */
.modal {
    display: none; /* Skryté ve výchozím stavu */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Poloprůhledné pozadí */
}

/* Obsah modálního okna */
.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    height: 40vh;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: auto;
}
.modal-content h2{
    color:#321f18;
}

/* Tlačítko pro zavření */
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
}

.close-btn:hover {
    color: red;
}