/*

 *= require_tree .

 *= require_self

 */





/* =========================================================

   RESET

\========================================================= */



* {

  box-sizing: border-box;

}



html,

body {

  margin: 0;

  min-height: 100%;

}



body {

  font-family:

    Inter,

    -apple-system,

    BlinkMacSystemFont,

    "Segoe UI",

    sans-serif;



  background: #f4f6f8;

  color: #17202a;



  font-size: 14px;

}





/* =========================================================

   APP LAYOUT

\========================================================= */



.app-shell {

  display: flex;

  min-height: 100vh;

}





/* =========================================================

   SIDEBAR

\========================================================= */



.app-sidebar {

  position: fixed;



  top: 0;

  bottom: 0;

  left: 0;



  width: 220px;



  display: flex;

  flex-direction: column;



  background: #17232f;



  color: #fff;



  border-right: 1px solid #263442;



  z-index: 20;

}



.app-sidebar__brand {

  height: 68px;



  display: flex;

  align-items: center;



  gap: 11px;



  padding: 0 18px;



  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

}



.app-sidebar__logo {

  width: 34px;

  height: 34px;



  display: flex;

  align-items: center;

  justify-content: center;



  border-radius: 6px;



  background: #ffffff;

  color: #17232f;



  font-size: 17px;

  font-weight: 800;

}



.app-sidebar__brand > div:last-child {

  display: flex;

  flex-direction: column;

}



.app-sidebar__brand strong {

  font-size: 14px;

}



.app-sidebar__brand span {

  margin-top: 1px;



  font-size: 11px;



  color: #94a1ae;

}



.app-sidebar__nav {

  flex: 1;



  padding: 18px 10px;

}



.app-sidebar__bottom {

  padding: 10px;



  border-top: 1px solid rgba(255, 255, 255, 0.08);

}



.app-sidebar__link {

  min-height: 42px;



  display: flex;

  align-items: center;



  gap: 11px;



  padding: 0 12px;



  margin-bottom: 3px;



  border-radius: 5px;



  color: #b7c0c8;



  text-decoration: none;



  font-size: 13px;

  font-weight: 500;

}



.app-sidebar__link:hover {

  background: #213140;

  color: #fff;

}



.app-sidebar__link--active {

  background: #263746;

  color: #fff;

}



.app-sidebar__icon {

  width: 18px;



  text-align: center;



  color: #8594a1;

}





/* =========================================================

   MAIN

\========================================================= */



.app-main {

  width: calc(100% - 220px);



  margin-left: 220px;



  min-height: 100vh;

}





/* =========================================================

   TOPBAR

\========================================================= */



.app-topbar {

  height: 68px;



  position: sticky;

  top: 0;



  z-index: 10;



  display: flex;

  align-items: center;

  justify-content: space-between;



  padding: 0 24px;



  background: #fff;



  border-bottom: 1px solid #dde2e7;

}



.app-search {

  width: 420px;



  display: flex;

  align-items: center;



  gap: 9px;



  padding: 0 11px;



  height: 36px;



  border: 1px solid #d9dee4;

  border-radius: 5px;



  background: #fafbfc;

}



.app-search span {

  color: #7a8590;

}



.app-search input {

  width: 100%;



  border: 0;

  outline: 0;



  background: transparent;



  color: #17202a;



  font-size: 13px;

}



.app-topbar__actions {

  display: flex;

  align-items: center;



  gap: 16px;

}



.app-icon-button {

  width: 34px;

  height: 34px;



  border: 1px solid #d9dee4;



  border-radius: 5px;



  background: #fff;



  cursor: pointer;

}



.app-user {

  display: flex;

  align-items: center;



  gap: 9px;

}



.app-user__avatar {

  width: 34px;

  height: 34px;



  display: flex;

  align-items: center;

  justify-content: center;



  border-radius: 50%;



  background: #e7ebef;



  font-size: 11px;

  font-weight: 700;

}



.app-user__content {

  display: flex;

  flex-direction: column;

}



.app-user__content strong {

  font-size: 12px;

}



.app-user__content span {

  font-size: 10px;

  color: #818b95;

}





/* =========================================================

   CONTENT

\========================================================= */



.app-content {

  padding: 24px;

}





/* =========================================================

   BUTTONS

\========================================================= */



.button {

  min-height: 36px;



  display: inline-flex;

  align-items: center;

  justify-content: center;



  padding: 0 13px;



  border-radius: 5px;



  border: 1px solid #d5dbe1;



  background: #fff;



  color: #25313c;



  text-decoration: none;



  font-size: 12px;

  font-weight: 600;



  cursor: pointer;

}



.button--primary {

  border-color: #2563eb;



  background: #2563eb;

  color: #fff;

}



.button--secondary {

  background: #fff;

}



.button--icon {

  width: 36px;



  padding: 0;



  font-size: 18px;

}





/* =========================================================

   PAGE HEADER

\========================================================= */



.planning-page-header {

  display: flex;

  align-items: flex-end;

  justify-content: space-between;



  margin-bottom: 18px;

}



.planning-page-header__eyebrow {

  margin: 0 0 3px;



  color: #7d8791;



  text-transform: uppercase;



  font-size: 10px;

  font-weight: 700;



  letter-spacing: 0.08em;

}



.planning-page-header h1 {

  margin: 0;



  font-size: 24px;



  font-weight: 700;

}





/* =========================================================

   TOOLBAR

\========================================================= */



.planning-toolbar {

  min-height: 58px;



  display: flex;

  align-items: center;

  justify-content: space-between;



  gap: 20px;



  padding: 10px 12px;



  margin-bottom: 12px;



  background: #fff;



  border: 1px solid #dfe3e8;



  border-radius: 5px;

}



.planning-toolbar__date {

  display: flex;

  align-items: center;



  gap: 7px;

}



.planning-current-date {

  min-width: 180px;



  display: flex;

  flex-direction: column;



  padding: 0 8px;

}



.planning-current-date span {

  font-size: 10px;



  color: #7c8690;



  text-transform: uppercase;



  font-weight: 700;

}



.planning-current-date strong {

  margin-top: 1px;



  font-size: 13px;

}



