
/* ============================= */
/* CONTAINER SIZES               */
/* ============================= */
.sheet-default-container.w-520[data-v-7df1e3ee] { width: 520px;
}
.sheet-default-container.w-620[data-v-7df1e3ee] { width: 620px;
}
.sheet-default-container.w-700[data-v-7df1e3ee] { width: 700px;
}
.sheet-default-container.w-720[data-v-7df1e3ee] { width: 720px;
}
.sheet-default-container.w-900[data-v-7df1e3ee] { width: 900px;
}
.sheet-default-container.w-1060[data-v-7df1e3ee] { width: 1060px;
}
.sheet-default-container.w-1500[data-v-7df1e3ee] { width: 1500px;
}

/* ============================= */
/* EXPANDED STATE                */
/* ============================= */
.sheet-default-container.w-720.sheet-default-expanded[data-v-7df1e3ee] {
  width: 1060px;
}
.sheet-default-container.w-520.sheet-default-expanded[data-v-7df1e3ee] {
  width: 900px;
}
.sheet-default-container.w-620.sheet-default-expanded[data-v-7df1e3ee] {
  width: 1060px;
}
.sheet-default-container.w-700.sheet-default-expanded[data-v-7df1e3ee] {
  width: 1060px;
}

/* ============================= */
/* OVERLAY & SHEET               */
/* ============================= */
.sheet-default-overlay[data-v-7df1e3ee] {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  animation: sheet-default-fade-in-7df1e3ee .2s ease-out;
  will-change: opacity;
  transition: background-color .4s cubic-bezier(0.32, 0.72, 0, 1);
}

