/* Základní reset a font */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    margin: 0;
}

.form-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
}

h2 {
    color: #333;
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

h3 {
    margin-top: 25px;
    font-size: 1.1rem;
    color: #555;
}

/* Stylování řádků */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.row-multi {
    display: grid;
    grid-template-columns: 2fr 1fr auto; /* Jméno, hodiny, smazat */
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

/* Prvky formuláře */
label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

input, select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #4a90e2;
}

/* Tlačítka */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-add {
    background-color: #e7f3ff;
    color: #007bff;
    margin-bottom: 20px;
}

.btn-add:hover { background-color: #d1e9ff; }

.btn-submit {
    background-color: #28a745;
    color: white;
    width: 100%;
    font-size: 1.1rem;
    margin-top: 10px;
}

.btn-submit:hover { background-color: #218838; }

.btn-remove {
    background-color: #ff4d4d;
    color: white;
    padding: 5px 10px;
}