.planning-toolbar__filters {

  display: flex;



  gap: 6px;

}



.filter-button {

  height: 34px;



  display: flex;

  align-items: center;



  gap: 12px;



  padding: 0 10px;



  border: 1px solid #d8dde2;



  background: #fff;



  border-radius: 4px;



  color: #46525e;



  font-size: 11px;



  cursor: pointer;

}





/* =========================================================

   STATS

\========================================================= */



.planning-stats {

  display: flex;



  gap: 18px;



  margin-bottom: 12px;



  padding-left: 2px;

}



.planning-stat {

  display: flex;

  align-items: baseline;



  gap: 5px;



  color: #727d87;



  font-size: 11px;

}



.planning-stat strong {

  color: #25303b;



  font-size: 13px;

}





/* =========================================================

   TABLE

\========================================================= */



.planning-table {

  overflow: visible;



  border: 1px solid #d8dee4;



  background: #fff;

}



.planning-table__body {
  overflow: visible;
}



.planning-table__header {

  display: grid;



  grid-template-columns:

    82px

    minmax(310px, 1.4fr)

    minmax(130px, 0.6fr)

    minmax(360px, 1.6fr)

    minmax(180px, 0.8fr)

    minmax(145px, 0.65fr);



  min-height: 38px;



  align-items: center;



  padding-left: 5px;



  background: #f7f8fa;



  border-bottom: 1px solid #d8dee4;



  color: #6f7a84;



  font-size: 10px;

  font-weight: 700;



  text-transform: uppercase;



  letter-spacing: 0.04em;

}



.planning-table__header > div {

  padding: 0 10px;

}





/* =========================================================

   EVENT ROW

\========================================================= */



.planning-row {

  position: relative;

  overflow: visible;



  display: grid;



  grid-template-columns:

    5px

    82px

    minmax(310px, 1.4fr)

    minmax(130px, 0.6fr)

    minmax(360px, 1.6fr)

    minmax(180px, 0.8fr)

    minmax(145px, 0.65fr);



  border-bottom: 1px solid #e3e7eb;



  transition: background 0.12s ease;

}



.planning-row:last-child {

  border-bottom: 0;

}



.planning-row:hover {

  background: #fafbfc;

}



.planning-row__indicator {

  width: 5px;

}



.planning-cell {

  min-width: 0;

  overflow: visible;



  padding: 12px 10px;



  border-right: 1px solid #edf0f2;

}



.planning-cell:last-child {

  border-right: 0;

}





/* =========================================================

   TIME

\========================================================= */



.planning-cell--time {

  display: flex;

  flex-direction: column;



  align-items: flex-start;



  font-variant-numeric: tabular-nums;

}



.planning-cell--time strong {

  font-size: 15px;

}



.planning-cell--time span {

  margin-top: 2px;



  color: #89929b;



  font-size: 11px;

}





/* =========================================================

   EVENT

\========================================================= */



.event-main {

  display: flex;

  flex-wrap: wrap;

  align-items: center;



  gap: 6px 10px;

}



.event-main__title {

  font-size: 13px;



  line-height: 1.35;



  color: #17202a;

}



.event-main__badges {

  display: flex;

  flex-wrap: wrap;



  gap: 5px;

}



.event-type-badge,

.status-badge {

  display: inline-flex;

  align-items: center;



  gap: 5px;



  min-height: 21px;



  padding: 2px 6px;



  border: 1px solid #dfe3e7;



  border-radius: 4px;



  background: #fff;



  font-size: 9px;



  font-weight: 600;

}



.event-type-badge__dot {

  width: 6px;

  height: 6px;



  border-radius: 50%;

}



.status-badge--confirmed {

  background: #edf8f1;



  border-color: #cfe8d7;



  color: #277445;

}



.status-badge--cancelled {

  background: #fbefef;



  border-color: #eccfcf;



  color: #a63d3d;

}



.event-secondary {

  display: flex;

  flex-wrap: wrap;



  gap: 4px 14px;



  margin-top: 7px;



  color: #65717d;



  font-size: 10px;

}



.event-secondary span {

  display: inline-flex;



  gap: 4px;

}



.event-secondary strong {

  color: #424d58;



  font-weight: 600;

}



.event-note {

  margin-top: 8px;



  padding: 5px 7px;



  border-left: 2px solid #e6ad2f;



  background: #fffaf0;



  color: #675a3b;



  font-size: 10px;



  line-height: 1.35;

}





/* =========================================================

   SERVICES

\========================================================= */



.service-guests {

  display: flex;

  align-items: baseline;



  gap: 3px;



  margin-bottom: 6px;

}



.service-guests strong {

  font-size: 19px;



  line-height: 1;

}



.service-guests span {

  color: #7b858f;



  font-size: 10px;

}



.service-item {

  margin-bottom: 4px;



  font-size: 11px;



  font-weight: 600;

}



.service-detail {

  display: flex;



  gap: 5px;



  margin-top: 3px;



  color: #68737d;



  font-size: 10px;

}





/* =========================================================

   STAFF

\========================================================= */



.planning-cell--staff {

  padding-top: 8px;

  padding-bottom: 8px;

}



.staff-row {

  min-height: 26px;



  display: grid;



  grid-template-columns:

    minmax(100px, 1fr)

    auto;



  align-items: center;



  gap: 8px;



  padding: 4px 0;



  border-bottom: 1px solid #f0f2f4;

}



.staff-row:last-child {

  border-bottom: 0;

}



.staff-row__name {

  min-width: 0;



  display: flex;

  flex-wrap: wrap;

  align-items: baseline;



  gap: 4px;

}



.staff-row__name strong {

  font-size: 10px;



  font-weight: 600;

}



.staff-row__name span {

  color: #88929c;



  font-size: 9px;

}



.staff-row__times {

  display: flex;



  gap: 5px;



  font-size: 9px;



  color: #78838d;



  font-variant-numeric: tabular-nums;

}



.staff-row__times span {

  padding: 2px 4px;



  border: 1px solid #e1e5e9;



  border-radius: 3px;



  background: #fafbfc;

}



.staff-row__times strong {

  color: #3f4a55;



  font-weight: 600;

}





/* =========================================================

   LOGISTICS

\========================================================= */



