/* NexaRisee portal presentation overrides.
   Keep this file small and load it after the generated Vite bundle. */

.crm-app .topbar,
.crm-app .topbar :is(h1, h2, h3, p, span, small, strong, button),
.crm-app .session-box,
.crm-app .session-box :is(span, strong, button),
.crm-app .team-analysis-page,
.crm-app .team-analysis-page :is(h1, h2, h3, h4, p, span, small, strong, label, button, input, select, textarea),
.crm-app .team-analysis-panel,
.crm-app .team-analysis-panel :is(h1, h2, h3, h4, p, span, small, strong, label, button, input, select, textarea),
.crm-app .team-leave-list,
.crm-app .team-leave-list :is(div, strong, span, small),
.crm-app .team-assignment-form,
.crm-app .team-assignment-form :is(input, select, button) {
  font-weight: 400 !important;
}

.crm-app .whatsapp-composer-modal {
  background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 42, 43, 0.22);
  gap: 10px;
  max-width: 430px;
  padding: 14px;
  width: min(430px, calc(100vw - 24px));
}

.crm-app .whatsapp-composer-modal .employee-modal-head {
  background: #0f4a4c;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
}

.crm-app .whatsapp-composer-modal .employee-modal-head h2 {
  font-size: 1rem;
  line-height: 1.2;
}

.crm-app .whatsapp-composer-modal .icon-button {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  min-height: 32px;
  min-width: 32px;
}

.crm-app .whatsapp-composer-body {
  gap: 9px;
}

.crm-app .whatsapp-composer-meta {
  gap: 8px;
  grid-template-columns: 1fr;
}

.crm-app .whatsapp-composer-meta div {
  background: #f4faf6;
  border-color: rgba(37, 211, 102, 0.18);
  padding: 8px 10px;
}

.crm-app .whatsapp-composer-meta span,
.crm-app .whatsapp-composer-body label span {
  color: #557166;
  font-size: 0.72rem;
  margin-bottom: 3px;
}

.crm-app .whatsapp-composer-meta strong {
  color: #0d5131;
  font-size: 0.88rem;
}

.crm-app .whatsapp-composer-body textarea {
  background: #fff;
  border-color: rgba(15, 74, 76, 0.16);
  min-height: 96px;
  padding: 9px 10px;
}

.crm-app .whatsapp-composer-body p {
  background: #ecf8f1;
  border-left: 3px solid #25d366;
  border-radius: 8px;
  color: #173c2c;
  font-size: 0.82rem;
  line-height: 1.35;
  padding: 8px 10px;
}

.crm-app .whatsapp-composer-modal .employee-modal-actions {
  gap: 8px;
  margin-top: 2px;
}

.crm-app .whatsapp-composer-modal .employee-modal-actions button {
  min-height: 36px;
  padding: 8px 12px;
}

.crm-app .whatsapp-composer-modal .employee-modal-actions .primary {
  background: #25d366;
  border-color: #20bd59;
  color: #073b20;
  font-weight: 600 !important;
}

@media (max-width: 520px) {
  .crm-app .whatsapp-composer-modal {
    max-width: 100%;
    padding: 12px;
    width: 100%;
  }
}
