/* Uvalente CRM */
body { font-size: 0.95rem;}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../img/fundoCRM1.png") center/cover no-repeat;
  opacity: 1;
  z-index: -1;
}

#loginView {
  min-height: calc(100vh - 56px - 2rem); /* 56px navbar + 2rem do py-3 */
  align-items: center;
}

.table td, .table th { vertical-align: middle; }
.badge-status { font-weight: 500; }
.pointer { cursor: pointer; }
code { font-size: 0.85em; }

/* Dashboard calendar */
.calendar-wrap { border: 1px solid #e5e7eb; border-radius: 0.5rem; background: #fff; overflow: hidden; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-head { background: #f8f9fa; border-bottom: 1px solid #e5e7eb; }
.calendar-head .calendar-cell { padding: 0.5rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #6c757d; }
.calendar-body .calendar-cell { min-height: 110px; padding: 0.4rem; border-right: 1px solid #eef0f3; border-bottom: 1px solid #eef0f3; }
.calendar-body .calendar-cell:nth-child(7n) { border-right: 0; }
.calendar-date { font-size: 0.8rem; color: #6c757d; }
.calendar-cell.other-month .calendar-date { opacity: 0.45; }
.calendar-cell.today { background: #fff7e6; }
.calendar-events { margin-top: 0.35rem; display: flex; flex-direction: column; gap: 0.2rem; }
.calendar-event { font-size: 0.72rem; line-height: 1.2; padding: 0.2rem 0.35rem; border-radius: 0.25rem; background: #e9f2ff; color: #0b3d91; border: 1px solid #d6e6ff; }
.calendar-event .time { font-weight: 600; margin-right: 0.25rem; }
.calendar-event.more { background: #f1f3f5; border-color: #e1e4e8; color: #495057; }