.vehicle-row {

  display: flex;

  align-items: center;



  gap: 6px;



  margin-bottom: 5px;



  font-size: 10px;



  color: #4e5964;

}



.vehicle-row__icon {

  color: #86919c;



  font-size: 8px;

}





/* =========================================================

   TRACKING

\========================================================= */



.planning-cell--tracking {

  position: relative;

  overflow: visible;

}



.tracking-item {

  display: flex;

  flex-direction: column;



  gap: 1px;



  margin-bottom: 7px;

}



.tracking-item span {

  color: #89939c;



  font-size: 8px;



  text-transform: uppercase;



  font-weight: 700;

}



.tracking-item strong {

  font-size: 10px;



  font-weight: 600;

}





/* =========================================================

   OTHER

\========================================================= */



.planning-empty-value {

  color: #a0a8b0;

}



.planning-table__empty {

  padding: 60px;



  text-align: center;



  color: #87919a;

}



.planning-row--cancelled {

  opacity: 0.55;

}



.planning-row--cancelled .event-main__title {

  text-decoration: line-through;

}





/* =========================================================

   RESPONSIVE

\========================================================= */



@media (max-width: 1350px) {



  .planning-table {

    overflow-x: auto;
    overflow-y: visible;

  }



  .planning-table__header,

  .planning-row {

    min-width: 1350px;

  }



}



/* =========================================================

   EVENT FORM

\========================================================= */



.event-form-page {

  max-width: 1280px;

  margin: 0 auto;

}



.event-form-header {

  margin-bottom: 20px;

}



.event-form-back {

  display: inline-block;



  margin-bottom: 12px;



  color: #65717d;



  text-decoration: none;



  font-size: 11px;

  font-weight: 600;

}



.event-form-header h1 {

  margin: 0;



  font-size: 24px;

}



.event-form-header p {

  margin: 5px 0 0;



  color: #76818c;



  font-size: 12px;

}





/* SECTIONS */



.event-form {

  display: flex;

  flex-direction: column;



  gap: 12px;

}



.form-section {

  padding: 18px;



  background: #fff;



  border: 1px solid #dde2e7;

}



.form-section__header {

  display: flex;

  align-items: flex-start;

  justify-content: space-between;



  margin-bottom: 16px;

}



.form-section__header h2 {

  margin: 0;



  font-size: 14px;

  font-weight: 700;

}



.form-section__header p {

  margin: 4px 0 0;



  color: #7a8590;



  font-size: 10px;

}





/* GRID */



.form-grid {

  display: grid;



  grid-template-columns: repeat(2, minmax(0, 1fr));



  gap: 14px;

}



.form-grid + .form-grid {

  margin-top: 14px;

}



.form-grid--main {

  grid-template-columns:

    minmax(0, 2fr)

    minmax(180px, 0.7fr)

    minmax(180px, 0.7fr);

}



.form-grid--dates {

  grid-template-columns:

    minmax(220px, 1fr)

    minmax(220px, 1fr)

    auto;

}



.form-grid--three {

  grid-template-columns: repeat(3, minmax(0, 1fr));

}



.form-grid--five {

  grid-template-columns: repeat(5, minmax(120px, 1fr));

}





/* FIELD */



.form-field {

  display: flex;

  flex-direction: column;



  gap: 6px;

}



.form-field label,

.form-field > label {

  color: #4d5964;



  font-size: 10px;

  font-weight: 700;

}



.form-field input[type="text"],

.form-field input[type="email"],

.form-field input[type="tel"],

.form-field input[type="number"],

.form-field input[type="datetime-local"],

.form-field select,

.form-field textarea {

  width: 100%;



  min-height: 38px;



  padding: 8px 10px;



  border: 1px solid #d6dce2;



  border-radius: 4px;



  background: #fff;



  color: #17202a;



  outline: none;



  font-family: inherit;



  font-size: 12px;

}



.form-field textarea {

  resize: vertical;

}



.form-field input:focus,

.form-field select:focus,

.form-field textarea:focus {

  border-color: #7ca2e8;



  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.08);

}



.form-field--checkbox {

  flex-direction: row;

  align-items: center;



  padding-top: 22px;

}



.form-field--checkbox label {

  cursor: pointer;

}





/* CHOICES */



.form-choice-grid {

  display: flex;

  flex-wrap: wrap;



  gap: 7px;

}



.form-choice {

  display: inline-flex;

  align-items: center;



  gap: 6px;



  min-height: 34px;



  padding: 0 10px;



  border: 1px solid #dbe0e5;



  border-radius: 4px;



  background: #fafbfc;



  cursor: pointer;



  font-size: 10px;

}



.form-choice:hover {

  border-color: #bfc7cf;



  background: #f6f8fa;

}



.form-choice input {

  margin: 0;

}





/* CURRENT STAFF */



.form-current-staff {

  border: 1px solid #e0e4e8;

}



.form-current-staff__row {

  min-height: 38px;



  display: flex;

  align-items: center;

  justify-content: space-between;



  padding: 7px 10px;



  border-bottom: 1px solid #eef1f3;

}



.form-current-staff__row:last-child {

  border-bottom: 0;

}



.form-current-staff__row strong {

  font-size: 11px;

}



.form-current-staff__row > div {

  display: flex;



  gap: 5px;

}



.form-current-staff__row span {

  padding: 3px 5px;



  border: 1px solid #dde2e7;



  border-radius: 3px;



  background: #fafbfc;



  color: #606b75;



  font-size: 9px;

}



.form-empty-state {

  padding: 15px;



  border: 1px dashed #d3d9df;



  color: #929ba4;



  font-size: 11px;

}





/* ACTIONS */



.event-form-actions {

  position: sticky;



  bottom: 0;



  z-index: 5;



  display: flex;

  justify-content: flex-end;



  gap: 8px;



  padding: 12px;



  background: rgba(244, 246, 248, 0.96);



  border-top: 1px solid #dce1e6;

}





/* ERRORS */



.form-errors {

  padding: 12px 15px;



  border: 1px solid #ebcccc;



  background: #fff4f4;



  color: #8b3939;



  font-size: 11px;

}



.form-errors ul {

  margin-bottom: 0;

}





