body { font-family: 'Roboto', sans-serif; background: #f5f6f8; margin: 0; display: flex; justify-content: center; }
.container, .app-container { background: #fff; width: 100%; max-width: 600px; margin: 20px; padding: 20px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.app-container { max-width: 900px; }
h2 { text-align: center; color: #2c3e50; margin-bottom: 20px;}
.form-group { margin-bottom: 15px; }
label { display: block; font-weight: 500; margin-bottom: 5px; color:#555;}
input, select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 8px; box-sizing: border-box; font-family: inherit; }

input[type="checkbox"] { width: auto; margin-right: 10px; transform: scale(1.2); cursor: pointer; }
.checkbox-label { display: flex; align-items: center; font-weight: normal; margin-bottom: 8px; cursor: pointer; }
.autocomplete-items { position: absolute; border: 1px solid #d4d4d4; z-index: 99; top: 100%; left: 0; right: 0; background-color: #fff; max-height: 200px; overflow-y: auto; }
.autocomplete-items div { padding: 10px; cursor: pointer; border-bottom: 1px solid #d4d4d4; }
.autocomplete-items div:hover { background-color: #e9e9e9; }

button { cursor: pointer; font-family: inherit; }
.btn-primary { background: #3498db; color: white; border: none; padding: 10px 15px; border-radius: 8px; font-weight:bold; }
.btn-success { background: #2ecc71; color: white; border: none; padding: 12px 15px; border-radius: 8px; font-weight:bold; }
.btn-danger { background: #e74c3c; color: white; border: none; padding: 6px 10px; border-radius: 8px; font-weight:bold; }
.btn-sm { padding: 6px 10px; font-size: 12px; }
.btn-full { width: 100%; margin-top:10px;}

.nav-buttons { display: flex; gap: 10px; margin-bottom: 20px; }
.nav-buttons button { flex: 1; padding: 10px; background: #ecf0f1; border: 1px solid #ccc; border-radius: 8px; font-weight: 500; }
.nav-buttons button.active { background: #3498db; color: white; border-color: #3498db; }

.sub-nav-buttons { display: flex; gap: 20px; margin-bottom: 20px; border-bottom: 2px solid #ecf0f1; justify-content: center; }
.sub-nav-buttons button { background: none; border: none; padding: 5px 10px; font-weight: bold; color: #7f8c8d; font-size: 16px; border-radius: 0; }
.sub-nav-buttons button.active { color: #3498db; border-bottom: 3px solid #3498db; }

.horizontal-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 20px; border-bottom: 2px solid #eee; white-space:nowrap; }
.horizontal-tabs button { background: #f4f4f4; border: 1px solid #ddd; padding: 10px 15px; border-radius: 8px 8px 0 0; font-weight: bold; flex-shrink: 0; }
.horizontal-tabs button.active { background: #3498db; color: white; border-color: #3498db; }

.day-container { border: 1px solid #ddd; padding: 10px; border-radius: 8px; margin-bottom: 10px; background: #fafafa; }
.day-we { background: #fff0e6; border-color: #f39c12; }
.day-we .day-header { color: #d35400; }
.day-header { font-weight: bold; margin-bottom: 12px; color: #2c3e50; display:flex; justify-content:space-between;}
.day-entry { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; align-items: center; border-bottom: 1px dashed #ddd; padding-bottom: 10px; }
.day-entry select, .day-entry input { flex: 1 1 100%; min-width: 150px; }
@media (min-width: 768px) {
    .day-entry select, .day-entry input { flex: 1; }
    .day-entry .d-heures { flex: 0 0 80px; }
}

.data-table { width: 100%; border-collapse: collapse; margin-top: 15px; font-size:14px; }
.data-table th, .data-table td { border: 1px solid #ddd; padding: 6px; text-align: left; }
.data-table th { background: #f4f4f4; }
.alert-box { padding: 10px; background: #f39c12; color: white; font-weight:bold; border-radius: 8px; margin-bottom: 15px; text-align:center;}