/* Page Planning des rendez-vous (agri_planning) : pages/agri/planning.php */
.agri_plan_barre { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.agri_plan_barre select { width: auto; min-width: 220px; }
.agri_plan_legende { color: #666; font-size: 12px; display: flex; gap: 14px; flex-wrap: wrap; }
.agri_plan_legende i { display: inline-block; width: 11px; height: 11px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
#agriPlan .fc-event { cursor: pointer; }
#agriPlan .agri_plan_passe { opacity: .55; }
#agriPlan .fc-timegrid-event .fc-event-main div { font-size: 12px !important; line-height: 1.25; }
#agriPlan .fc-timegrid-event .fc-event-main div:first-child { font-weight: 600; }
#agriPlan .fc-timegrid-event .agri_plan_objet { font-style: italic; opacity: .9; }
#agriPlan .fc-event-main { overflow: hidden; }
#agriPlanRdvCtnr, #agriPlanFormCtnr { top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); width: 600px; min-width: 0; max-width: 94vw; }
.agri_plan_detail dt { opacity: .7; font-weight: normal; font-size: 12px; margin-top: 8px; }
.agri_plan_detail dd { margin: 0; font-size: 15px; }
.agri_plan_actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.agri_plan_form label { margin-top: 8px; margin-bottom: 2px; font-weight: 600; }
.agri_plan_heures { display: flex; gap: 10px; }
.agri_plan_heures > div { flex: 1; }
@media (max-width: 767px) { #agriPlan .fc-toolbar-title { font-size: 16px; } }
.agri_plan_legende .agri_plan_passe { opacity: .55; }
.agri_plan_actions [hidden] { display: none; }
.agri_plan_option { display: flex; align-items: center; gap: 5px; margin: 0; font-weight: normal; cursor: pointer; }
#agriPlan .agri_plan_tache { border-radius: 10px; border: none; }
#agriPlan .agri_plan_tache_texte { overflow: hidden; padding: 0 4px; font-size: 12px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
#agriPlan .fc-list-event.agri_plan_tache .agri_plan_tache_texte { color: #333; font-weight: 600; white-space: normal; }
#agriPlan .fc-list-event.agri_plan_tache_retard .agri_plan_tache_texte { color: #c62828; }
#agriPlanTacheCtnr { top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); width: 520px; min-width: 0; max-width: 94vw; }