/* Overlay expandido: fundo mais escuro com blur, como o overlay de /leads. */
.sheet-default-overlay--expanded[data-v-7df1e3ee] {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@keyframes sheet-default-fade-in-7df1e3ee {
from { opacity: 0;
}
to { opacity: 1;
}
}
@keyframes sheet-default-slide-in-7df1e3ee {
from { 
    opacity: 0;
    transform: translateX(100%);
}
to { 
    opacity: 1;
    transform: translateX(0);
}
}
.sheet-default-container[data-v-7df1e3ee] {
  position: fixed;
  top: 0;
  right: 0;
  width: 820px;
  max-width: 95vw;
  height: 100vh;
  background: white;
  border-top: 3px solid hsl(var(--brand-600));
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  animation: sheet-default-slide-in-7df1e3ee 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  transition:
    width 0.4s cubic-bezier(0.32, 0.72, 0, 1),
    height 0.4s cubic-bezier(0.32, 0.72, 0, 1),
    top 0.4s cubic-bezier(0.32, 0.72, 0, 1),
    right 0.4s cubic-bezier(0.32, 0.72, 0, 1),
    border-radius 0.4s cubic-bezier(0.32, 0.72, 0, 1),
    border-top-width 0.4s cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  /* will-change: transform removed — 'transform' creates a new containing block
     for position:fixed descendants (e.g. ComboBox dropdowns), breaking their
     viewport-relative positioning. Only 'width' is needed for the transition hint. */
  will-change: width;
}

/* Modo overlay (botao de expandir): geometria do overlay de /leads — margem de
   4vh/4vw, largura maxima 1600px e cantos arredondados. Tamanhos explicitos
   (nada de `auto`) para a transicao de lateral para overlay animar. */
.sheet-default-container.sheet-default-container--overlay[data-v-7df1e3ee] {
  top: 4vh;
  right: max(4vw, calc((100vw - 1600px) / 2));
  width: min(92vw, 1600px);
  max-width: none;
  height: 92vh;
  border-top-width: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

/* ============================= */
/* HEADER                        */
/* ============================= */
.sheet-default-header[data-v-7df1e3ee] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  flex-shrink: 0;
}
.sheet-default-header-content[data-v-7df1e3ee] { 
  display: flex; 
  gap: 12px; 
  align-items: center;
}
.sheet-default-icon[data-v-7df1e3ee] { 
  width: 24px; 
  height: 24px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: #64748b; 
  flex-shrink: 0;
}
.sheet-default-header-actions[data-v-7df1e3ee] {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* Botao-icone fantasma, igual ao `lead-overlay-ctl` do overlay de /leads. */
.sheet-default-ctl[data-v-7df1e3ee] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.sheet-default-ctl[data-v-7df1e3ee]:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.sheet-default-ctl[data-v-7df1e3ee]:focus-visible {
  outline: 2px solid hsl(var(--brand-600));
  outline-offset: 2px;
}
.sheet-default-title[data-v-7df1e3ee] { 
  margin: 0; 
  font-weight: 600; 
  color: #1e293b; 
  font-size: 17px;
  letter-spacing: -0.01em;
}
.sheet-default-close[data-v-7df1e3ee] { 
  border: none; 
  background: #f8fafc; 
  width: 36px; 
  height: 36px; 
  border-radius: 8px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}
.sheet-default-close[data-v-7df1e3ee]:hover {
  background: #e2e8f0;
  color: #475569;
}

/* ============================= */
/* BODY                          */
/* ============================= */
.sheet-default-body[data-v-7df1e3ee] { 
  flex: 1;
  overflow: auto;
  padding: 24px;
}

/* ============================= */
/* FOOTER                        */
/* ============================= */
.sheet-default-footer[data-v-7df1e3ee] { 
  padding: 14px 24px; 
  border-top: 1px solid #f1f5f9; 
  background: #fff;
  display: flex; 
  justify-content: flex-end; 
  gap: 10px; 
  flex-shrink: 0;
}

/* ============================= */
/* FORM LAYOUT - LABELS E INPUTS LADO A LADO */
/* ============================= */

/* Campo de formulário: label à esquerda, input à direita */
.sheet-default-body[data-v-7df1e3ee] .form-field,
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-field,
.sheet-default-body[data-v-7df1e3ee] .pipeline-filter-field {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 12px;
}

/* Label com largura fixa à esquerda */
.sheet-default-body[data-v-7df1e3ee] .form-field label,
.sheet-default-body[data-v-7df1e3ee] .form-label,
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-label,
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-label-email,
.sheet-default-body[data-v-7df1e3ee] .pipeline-filter-label {
  min-width: 160px;
  width: 160px;
  font-weight: 500;
  color: #374151;
  font-size: 14px;
  text-align: right;
  flex-shrink: 0;
  line-height: 1.5;
  padding-top: 10px;
  white-space: normal;
  word-wrap: break-word;
}
.sheet-default-body[data-v-7df1e3ee] .combo-box,
.sheet-default-body[data-v-7df1e3ee] .combobox-wrapper {
  width: 100% !important;
  min-width: 0 !important;
}
.sheet-default-body[data-v-7df1e3ee] .combo-trigger {
  width: 100%;
}

/* NOTE: .combo-dropdown uses position:fixed with JS-computed coordinates.
   Do NOT override left/right/width here — those are set dynamically by ComboBox.vue
   via getBoundingClientRect(), and overriding them would break positioning. */

/* Container do input ocupa o espaço restante */
.sheet-default-body[data-v-7df1e3ee] .form-field .input-wrapper,
.sheet-default-body[data-v-7df1e3ee] .form-field input,
.sheet-default-body[data-v-7df1e3ee] .form-field select,
.sheet-default-body[data-v-7df1e3ee] .form-field textarea,
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-input,
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-select,
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-textarea,
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-money,
.sheet-default-body[data-v-7df1e3ee] .pipeline-filter-input,
.sheet-default-body[data-v-7df1e3ee] .pipeline-filter-calendar,
.sheet-default-body[data-v-7df1e3ee] .pipeline-filter-combobox {
  flex: 1;
  min-width: 0;
}

/* Inputs padrão - EXCLUINDO CHECKBOX, RADIO, RANGE, InputDefault, INPUTS DE MODALS/COMBOS E DATE PICKERS */
.sheet-default-body[data-v-7df1e3ee] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(.combo-search-input):not(.combo-withicons-search-input):not(.input-default-ui-input):not(.model-message-campaign-search-input):not(.drp-trigger-input):not(.drp-time-input):not(.dp-input):not(.dp-time-field):not(.goals-form__money-input),
.sheet-default-body[data-v-7df1e3ee] select:not(.model-message-campaign-select),
.sheet-default-body[data-v-7df1e3ee] textarea:not(.model-message-campaign-textarea),
.sheet-default-body[data-v-7df1e3ee] .pipeline-filter-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #1e293b;
  background: white;
  transition: all 0.2s ease;
  box-sizing: border-box;
  height: 38px;
}
.sheet-default-body[data-v-7df1e3ee] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(.combo-search-input):not(.combo-withicons-search-input):not(.input-default-ui-input):not(.model-message-campaign-search-input):not(.drp-trigger-input):not(.drp-time-input):not(.dp-input):not(.dp-time-field):not(.goals-form__money-input):focus,
.sheet-default-body[data-v-7df1e3ee] select:not(.model-message-campaign-select):focus,
.sheet-default-body[data-v-7df1e3ee] textarea:not(.model-message-campaign-textarea):focus,
.sheet-default-body[data-v-7df1e3ee] .pipeline-filter-input:focus {
  outline: none;
  border-color: hsl(var(--brand-600));
  box-shadow: 0 0 0 3px hsl(var(--brand-600)/0.1);
}

/* Checkbox e Radio - estilos específicos */
.sheet-default-body[data-v-7df1e3ee] input[type="checkbox"],
.sheet-default-body[data-v-7df1e3ee] input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: hsl(var(--brand-600));
}
.sheet-default-body[data-v-7df1e3ee] textarea {
  min-height: 80px;
  height: auto;
  resize: vertical;
  font-family: inherit;
  padding: 10px 12px;
}

