/* Migo CRM v8.5.21.8 — Calendar view CSS restore.
   Restores the complete v8.5.21.6 Zi/Săptămână/Lună styles and retains
   the v8.5.21.7 pagination-style chevrons. */

/* Migo CRM v8.5.21.6 — Calendar: Zi / Săptămână / Lună */
body.crm-app .migo-calendar-period-head-v85216{
  align-items:center;
}
body.crm-app .migo-calendar-period-controls-v85216{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
body.crm-app .migo-calendar-view-switch-v85216{
  display:inline-flex;
  align-items:center;
  gap:2px;
  padding:3px;
  border:1px solid #d9e1ec;
  border-radius:8px;
  background:#f8fafc;
}
body.crm-app .migo-calendar-view-switch-v85216 button{
  height:30px;
  min-width:54px;
  padding:0 10px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#667085;
  font:700 10.5px/1 inherit;
  cursor:pointer;
}
body.crm-app .migo-calendar-view-switch-v85216 button:hover{
  color:#344054;
  background:#f1f4f8;
}
body.crm-app .migo-calendar-view-switch-v85216 button.is-active{
  background:#fff;
  color:#101828;
  box-shadow:0 1px 3px rgba(16,24,40,.08);
}
body.crm-app .migo-calendar-single-day-v85216{
  min-height:500px;
  background:#fff;
}
body.crm-app .migo-calendar-day-date-v85216{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:48px;
  padding:9px 14px;
  border:0;
  border-bottom:1px solid #e7ecf2;
  background:#fbfcfe;
  text-align:left;
  cursor:pointer;
}
body.crm-app .migo-calendar-day-date-v85216 strong{
  color:#101828;
  font-size:12px;
  text-transform:capitalize;
}
body.crm-app .migo-calendar-day-date-v85216 span{
  color:#667085;
  font-size:9.5px;
}
body.crm-app .migo-calendar-day-timeline-v85216{
  display:grid;
  padding:10px 14px 18px;
}
body.crm-app .migo-calendar-timeline-row-v85216{
  display:grid;
  grid-template-columns:56px 10px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:60px;
  padding:8px 4px;
  border:0;
  border-bottom:1px solid #edf1f5;
  background:#fff;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
body.crm-app .migo-calendar-timeline-row-v85216:hover{
  background:#fafcff;
}
body.crm-app .migo-calendar-timeline-row-v85216 time{
  color:#475467;
  font-size:11px;
  font-weight:800;
}
body.crm-app .migo-calendar-timeline-dot-v85216{
  width:8px;
  height:8px;
  border-radius:999px;
  background:#2f6fed;
}
body.crm-app .migo-calendar-timeline-row-v85216.is-reminder .migo-calendar-timeline-dot-v85216{
  background:#12a56b;
}
body.crm-app .migo-calendar-timeline-row-v85216>div{
  min-width:0;
}
body.crm-app .migo-calendar-timeline-row-v85216>div strong,
body.crm-app .migo-calendar-timeline-row-v85216>div small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.crm-app .migo-calendar-timeline-row-v85216>div strong{
  color:#101828;
  font-size:11px;
}
body.crm-app .migo-calendar-timeline-row-v85216>div small{
  margin-top:3px;
  color:#667085;
  font-size:9.5px;
}
body.crm-app .migo-calendar-view-empty-v85216{
  min-height:360px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:30px;
  color:#667085;
  text-align:center;
}
body.crm-app .migo-calendar-view-empty-v85216 .migo-ui-icon{
  width:24px;
  height:24px;
  color:#98a2b3;
}
body.crm-app .migo-calendar-view-empty-v85216 strong{
  color:#344054;
  font-size:11px;
}
body.crm-app .migo-calendar-view-empty-v85216 span{
  max-width:360px;
  font-size:9.5px;
}
body.crm-app .migo-calendar-week-view-v85216{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  min-height:520px;
  border-top:1px solid #e7ecf2;
  overflow-x:auto;
}
body.crm-app .migo-calendar-week-day-v85216{
  min-width:116px;
  border-right:1px solid #e7ecf2;
  background:#fff;
}
body.crm-app .migo-calendar-week-day-v85216:last-child{
  border-right:0;
}
body.crm-app .migo-calendar-week-day-v85216.is-today{
  background:#fbfdff;
}
body.crm-app .migo-calendar-week-day-head-v85216{
  position:relative;
  display:grid;
  place-items:center;
  width:100%;
  min-height:66px;
  padding:8px 5px;
  border:0;
  border-bottom:1px solid #e7ecf2;
  background:transparent;
  color:#475467;
  cursor:pointer;
}
body.crm-app .migo-calendar-week-day-head-v85216 span{
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
}
body.crm-app .migo-calendar-week-day-head-v85216 strong{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  margin-top:3px;
  border-radius:999px;
  color:#101828;
  font-size:14px;
}
body.crm-app .migo-calendar-week-day-v85216.is-today .migo-calendar-week-day-head-v85216 strong{
  background:#2f6fed;
  color:#fff;
}
body.crm-app .migo-calendar-week-day-head-v85216 em{
  position:absolute;
  top:7px;
  right:7px;
  min-width:18px;
  height:18px;
  display:grid;
  place-items:center;
  padding:0 4px;
  border-radius:999px;
  background:#eef2f7;
  color:#667085;
  font-size:8px;
  font-style:normal;
  font-weight:800;
}
body.crm-app .migo-calendar-week-day-list-v85216{
  display:grid;
  gap:5px;
  padding:8px 6px 12px;
}
body.crm-app .migo-calendar-week-day-list-v85216 button{
  min-width:0;
  display:grid;
  gap:2px;
  padding:6px 7px;
  border:0;
  border-radius:6px;
  background:#eff4ff;
  color:#2457c5;
  text-align:left;
  cursor:pointer;
}
body.crm-app .migo-calendar-week-day-list-v85216 button.is-reminder{
  background:#ecfdf3;
  color:#027a48;
}
body.crm-app .migo-calendar-week-day-list-v85216 button b{
  font-size:8px;
}
body.crm-app .migo-calendar-week-day-list-v85216 button span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:8.5px;
  font-weight:700;
}
body.crm-app .migo-calendar-week-day-list-v85216 .is-empty{
  padding:14px 4px;
  color:#98a2b3;
  font-size:8.5px;
  text-align:center;
}
body.crm-app .migo-calendar-week-day-list-v85216 small{
  color:#667085;
  font-size:8px;
  font-weight:700;
  text-align:center;
}
@media(max-width:980px){
  body.crm-app .migo-calendar-period-head-v85216{
    align-items:flex-start;
    flex-direction:column;
  }
  body.crm-app .migo-calendar-period-controls-v85216{
    width:100%;
    justify-content:space-between;
  }
}
@media(max-width:640px){
  body.crm-app .migo-calendar-period-controls-v85216{
    align-items:stretch;
    flex-direction:column;
  }
  body.crm-app .migo-calendar-view-switch-v85216{
    width:100%;
  }
  body.crm-app .migo-calendar-view-switch-v85216 button{
    flex:1;
  }
  body.crm-app .migo-calendar-timeline-row-v85216{
    grid-template-columns:44px 8px minmax(0,1fr);
  }
  body.crm-app .migo-calendar-timeline-row-v85216>i{
    grid-column:3;
    justify-self:start;
  }
}


/* Migo CRM v8.5.21.7 — Calendar navigation chevrons aligned with /fisiere pagination */
body.crm-app .migo-calendar-nav-v3125 button[data-calendar-period-step]{
  display:grid;
  place-items:center;
  width:32px;
  min-width:32px;
  height:32px;
  padding:0;
  border:1px solid #d7dde5;
  border-radius:6px;
  background:#fff;
  color:#344054;
  line-height:1;
  cursor:pointer;
}
body.crm-app .migo-calendar-nav-v3125 button[data-calendar-period-step] .migo-ui-icon{
  width:15px;
  height:15px;
  display:block;
  stroke-width:2.2;
}
body.crm-app .migo-calendar-nav-v3125 button[data-calendar-period-step]:hover:not(:disabled){
  background:#f5f8ff;
  border-color:#b8c9ea;
  color:#175cd3;
}
body.crm-app .migo-calendar-nav-v3125 button[data-calendar-period-step]:disabled{
  opacity:.42;
  cursor:default;
}


/* Migo CRM v8.5.21.10 — Calendar reminder search + pagination hard fix.
   Kept in the Calendar-specific stylesheet so it wins over the general app bundle. */

/* Search: reserve space for our own icon and suppress browser-native search decorations. */
body.crm-app .migo-calendar-reminder-tools-v3125 .migo-calendar-search-v3125 {
  position: relative !important;
  min-width: 0 !important;
}
body.crm-app .migo-calendar-reminder-tools-v3125 .migo-calendar-search-v3125 > .migo-ui-icon {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  width: 14px !important;
  height: 14px !important;
  display: block !important;
  transform: translateY(-50%) !important;
  color: #98a2b3 !important;
  pointer-events: none !important;
  z-index: 2 !important;
}
body.crm-app .migo-calendar-reminder-tools-v3125 .migo-calendar-search-v3125 input[type="search"] {
  width: 100% !important;
  height: 36px !important;
  box-sizing: border-box !important;
  padding: 0 12px 0 38px !important;
  text-indent: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: none !important;
}
body.crm-app .migo-calendar-reminder-tools-v3125 .migo-calendar-search-v3125 input[type="search"]::-webkit-search-decoration,
body.crm-app .migo-calendar-reminder-tools-v3125 .migo-calendar-search-v3125 input[type="search"]::-webkit-search-cancel-button,
body.crm-app .migo-calendar-reminder-tools-v3125 .migo-calendar-search-v3125 input[type="search"]::-webkit-search-results-button,
body.crm-app .migo-calendar-reminder-tools-v3125 .migo-calendar-search-v3125 input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
}
body.crm-app .migo-calendar-reminder-tools-v3125 .migo-calendar-search-v3125 input[type="search"]::-ms-clear,
body.crm-app .migo-calendar-reminder-tools-v3125 .migo-calendar-search-v3125 input[type="search"]::-ms-reveal {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Pagination: use the same real SVG chevrons as /fisiere and center them mechanically. */
body.crm-app .migo-calendar-pagination-v3125 > div {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
body.crm-app .migo-calendar-pagination-v3125 button.is-navigation {
  display: grid !important;
  place-items: center !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  border: 1px solid #d7dde5 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #344054 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
body.crm-app .migo-calendar-pagination-v3125 button.is-navigation .migo-ui-icon {
  display: block !important;
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
  transform: none !important;
  stroke-width: 2.2 !important;
}
body.crm-app .migo-calendar-pagination-v3125 button.is-navigation:hover:not(:disabled) {
  background: #f5f8ff !important;
  border-color: #b8c9ea !important;
  color: #175cd3 !important;
}
body.crm-app .migo-calendar-pagination-v3125 button.is-navigation:disabled {
  opacity: .42 !important;
  cursor: default !important;
}
