/* =============================================================
 * Nexora V33 — Sprint A : Premium Lead Action Bar
 * Charge APRÈS styles.css et styles-v30.css.
 * Posture : surcouche additive, override minimal.
 * ============================================================= */

/* Action bar dans la fiche lead */
.v33-action-bar {
  margin: 16px 0;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(11, 23, 51, 0.04), rgba(212, 175, 55, 0.04));
  border: 1px solid rgba(11, 23, 51, 0.08);
  border-left: 3px solid var(--or, #D4AF37);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.v33-action-bar .v33-bar-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--bleu, #1B2D5C);
  margin-bottom: 10px;
  opacity: 0.85;
}

.v33-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.v33-act {
  appearance: none;
  border: 1px solid rgba(11, 23, 51, 0.12);
  background: white;
  color: var(--bleu, #1B2D5C);
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v33-act:hover:not(:disabled) {
  background: var(--bleu, #1B2D5C);
  color: white;
  border-color: var(--bleu, #1B2D5C);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(11, 23, 51, 0.18);
}

.v33-act:active:not(:disabled) {
  transform: translateY(0);
}

.v33-act:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(11, 23, 51, 0.03);
}

/* Mode Quick send modal */
.v33-send-modal label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--bleu, #1B2D5C);
  margin: 6px 0 4px 0;
  letter-spacing: 0.2px;
}

.v33-send-modal input[type="text"],
.v33-send-modal select,
.v33-send-modal textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(11, 23, 51, 0.16);
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
}

.v33-send-modal textarea {
  resize: vertical;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 640px) {
  .v33-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================================
 * V33-B — Pagination footer
 * ============================================================= */
.v33b-pager {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 16px 0;
  padding: 8px 12px;
  background: rgba(11, 23, 51, 0.04);
  border: 1px solid rgba(11, 23, 51, 0.08);
  border-radius: 6px;
  font-size: 12px;
  color: var(--bleu, #1B2D5C);
}

.v33b-pager button {
  appearance: none;
  border: 1px solid rgba(11, 23, 51, 0.18);
  background: white;
  color: var(--bleu, #1B2D5C);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.12s ease;
}

.v33b-pager button:hover:not(:disabled) {
  background: var(--bleu, #1B2D5C);
  color: white;
  border-color: var(--bleu, #1B2D5C);
}

.v33b-pager button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.v33b-pager-label {
  font-weight: 600;
  min-width: 100px;
  text-align: center;
}

.v33b-pager-perf {
  margin-left: auto;
  font-size: 11px;
  color: rgba(11, 23, 51, 0.55);
  font-style: italic;
}

/* Bouton "Voir plus" pour colonnes kanban */
.v33b-show-more {
  display: block;
  width: 100%;
  margin: 8px 0 4px 0;
  padding: 8px 10px;
  background: linear-gradient(135deg, rgba(11, 23, 51, 0.06), rgba(212, 175, 55, 0.08));
  border: 1px dashed rgba(11, 23, 51, 0.25);
  border-radius: 6px;
  color: var(--bleu, #1B2D5C);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.12s ease;
}

.v33b-show-more:hover {
  background: var(--bleu, #1B2D5C);
  color: white;
  border-style: solid;
}