/* RESPONSIVE */



@media (max-width: 1100px) {



  .form-grid--main,

  .form-grid--five {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }



}



/* =========================================================

   STAFF ASSIGNMENT FORM

\========================================================= */



.staff-assignments-header,

.staff-assignment-form-row {

  display: grid;



  grid-template-columns:

    minmax(180px, 1.5fr)

    minmax(120px, 0.8fr)

    82px

    82px

    82px

    82px

    58px

    34px;



  gap: 7px;



  align-items: center;

}



.staff-assignments-header {

  padding: 0 8px 7px;



  color: #89939d;



  font-size: 9px;

  font-weight: 700;



  text-transform: uppercase;



  letter-spacing: 0.04em;

}



.staff-assignment-form-row {

  min-height: 52px;



  padding: 7px 8px;



  border-top: 1px solid #e7eaed;

}



.staff-assignment-form-row:last-child {

  border-bottom: 1px solid #e7eaed;

}



.staff-assignment-form-row:hover {

  background: #fafbfc;

}



.staff-assignment-form-row label {

  display: none;

}



.staff-assignment-form-row select,

.staff-assignment-form-row input[type="time"] {

  width: 100%;



  height: 34px;



  padding: 0 7px;



  border: 1px solid #d6dce2;



  border-radius: 4px;



  background: #fff;



  color: #26313c;



  font-family: inherit;



  font-size: 10px;



  outline: none;

}



.staff-assignment-form-row select:focus,

.staff-assignment-form-row input[type="time"]:focus {

  border-color: #7ca2e8;



  box-shadow:

    0 0 0 2px rgba(37, 99, 235, 0.07);

}



.staff-assignment-time input {

  font-variant-numeric: tabular-nums;

}



.staff-assignment-leader {

  display: flex;

  justify-content: center;

}



.staff-assignment-leader input {

  width: 16px;

  height: 16px;

}



.staff-assignment-remove {

  display: flex;

  justify-content: center;

}



.staff-remove-button {

  width: 28px;

  height: 28px;



  display: flex;

  align-items: center;

  justify-content: center;



  border: 0;



  border-radius: 4px;



  background: transparent;



  color: #8c969f;



  font-size: 20px;



  cursor: pointer;

}



.staff-remove-button:hover {

  background: #fceeee;



  color: #b33f3f;

}



.staff-assignments-empty {

  padding: 18px 10px;



  border: 1px dashed #d8dde2;



  color: #919aa3;



  text-align: center;



  font-size: 10px;

}



.button--small {

  min-height: 31px;



  padding: 0 10px;



  font-size: 10px;

}



@media (max-width: 1200px) {



  .staff-assignments-header,

  .staff-assignment-form-row {

    grid-template-columns:

      minmax(160px, 1.4fr)

      minmax(100px, 0.8fr)

      75px

      75px

      75px

      75px

      50px

      30px;

  }



}



/* =========================================================

   STAFF PICKER

\========================================================= */



.staff-assignment-person {

  position: relative;

}



.staff-picker {

  position: relative;

}



.staff-picker__input-wrapper {

  position: relative;

}



.staff-picker__input {

  width: 100%;



  height: 34px;



  padding: 0 28px 0 9px;



  border: 1px solid #d6dce2;



  border-radius: 4px;



  background: #fff;



  color: #25313c;



  font-family: inherit;

  font-size: 10px;



  outline: none;

}



.staff-picker__input:focus {

  border-color: #7ca2e8;



  box-shadow:

    0 0 0 2px

    rgba(37, 99, 235, 0.07);

}



.staff-picker__chevron {

  position: absolute;



  top: 50%;

  right: 9px;



  transform: translateY(-50%);



  color: #89939d;



  pointer-events: none;

}





/* DROPDOWN */



.staff-picker__dropdown {

  position: absolute;



  top: calc(100% + 5px);

  left: 0;



  width: 320px;



  z-index: 100;



  background: #fff;



  border: 1px solid #ccd3da;



  border-radius: 5px;



  box-shadow:

    0 8px 24px

    rgba(20, 31, 43, 0.12);



  overflow: hidden;

}





/* RESULTS */



.staff-picker__results {

  max-height: 260px;



  overflow-y: auto;



  padding: 5px;

}



.staff-picker__option {

  width: 100%;



  min-height: 38px;



  display: flex;

  align-items: center;



  gap: 8px;



  padding: 5px 7px;



  border: 0;



  border-radius: 4px;



  background: transparent;



  color: #25313c;



  text-align: left;



  cursor: pointer;

}



.staff-picker__option:hover {

  background: #f3f6f8;

}



.staff-picker__avatar {

  flex: 0 0 27px;



  width: 27px;

  height: 27px;



  display: flex;

  align-items: center;

  justify-content: center;



  border-radius: 50%;



  background: #edf0f3;



  color: #58636e;



  font-size: 9px;

  font-weight: 700;

}



.staff-picker__option-content {

  min-width: 0;



  display: flex;

  flex-direction: column;

}



.staff-picker__option-content strong {

  font-size: 10px;

  font-weight: 600;

}



.staff-picker__option-content small {

  margin-top: 1px;



  color: #919aa3;



  font-size: 8px;

}





/* NO RESULTS */



.staff-picker__no-results {

  padding: 14px;



  color: #919aa3;



  text-align: center;



  font-size: 10px;

}





/* FOOTER */



.staff-picker__footer {

  padding: 6px;



  border-top: 1px solid #e6e9ec;



  background: #fafbfc;

}



.staff-picker__create-button {

  width: 100%;



  min-height: 32px;



  padding: 0 8px;



  border: 0;



  border-radius: 4px;



  background: transparent;



  color: #2563eb;



  text-align: left;



  font-size: 10px;

  font-weight: 600;



  cursor: pointer;

}



.staff-picker__create-button:hover {

  background: #eef4ff;

}





/* CREATE EXTRA */



.staff-picker__create {

  padding: 10px;



  border-top: 1px solid #e4e8ec;



  background: #fff;

}



.staff-picker__create-header {

  display: flex;

  align-items: center;

  justify-content: space-between;



  margin-bottom: 10px;

}



