body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    margin: 0;
    padding: 0;
}

header {
    background: #2c3e50;
    color: white;
    padding: 20px;
    font-size: 22px;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

button {
    background: #3498db;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background: #2980b9;
}

a.btn-delete {
    color: white;
    background: #e74c3c;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
}

a.btn-delete:hover {
    background: #c0392b;
}

a.btn-edit {
    color: white;
    background: #27ae60;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
}

a.btn-edit:hover {
    background: #1e8449;
}

.list-item {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.horaris-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.horaris-grid h2 {
    grid-column: 1 / -1; /* El títol ocupa les dues columnes */
}

.list-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.botons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}