/* ComboBox - mantém estrutura, apenas alinha */
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-new-combobox-container,
.sheet-default-body[data-v-7df1e3ee] .combobox-wrapper {
  flex: 1;
  min-width: 0;
}

/* Containers especiais (telefone, email, busca) */
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-phone-container,
.sheet-default-body[data-v-7df1e3ee] .phone-input-group,
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-email-container,
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-search-container,
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-calendar-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Telefone com DDI */
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-phone-container,
.sheet-default-body[data-v-7df1e3ee] .phone-input-group {
  flex-direction: row;
  align-items: stretch;
}
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-country-wrapper,
.sheet-default-body[data-v-7df1e3ee] .ddi-wrapper {
  flex-shrink: 0;
  min-width: 120px;
  width: 120px;
}
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-phone-input,
.sheet-default-body[data-v-7df1e3ee] .phone-input {
  flex: 1;
  min-width: 0;
}

/* Mensagens de erro */
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-error,
.sheet-default-body[data-v-7df1e3ee] .form-error,
.sheet-default-body[data-v-7df1e3ee] .pipeline-filter-error {
  display: block;
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  padding-left: 176px;
}

/* Seções do formulário */
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-section,
.sheet-default-body[data-v-7df1e3ee] .form-section,
.sheet-default-body[data-v-7df1e3ee] .products-section {
  margin-bottom: 32px;
}
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-section-title,
.sheet-default-body[data-v-7df1e3ee] .form-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 16px 0;
}

/* Link "+ Produtos" */
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-add-products-inline {
  margin: 8px 0 16px 0;
}
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-add-products-link,
.sheet-default-body[data-v-7df1e3ee] .products-link {
  color: hsl(var(--brand-600));
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  display: inline-block;
}
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-add-products-link:hover,
.sheet-default-body[data-v-7df1e3ee] .products-link:hover {
  text-decoration: underline;
}

/* Anotações - layout especial */
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-note-form,
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-notes {
  margin-left: 176px;
}

/* ============================= */
/* RESPONSIVIDADE                */
/* ============================= */
@media (max-width: 1200px) {
.sheet-default-container.sheet-default-expanded[data-v-7df1e3ee] {
    width: 95vw !important;
}
}
@media (max-width: 768px) {
.sheet-default-container[data-v-7df1e3ee] { 
    max-width: 100%;
}

  /* Celular: o overlay ocupa a tela toda, sem margem nem canto arredondado. */
.sheet-default-container.sheet-default-container--overlay[data-v-7df1e3ee] {
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}
.sheet-default-container.sheet-default-expanded[data-v-7df1e3ee] {
    width: 100% !important;
}
.sheet-default-body[data-v-7df1e3ee] .form-field,
  .sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-field,
  .sheet-default-body[data-v-7df1e3ee] .pipeline-filter-field {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.sheet-default-body[data-v-7df1e3ee] .form-field label,
  .sheet-default-body[data-v-7df1e3ee] .form-label,
  .sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-label,
  .sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-label-email,
  .sheet-default-body[data-v-7df1e3ee] .pipeline-filter-label {
    min-width: auto;
    width: auto;
    text-align: left;
    padding-top: 0;
}
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-error,
  .sheet-default-body[data-v-7df1e3ee] .form-error,
  .sheet-default-body[data-v-7df1e3ee] .pipeline-filter-error {
    padding-left: 0;
}
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-add-products-link,
  .sheet-default-body[data-v-7df1e3ee] .products-link {
    padding-left: 0;
}
.sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-note-form,
  .sheet-default-body[data-v-7df1e3ee] .pipeline-card-edit-notes {
    margin-left: 0;
}
.sheet-default-body[data-v-7df1e3ee] .ddi-wrapper {
    width: 100%;
}
}
@media (max-width: 640px) {
.sheet-default-header[data-v-7df1e3ee],
  .sheet-default-body[data-v-7df1e3ee],
  .sheet-default-footer[data-v-7df1e3ee] {
    padding-left: 16px;
    padding-right: 16px;
}
}
@media (prefers-reduced-motion: reduce) {
.sheet-default-container[data-v-7df1e3ee],
  .sheet-default-overlay[data-v-7df1e3ee] {
    transition: none;
}
}