.staff-picker__create-header strong {

  font-size: 11px;

}



.staff-picker__create-header button {

  border: 0;



  background: transparent;



  color: #7d8791;



  font-size: 18px;



  cursor: pointer;

}



.staff-picker__create-field {

  display: flex;

  flex-direction: column;



  gap: 4px;



  margin-bottom: 8px;

}



.staff-picker__create-field label {

  display: block;



  color: #69747f;



  font-size: 9px;

  font-weight: 600;

}



.staff-picker__create-field input,

.staff-picker__create-field select {

  width: 100%;



  height: 34px;



  padding: 0 8px;



  border: 1px solid #d7dde2;



  border-radius: 4px;



  background: #fff;



  font-family: inherit;



  font-size: 10px;

}



.staff-picker__create-actions {

  display: flex;

  justify-content: flex-end;



  gap: 6px;



  margin-top: 10px;

}



.staff-picker__create-error {

  padding: 7px;



  border: 1px solid #edcccc;



  background: #fff3f3;



  color: #a14444;



  font-size: 9px;

}



.staff-picker__option[hidden] {

  display: none !important;

}



/* ENTITY PICKERS */



.entity-picker {

  position: relative;

}



.entity-picker__input {

  width: 100%;

}



.entity-picker__dropdown {

  position: absolute;



  top: calc(100% + 4px);

  left: 0;



  width: 100%;

  min-width: 300px;



  z-index: 150;



  background: #fff;



  border: 1px solid #ccd3da;

  border-radius: 5px;



  box-shadow:

    0 8px 24px rgba(20, 31, 43, 0.12);



  overflow: hidden;

}



.entity-picker__results {

  max-height: 260px;



  overflow-y: auto;



  padding: 5px;

}



.entity-picker__option {

  width: 100%;



  display: flex;

  flex-direction: column;

  align-items: flex-start;



  gap: 2px;



  padding: 8px;



  border: 0;

  border-radius: 4px;



  background: transparent;



  text-align: left;



  cursor: pointer;

}



.entity-picker__option:hover {

  background: #f3f6f8;

}



.entity-picker__option strong {

  font-size: 10px;

}



.entity-picker__option small {

  color: #89939d;



  font-size: 9px;

}



.entity-picker__empty {

  padding: 14px;



  color: #919aa3;



  text-align: center;



  font-size: 10px;

}



.entity-picker__create {

  width: 100%;



  min-height: 36px;



  padding: 0 10px;



  border: 0;

  border-top: 1px solid #e4e8ec;



  background: #fafbfc;



  color: #2563eb;



  text-align: left;



  font-size: 10px;

  font-weight: 600;



  cursor: pointer;

}



.entity-picker__create:hover {

  background: #eef4ff;

}



.entity-picker__create-panel {

  display: flex;

  flex-direction: column;



  gap: 7px;



  padding: 10px;



  border-top: 1px solid #e4e8ec;

}



.entity-picker__create-panel input {

  min-height: 34px;

}



.entity-picker__error {

  padding: 6px;



  background: #fff3f3;



  color: #a14444;



  font-size: 9px;

}



.planning-row--clickable {

  cursor: pointer;

}



.planning-row--clickable:hover {

  background: #f7f9fb;

}



.planning-row--clickable:focus-visible {

  outline: 2px solid #2563eb;

  outline-offset: -2px;

}

/* =========================================================

   PLANNING FILTERS

\========================================================= */



.planning-filters {

  display: grid;



  grid-template-columns:

    minmax(240px, 1.5fr)

    minmax(150px, 0.8fr)

    minmax(150px, 0.7fr)

    minmax(170px, 0.9fr)

    minmax(170px, 0.9fr)

    auto;



  gap: 8px;



  align-items: end;



  margin-bottom: 12px;



  padding: 10px 12px;



  background: #ffffff;



  border: 1px solid #dfe3e8;

}



.planning-filter {

  min-width: 0;



  display: flex;

  flex-direction: column;



  gap: 4px;

}



.planning-filter label {

  color: #7b8690;



  font-size: 9px;

  font-weight: 700;



  text-transform: uppercase;



  letter-spacing: 0.04em;

}



.planning-filter input,

.planning-filter select {

  width: 100%;



  height: 34px;



  padding: 0 9px;



  border: 1px solid #d7dce2;

  border-radius: 4px;



  background: #ffffff;



  color: #28333e;



  font-family: inherit;

  font-size: 10px;



  outline: none;

}



.planning-filter input:focus,

.planning-filter select:focus {

  border-color: #7ca2e8;



  box-shadow:

    0 0 0 2px rgba(37, 99, 235, 0.07);

}



.planning-filter-actions {

  display: flex;



  gap: 5px;

}



.planning-filter-actions .button {

  white-space: nowrap;

}





/* EMPTY RESULT */



.planning-table__empty {

  display: flex;

  flex-direction: column;



  align-items: center;



  gap: 4px;



  padding: 50px 20px;



  color: #8a949e;



  text-align: center;

}



.planning-table__empty strong {

  color: #56616c;



  font-size: 12px;

}



.planning-table__empty span {

  font-size: 10px;

}





/* RESPONSIVE */



@media (max-width: 1400px) {



  .planning-filters {

    grid-template-columns:

      minmax(220px, 1.5fr)

      repeat(4, minmax(140px, 1fr));

  }



  .planning-filter-actions {

    grid-column: 1 / -1;



    justify-content: flex-end;

  }



}



.planning-search-field {

  position: relative;

}



.planning-search-field input {

  padding-right: 30px;

}



.planning-search-clear {

  position: absolute;



  top: 50%;

  right: 6px;



  width: 22px;

  height: 22px;



  display: flex;

  align-items: center;

  justify-content: center;



  transform: translateY(-50%);



  border: 0;

  border-radius: 3px;



  background: transparent;



  color: #8a949e;



  font-size: 16px;



  cursor: pointer;

}



.planning-search-clear:hover {

  background: #eef1f4;

  color: #3f4a55;

}



.event-actions {

  position: relative;

  z-index: 20;

  margin-top: 10px;

}



