/* VERZE 1.0 */
/* ZÁKLADNÍ STYL CELÉ STRÁNKY */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f8;
    margin: 0;
    padding: 2rem;
    color: #333;
    font-size: 0.85rem;
}

/* HLAVIČKA A ODKAZY */
h1, h2 {
    text-align: center;
    color: #222;
    font-size: 1.2rem;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* FORMULÁŘ – OBECNÝ STYL */
form {
    background-color: #fff;
    padding: 0.75rem;
    margin: 0 auto 2rem;
    max-width: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

form label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: bold;
    color: #333;
    font-size: 0.85rem;
}

.centeredBlock {
    text-align: center;
    margin: 1rem auto;
}

form input,
form select {
    width: 100%;
    padding: 0.3rem;
    margin-top: 0.2rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.8rem;
}

form button {
    width: 100%;
    padding: 0.4rem;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

form button:hover {
    background-color: #0056b3;
}

/* SEZNAM KLIENTŮ */
#clientsContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* KLIENTSKÁ "BUBLINA" – ponecháno v původní velikosti */
.clientBubble {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    width: 230px;
    box-sizing: border-box;
}

.clientBubble p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.clientBubble button {
    margin-top: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.clientBubble button:first-of-type {
    background-color: #ffc107;
    color: #000;
}

.clientBubble button:last-of-type {
    background-color: #dc3545;
    color: white;
    margin-left: 5px;
}

.clientBubble button:hover {
    opacity: 0.9;
}

/* NAVIGACE */
nav {
    background: #f4f4f4;
    padding: 20px; /* Zvýšení paddingu pro větší výšku navigace */
    position: sticky;
    top: 0;
    z-index: 10;
    font-size: 1.2rem; /* Zvýšení velikosti písma pro navigaci */
}

nav a {
    margin-right: 25px; /* Větší mezera mezi odkazy */
    text-decoration: none;
    font-size: 1.3rem; /* Zvýšení velikosti písma pro odkazy */
}

nav a#adminLink {
    color: blue;
}

nav a[href="/logout"] {
    color: red;
}

nav a:hover {
    color: #0056b3; /* Změna barvy odkazu při hoveru pro lepší interakci */
}

/* RESPONSIVE */
@media (max-width: 600px) {
    form {
        padding: 0.5rem;
        max-width: 90%;
    }

    .clientBubble {
        width: 100%;
    }
}

/* Vlastní pole – odstranění */
.removeCustomField {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1em;
    color: red;
}

.removeCustomField:hover {
    color: darkred;
}

.customFieldWrapper {
    margin-bottom: 5px;
}

/* Skrytí celého obsahu stránky během načítání */
#content {
    display: none;
}

/* Volitelně - můžeme ukázat nějaký načítací indikátor */
#loading {
    display: block;
}