.event-actions__trigger {

  width: 30px;

  height: 26px;



  display: flex;

  align-items: center;

  justify-content: center;



  border: 1px solid #dce1e6;

  border-radius: 4px;



  background: #fff;

  color: #6f7983;



  cursor: pointer;

}



.event-actions__trigger:hover {

  background: #f4f6f8;

}



.event-actions__menu {

  position: absolute;



  top: calc(100% + 6px);

  right: 0;



  min-width: 160px;



  z-index: 999;



  padding: 4px;



  background: #fff;



  border: 1px solid #d7dde3;

  border-radius: 5px;



  box-shadow:

    0 10px 30px rgba(20, 31, 43, 0.16);



  overflow: visible;

}



.event-actions__item {

  width: 100%;



  display: block;



  padding: 8px 9px;



  border: 0;

  border-radius: 4px;



  background: transparent;



  color: #37424d;



  text-align: left;

  text-decoration: none;



  font-size: 10px;



  cursor: pointer;

}



.event-actions__item:hover {

  background: #f3f5f7;

}



.event-actions__item--danger {

  color: #b63b3b;

}



.event-actions__item--danger:hover {

  background: #fff1f1;

}

/* =========================================================
   PLANNING VIEW SWITCH
========================================================= */

.planning-view-switch {
  display: inline-flex;

  padding: 3px;

  border: 1px solid #d8dde2;
  border-radius: 5px;

  background: #f4f6f8;
}

.planning-view-switch__button {
  min-width: 72px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 11px;

  border-radius: 3px;

  color: #68737e;

  text-decoration: none;

  font-size: 10px;
  font-weight: 600;
}

.planning-view-switch__button:hover {
  color: #25313c;
}

.planning-view-switch__button--active {
  background: #ffffff;

  color: #17232f;

  box-shadow:
    0 1px 2px rgba(20, 31, 43, 0.08);
}


/* =========================================================
   WEEK
========================================================= */

.planning-week {
  display: flex;
  flex-direction: column;

  gap: 12px;
}

.planning-week-day {
  min-width: 0;
}

.planning-week-day__header {
  min-height: 45px;

  display: flex;
  align-items: center;

  gap: 16px;

  padding: 0 12px;

  border: 1px solid #d8dee4;
  border-bottom: 0;

  background: #f7f8fa;
}

.planning-week-day__date {
  min-width: 145px;

  display: flex;
  align-items: baseline;

  gap: 6px;
}

.planning-week-day__date span {
  color: #66717c;

  font-size: 10px;
  font-weight: 700;

  text-transform: uppercase;
}

.planning-week-day__date strong {
  color: #202b35;

  font-size: 12px;
}

.planning-week-day__count {
  display: flex;
  align-items: baseline;

  gap: 4px;

  color: #88919a;

  font-size: 9px;
}

.planning-week-day__count strong {
  color: #4c5762;

  font-size: 11px;
}

.planning-week-day__link {
  margin-left: auto;

  color: #66717c;

  text-decoration: none;

  font-size: 9px;
  font-weight: 600;
}

.planning-week-day__link:hover {
  color: #2563eb;
}

.planning-week-day--today
.planning-week-day__header {
  border-left: 3px solid #2563eb;

  background: #f5f8ff;
}

.planning-week-day__empty {
  min-height: 48px;

  display: flex;
  align-items: center;

  padding: 0 12px;

  border: 1px solid #d8dee4;

  background: #ffffff;

  color: #a0a8b0;

  font-size: 10px;
}

/* =========================================================
   REFERENCE PAGES
========================================================= */

.reference-page {
  max-width: 1400px;
  margin: 0 auto;
}

.reference-page__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  margin-bottom: 18px;
}

.reference-page__header h1 {
  margin: 0;

  font-size: 24px;
  font-weight: 700;
}


/* TABLE */

.reference-table {
  border: 1px solid #d8dee4;

  background: #fff;
}

.reference-table__header,
.reference-table__row {
  display: grid;

  grid-template-columns:
    minmax(250px, 1fr)
    auto;

  align-items: center;

  min-height: 48px;

  padding: 0 12px;
}

.reference-table__header {
  min-height: 38px;

  background: #f7f8fa;

  border-bottom: 1px solid #d8dee4;

  color: #6f7a84;

  font-size: 10px;
  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.04em;
}

.reference-table__row {
  border-bottom: 1px solid #e7eaed;
}

.reference-table__row:last-child {
  border-bottom: 0;
}

.reference-table__row:hover {
  background: #fafbfc;
}

.reference-table__row strong {
  font-size: 11px;
}

.reference-table__actions {
  display: flex;
  align-items: center;

  gap: 5px;
}


/* FORM */

.reference-form {
  display: flex;
  flex-direction: column;

  gap: 12px;
}


/* DANGER */

.button--danger {
  border-color: #e3caca;

  background: #fff;

  color: #ae3f3f;
}

.button--danger:hover {
  background: #fff3f3;
}

.reference-table--staff .reference-table__header,
.reference-table--staff .reference-table__row {
  grid-template-columns:
    minmax(220px, 1.3fr)
    minmax(140px, 0.8fr)
    minmax(160px, 0.9fr)
    90px
    auto;
}

.reference-table--vehicles .reference-table__header,
.reference-table--vehicles .reference-table__row {
  grid-template-columns:
    minmax(180px, 0.8fr)
    minmax(320px, 1.6fr)
    90px
    auto;
}

.reference-table--venues .reference-table__header,
.reference-table--venues .reference-table__row {
  grid-template-columns:
    minmax(220px, 1.1fr)
    minmax(150px, 0.7fr)
    minmax(280px, 1.4fr)
    90px
    auto;
}

/* =========================================================
   EVENT LAST UPDATE
========================================================= */

.event-form-header__main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 24px;
}

.event-last-update {
  flex: 0 0 auto;

  min-width: 220px;

  padding: 9px 11px;

  border: 1px solid #dce1e6;

  background: #fff;
}

.event-last-update__label {
  display: block;

  margin-bottom: 3px;

  color: #8a949e;

  font-size: 8px;
  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.04em;
}

.event-last-update__content {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.event-last-update__content strong {
  color: #35404b;

  font-size: 10px;
  font-weight: 600;
}

.event-last-update__content span {
  color: #7b858f;

  font-size: 9px;
}

/* =========================================================
   LOGIN
========================================================= */

.login-page {
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px 20px;

  background: #f4f6f8;
}

.login-panel {
  width: 100%;
  max-width: 410px;

  padding: 32px;

  background: #ffffff;

  border: 1px solid #dce1e6;
  border-radius: 6px;
}


/* BRAND */

.login-brand {
  display: flex;
  align-items: center;

  gap: 11px;

  margin-bottom: 34px;
}

.login-brand__logo {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 5px;

  background: #17232f;

  color: #ffffff;

  font-size: 18px;
  font-weight: 800;
}

.login-brand__content {
  display: flex;
  flex-direction: column;
}

.login-brand__content strong {
  color: #17202a;

  font-size: 14px;
}

.login-brand__content span {
  margin-top: 1px;

  color: #8a949e;

  font-size: 10px;
}


/* HEADER */

.login-header {
  margin-bottom: 25px;
}

.login-header h1 {
  margin: 0;

  color: #17202a;

  font-size: 23px;
  font-weight: 700;
}

.login-header p {
  margin: 7px 0 0;

  color: #77828d;

  font-size: 11px;
  line-height: 1.5;
}


/* FORM */

.login-form {
  display: flex;
  flex-direction: column;

  gap: 16px;
}

.login-field {
  display: flex;
  flex-direction: column;

  gap: 6px;
}

.login-field label {
  color: #4d5964;

  font-size: 10px;
  font-weight: 700;
}

.login-field input {
  width: 100%;
  height: 42px;

  padding: 0 11px;

  border: 1px solid #d5dbe1;
  border-radius: 4px;

  background: #ffffff;

  color: #17202a;

  font-family: inherit;
  font-size: 12px;

  outline: none;
}

.login-field input:focus {
  border-color: #7ca2e8;

  box-shadow:
    0 0 0 2px rgba(37, 99, 235, 0.08);
}


/* REMEMBER */

.login-remember {
  display: flex;
  align-items: center;

  gap: 7px;

  color: #68737e;

  font-size: 10px;
}

.login-remember input {
  margin: 0;
}

.login-remember label {
  cursor: pointer;
}


/* SUBMIT */

.login-submit {
  width: 100%;
  height: 42px;

  border: 1px solid #17232f;
  border-radius: 4px;

  background: #17232f;

  color: #ffffff;

  font-family: inherit;

  font-size: 11px;
  font-weight: 700;

  cursor: pointer;
}

.login-submit:hover {
  background: #223343;
}


/* ALERT */

.login-alert {
  margin-bottom: 16px;

  padding: 9px 10px;

  border: 1px solid #e5caca;

  background: #fff4f4;

  color: #a03f3f;

  font-size: 10px;
}


/* FOOTER */

.login-footer {
  margin-top: 25px;
  padding-top: 18px;

  border-top: 1px solid #edf0f2;

  color: #9aa2aa;

  text-align: center;

  font-size: 9px;
}

/* =========================================================
   EVENT DOCUMENT
========================================================= */

.event-document,
.event-attached-document {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  padding: 10px;

  margin-bottom: 8px;

  border: 1px solid #dce1e6;
  border-radius: 4px;

  background: #f8f9fa;
}

.event-document__info {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 2px;
}

.event-document__info strong {
  font-size: 10px;
}

.event-document__info span {
  overflow: hidden;

  color: #77828d;

  font-size: 9px;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-attached-document__label {
  display: block;

  margin-bottom: 2px;

  color: #89939d;

  font-size: 8px;
  font-weight: 700;

  text-transform: uppercase;
}

.event-attached-document strong {
  font-size: 10px;
}

.form-help {
  color: #89939d;

  font-size: 9px;
}

/* =========================================================
   CLIENT / VENUE PICKERS
   Alignés visuellement sur STAFF PICKER
========================================================= */

.client-picker,
.venue-picker {
  position: relative;
}

.client-picker__input-wrapper,
.venue-picker__input-wrapper {
  position: relative;
}

.client-picker__input,
.venue-picker__input {
  width: 100%;

  padding: 9px 34px 9px 10px;

  border: 1px solid #d8dee5;
  border-radius: 4px;

  background: #ffffff;

  font: inherit;
  font-size: 11px;

  outline: none;

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.client-picker__input:focus,
.venue-picker__input:focus {
  border-color: #aeb8c2;

  box-shadow:
    0 0 0 2px rgba(11, 28, 48, 0.05);
}

.client-picker__chevron,
.venue-picker__chevron {
  position: absolute;

  top: 50%;
  right: 10px;

  transform: translateY(-50%);

  color: #7d8792;

  font-size: 10px;

  pointer-events: none;
}


/* =========================================================
   DROPDOWN
========================================================= */

.client-picker__dropdown,
.venue-picker__dropdown {
  position: absolute;

  top: calc(100% + 4px);
  left: 0;

  z-index: 100;

  width: 100%;
  max-height: 320px;

  overflow-y: auto;

  border: 1px solid #d8dee5;
  border-radius: 5px;

  background: #ffffff;

  box-shadow:
    0 10px 30px rgba(11, 28, 48, 0.12);
}


/* =========================================================
   RESULTS
========================================================= */

.client-picker__results,
.venue-picker__results {
  max-height: 220px;

  overflow-y: auto;
}

.client-picker__option,
.venue-picker__option {
  width: 100%;

  display: flex;
  align-items: center;

  gap: 8px;

  padding: 8px 10px;

  border: 0;
  border-bottom: 1px solid #eef1f4;

  background: #ffffff;

  color: #0b1c30;

  font: inherit;
  font-size: 10px;

  text-align: left;

  cursor: pointer;
}

.client-picker__option:hover,
.venue-picker__option:hover {
  background: #f6f8fa;
}

.client-picker__option strong,
.venue-picker__option strong {
  font-size: 10px;
  font-weight: 600;
}

.client-picker__option-content,
.venue-picker__option-content {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 1px;
}

.client-picker__option-content small,
.venue-picker__option-content small {
  color: #8b949e;

  font-size: 9px;
}


/* =========================================================
   EMPTY
========================================================= */

.client-picker__no-results,
.venue-picker__no-results {
  padding: 10px;

  color: #8b949e;

  font-size: 10px;

  text-align: center;
}


/* =========================================================
   FOOTER
========================================================= */

.client-picker__footer,
.venue-picker__footer {
  padding: 7px;

  border-top: 1px solid #eef1f4;

  background: #fafbfc;
}

.client-picker__create-button,
.venue-picker__create-button {
  width: 100%;

  padding: 7px 8px;

  border: 0;
  border-radius: 3px;

  background: transparent;

  color: #0b1c30;

  font-size: 10px;
  font-weight: 600;

  text-align: left;

  cursor: pointer;
}

.client-picker__create-button:hover,
.venue-picker__create-button:hover {
  background: #eef2f5;
}


/* =========================================================
   CREATE PANEL
========================================================= */

.client-picker__create,
.venue-picker__create {
  padding: 10px;

  border-top: 1px solid #e8edf2;

  background: #f8fafb;
}

.client-picker__create-header,
.venue-picker__create-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 10px;
}

.client-picker__create-header strong,
.venue-picker__create-header strong {
  font-size: 10px;
}

.client-picker__create-header button,
.venue-picker__create-header button {
  border: 0;

  background: transparent;

  color: #6d7782;

  font-size: 16px;

  cursor: pointer;
}

.client-picker__create-field,
.venue-picker__create-field {
  margin-bottom: 8px;
}

.client-picker__create-field label,
.venue-picker__create-field label {
  display: block;

  margin-bottom: 4px;

  color: #65707b;

  font-size: 9px;
  font-weight: 600;
}

.client-picker__create-field input,
.venue-picker__create-field input {
  width: 100%;

  padding: 8px 9px;

  border: 1px solid #d8dee5;
  border-radius: 4px;

  background: #ffffff;

  font: inherit;
  font-size: 10px;
}


/* =========================================================
   CREATE ACTIONS
========================================================= */

.client-picker__create-actions,
.venue-picker__create-actions {
  display: flex;
  justify-content: flex-end;

  gap: 6px;

  margin-top: 10px;
}


/* =========================================================
   ERRORS
========================================================= */

.client-picker__create-error,
.venue-picker__create-error {
  margin-top: 6px;

  color: #b42318;

  font-size: 9px;
}

/* =========================================================
   RÉSUMÉ JOURNÉE / SEMAINE
========================================================= */

.planning-day-summary {
  margin: 18px 0 22px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

.planning-day-summary__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.planning-day-summary__eyebrow {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b95a1;
}

.planning-day-summary__title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #17212b;
}

.planning-day-summary__total {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-shrink: 0;
}

.planning-day-summary__total strong {
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  color: #17212b;
}

.planning-day-summary__total span {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}


/* =========================================================
   TYPES D'ÉVÉNEMENTS
========================================================= */

.planning-day-summary__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.planning-day-summary__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 11px;
  background: #f7f8fa;
  border: 1px solid #e7e9ed;
  border-radius: 9px;
}

.planning-day-summary__item strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: #17212b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.planning-day-summary__item span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: #374151;
}

.planning-day-summary__empty {
  padding: 8px 0;
  font-size: 13px;
  color: #8b95a1;
}


/* =========================================================
   STATUTS
========================================================= */

.planning-day-summary__status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf0f2;
}

.planning-day-summary__status-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.planning-day-summary__status-item strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
}


/* EN COURS DE VALIDATION */

.planning-day-summary__status-item--pending {
  background: #fff7e6;
  border: 1px solid #f6d89a;
  color: #8a5a00;
}

.planning-day-summary__status-item--pending strong {
  background: #d99100;
  color: #ffffff;
}


/* VALIDÉ */

.planning-day-summary__status-item--confirmed {
  background: #ecf9f0;
  border: 1px solid #b9e5c6;
  color: #216b35;
}

.planning-day-summary__status-item--confirmed strong {
  background: #2f8f4e;
  color: #ffffff;
}


/* TERMINÉ */

.planning-day-summary__status-item--completed {
  background: #f3f4f6;
  border: 1px solid #d8dce2;
  color: #5f6873;
}

.planning-day-summary__status-item--completed strong {
  background: #6b7280;
  color: #ffffff;
}


/* ANNULÉ */

.planning-day-summary__status-item--cancelled {
  background: #fff0f0;
  border: 1px solid #f2b7b7;
  color: #a52f2f;
}

.planning-day-summary__status-item--cancelled strong {
  background: #c63d3d;
  color: #ffffff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .planning-day-summary {
    padding: 16px;
  }

  .planning-day-summary__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .planning-day-summary__total {
    width: 100%;
  }

}

@media (max-width: 600px) {

  .planning-day-summary__items,
  .planning-day-summary__status {
    gap: 6px;
  }

  .planning-day-summary__item,
  .planning-day-summary__status-item {
    width: 100%;
    justify-content: flex-start;
  }

  .planning-day-summary__title {
    font-size: 16px;
  }

  .planning-day-summary__total strong {
    font-size: 21px;
  }

}

/* =========================================================
   PÉRIODE PERSONNALISÉE
========================================================= */

.planning-custom-range {
  display: flex;
  align-items: flex-end;
  gap: 12px;

  margin: -6px 0 18px;
  padding: 14px 16px;

  background: #ffffff;

  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.planning-custom-range__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.planning-custom-range__field label {
  font-size: 11px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.05em;

  color: #7a8490;
}

.planning-custom-range__field input[type="date"] {
  height: 40px;

  padding: 0 11px;

  background: #ffffff;

  border: 1px solid #d9dde3;
  border-radius: 8px;

  font-family: inherit;
  font-size: 13px;
  font-weight: 600;

  color: #17212b;
}

.planning-custom-range__field input[type="date"]:focus {
  outline: none;

  border-color: #9ca3af;

  box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.12);
}

.planning-custom-range__separator {
  padding-bottom: 11px;

  font-size: 16px;
  color: #9ca3af;
}

@media (max-width: 700px) {

  .planning-custom-range {
    align-items: stretch;
    flex-direction: column;
  }

  .planning-custom-range__separator {
    display: none;
  }

}
