/**
 * Padrões de componentes web — espelho EZ-Mobi.mobile
 */

/* Profile */
.ez-profile-header {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 25, 48, 0.06);
}

.ez-profile-header__top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.ez-profile-header__body {
  flex: 1;
  min-width: 0;
}

.ez-profile-header__avatar {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: rgba(0, 69, 102, 0.12);
  color: var(--color-link);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ez-profile-header__name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary, #001930);
  line-height: 1.25;
}

.ez-profile-header__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ez-profile-header__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.ez-profile-header__chip--plan .mdi {
  font-size: 14px;
  line-height: 1;
}

.ez-profile-header__chip--status--ok {
  background: rgba(0, 153, 51, 0.12);
  color: var(--color-success, #009933);
}

.ez-profile-header__chip--status--busy {
  background: rgba(204, 0, 0, 0.1);
  color: var(--color-danger, #c00);
}

.ez-profile-section {
  margin-bottom: 20px;
}

.ez-profile-section__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin: 0 0 8px;
}

.ez-profile-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.ez-profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  width: 100%;
  text-align: left;
  background: #fff;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
  cursor: pointer;
}

.ez-profile-row:last-child {
  border-bottom: none;
}

.ez-profile-row:hover {
  background: rgba(0, 69, 102, 0.04);
}

.ez-profile-row__body {
  flex: 1;
  min-width: 0;
}

.ez-profile-row__label {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.ez-profile-row__value {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.ez-profile-row__badge {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.ez-profile-row__badge--success {
  color: var(--color-success);
}

.ez-profile-row__badge--warning {
  color: var(--color-warning);
}

.ez-profile-row__badge--muted {
  color: var(--color-text-muted);
}

.ez-profile-row--readonly {
  cursor: default;
}

.ez-profile-row--readonly:hover {
  background: #fff;
}

button.ez-profile-row {
  cursor: pointer;
  text-align: left;
}

.ez-profile-email-banner {
  background: rgba(154, 123, 0, 0.12);
  border: 1px solid rgba(154, 123, 0, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ez-profile-email-banner[hidden] {
  display: none !important;
}

.ez-profile-email-banner__text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-warning, #9a7b00);
}

.ez-profile-email-banner__btn {
  border: none;
  background: var(--color-primary, #001930);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.ez-profile-email-banner__btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Vehicle card */
.ez-vehicle-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ez-vehicle-card__plate {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 4px;
}

.ez-vehicle-card__meta {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Transaction card */
.ez-transaction-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid var(--color-border);
}

.ez-transaction-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 6px;
}

.ez-transaction-card__meta {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.45;
}

/* Invoice row */
.ez-invoice-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.ez-invoice-row:last-child {
  border-bottom: none;
}

/* Accredited */
.ez-accredited-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  display: block;
}

.ez-accredited-card:hover {
  background: rgba(0, 69, 102, 0.04);
}

/* FAQ */
.ez-faq-item {
  border-bottom: 1px solid var(--color-border);
}

.ez-faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
}

.ez-faq-item__answer {
  display: none;
  padding: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.ez-faq-item.is-open .ez-faq-item__answer {
  display: block;
}

/* Star rating */
.ez-star-rating {
  display: flex;
  gap: 8px;
  margin: 8px 0 16px;
}

.ez-star-rating__btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--color-border);
}

.ez-star-rating__btn.is-active {
  color: #f5a623;
}

/* Parking bottom sheet */
.ez-parking-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 25, 48, 0.18);
  max-height: 78vh;
  transform: translateY(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
}

.ez-parking-sheet.is-open {
  transform: translateY(0);
}

.ez-parking-sheet__handle {
  width: 40px;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  margin: 10px auto 8px;
}

.ez-parking-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 16px 12px;
  gap: 12px;
}

.ez-parking-sheet__body {
  overflow-y: auto;
  padding: 0 16px 16px;
  flex: 1;
}

.ez-parking-sheet__footer {
  padding: 12px 16px 20px;
  border-top: 1px solid var(--color-border);
}

.ez-parking-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: var(--color-dialog-backdrop);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.ez-parking-sheet-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Table theme (DataTables / nativas) */
.ez-table-theme {
  width: 100%;
  border-collapse: collapse;
}

.ez-table-theme th,
.ez-table-theme td {
  border-bottom: 1px solid var(--color-border);
  padding: 10px 8px;
  text-align: left;
  font-size: 13px;
  font-family: var(--font-family);
}

.ez-table-theme .ez-table th,
.ez-table-theme table.dataTable thead th {
  color: #fff;
  background: var(--color-primary);
}

.ez-table-theme th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
}

/* Skeleton */
.ez-skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: ez-skeleton 1.2s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes ez-skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.ez-skeleton--line {
  height: 14px;
  margin-bottom: 8px;
}

.ez-skeleton--card {
  height: 72px;
  margin-bottom: 10px;
}

/* Settings toggle */
.ez-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
}

.ez-toggle-row:last-child {
  border-bottom: none;
}

.ez-toggle {
  width: 48px;
  height: 28px;
  border-radius: 14px;
  background: var(--color-border);
  border: none;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.ez-toggle.is-on {
  background: var(--color-success);
}

.ez-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.ez-toggle.is-on::after {
  transform: translateX(20px);
}

.ez-est-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
}

.ez-est-toggles__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ez-est-toggles__label {
  font-size: 13px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.ez-est-visibility {
  display: flex;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
  overflow: hidden;
}

.ez-est-visibility__accent {
  width: 4px;
  flex-shrink: 0;
  background: var(--color-primary);
}

.ez-est-visibility__body {
  flex: 1;
  padding: 18px 20px;
  min-width: 0;
}

.ez-est-visibility__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.ez-est-visibility__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-search-bar-bg);
  color: var(--color-primary);
  flex-shrink: 0;
}

.ez-est-visibility__title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
}

.ez-est-visibility__lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.ez-est-visibility__controls .ez-est-toggles {
  gap: 12px;
}

.ez-est-visibility__controls .ez-est-toggles__item {
  flex: 1 1 220px;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--color-search-bar-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.ez-est-visibility__controls .ez-est-toggles__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

/* Social auth (login) */
.ez-social-auth {
  margin-top: 20px;
}

.ez-social-auth__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ez-social-auth__divider::before,
.ez-social-auth__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.ez-social-auth__divider span {
  font-size: 13px;
  color: var(--color-text-muted);
}

.ez-social-auth__row {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.ez-social-auth__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ez-social-auth__btn--google .mdi {
  color: #4285f4;
}

.ez-mini-btn {
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
}

.ez-mini-btn.danger {
  color: var(--color-danger);
  border-color: #f1c3c3;
}

/* Payment (paridade PaymentMethodScreen) */
.ez-payment-hero {
  text-align: center;
  margin-bottom: 20px;
}

.ez-payment-hero__icon {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: var(--shadow-card);
}

.ez-payment-hero__icon .mdi {
  font-size: 28px;
  color: var(--color-primary);
}

.ez-payment-hero__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 6px;
}

.ez-payment-hero__subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

.ez-payment-preview {
  position: relative;
  background: var(--color-primary-button);
  border-radius: 16px;
  padding: 20px;
  min-height: 168px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(0, 25, 48, 0.2);
  color: #fff;
}

.ez-payment-preview__decor {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.ez-payment-preview__decor--a {
  width: 140px;
  height: 140px;
  top: -40px;
  right: -30px;
}

.ez-payment-preview__decor--b {
  width: 100px;
  height: 100px;
  bottom: -30px;
  left: -20px;
}

.ez-payment-preview__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.ez-payment-preview__number {
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: 600;
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}

.ez-payment-preview__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.ez-payment-preview__label {
  font-size: 10px;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 4px;
}

.ez-payment-preview__value {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.ez-payment-saved {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.ez-payment-saved__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ez-payment-saved__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: #e8f8ee;
  color: var(--color-success);
}

.ez-payment-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.ez-payment-tile {
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.ez-payment-tile.is-active {
  border-color: var(--color-link);
  background: rgba(0, 69, 102, 0.06);
}

.ez-payment-tile:disabled,
.ez-payment-tile.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ez-payment-tile__badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--color-success);
  color: #fff;
}

.ez-payment-tile__badge--muted {
  background: var(--color-border);
  color: var(--color-text-muted);
}

.ez-payment-security {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 12px;
}

.ez-payment-security .mdi {
  color: var(--color-success);
  font-size: 20px;
  flex-shrink: 0;
}

.ez-status { font-weight: 700; }
.ez-status.ok { color: var(--color-success); }
.ez-status.warn { color: var(--color-link); }
.ez-status.fail { color: var(--color-danger); }

.ez-tx-compact {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  margin-bottom: 8px;
}

/* Operational dashboard */
.ez-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.ez-stat-card {
  border-radius: var(--radius-card);
  padding: 16px;
  color: #fff;
}

.ez-stat-card--primary {
  background: var(--color-primary);
}

.ez-stat-card--button {
  background: var(--color-primary-button);
}

.ez-stat-card__label {
  font-size: 12px;
  opacity: 0.9;
  margin: 0 0 8px;
}

.ez-stat-card__value {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.ez-op-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.ez-op-header__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.ez-campaign-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}

.ez-campaign-toggle__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-success);
  color: #fff;
}

.ez-campaign-toggle.is-off .ez-campaign-toggle__icon {
  background: var(--color-text-muted);
}

.ez-campaign-toggle__label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 120px;
}

.ez-tracker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.ez-tracker-row:last-child {
  border-bottom: none;
}

.ez-parking-booking {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  margin-bottom: 10px;
}

.ez-parking-booking__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

/* Admin filter bar */
.ez-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.ez-filter-bar__field {
  flex: 1 1 200px;
  min-width: 0;
  margin-bottom: 0;
}

.ez-filter-bar__field--narrow {
  flex: 0 1 120px;
}

.ez-filter-bar__submit {
  flex: 0 0 auto;
  width: auto;
  min-width: 120px;
}

.ez-filter-bar--wrap {
  align-items: flex-end;
}

.ez-table-sort {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.ez-est-autocomplete {
  position: relative;
}

.ez-autocomplete-list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--color-border, #d8dee6);
  border-radius: 8px;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ez-autocomplete-item {
  padding: 10px 12px;
  cursor: pointer;
}

.ez-autocomplete-item:hover,
.ez-autocomplete-item:focus {
  background: rgba(0, 69, 102, 0.06);
}

.ez-autocomplete-item--empty {
  cursor: default;
  color: var(--color-muted, #667085);
}

.ez-table-sort:hover {
  text-decoration: underline;
}

.ez-table-wrap.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

.ez-filter-bar__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding-bottom: 10px;
}

.ez-filter-presets {
  font-size: 14px;
  margin: 0 0 8px;
}

/* Cabeçalho de página operacional */
.ez-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.ez-page-header .ez-title {
  text-align: left;
  margin: 0;
  font-size: 22px;
}

.ez-card__lead {
  margin: 0 0 20px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.ez-date-range {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.ez-card-grid--nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  padding: 0;
}

.ez-card-grid--nav .ez-card-tile--icon {
  min-height: auto;
  padding: 14px 16px;
  text-decoration: none;
}

.ez-status-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.ez-status-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-search-bar-bg);
  font-size: 14px;
}

.ez-status-list__label {
  font-weight: 600;
  color: var(--color-text);
}

.ez-status-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.ez-status-badge--ok {
  background: rgba(56, 176, 131, 0.15);
  color: var(--color-success, #248f6a);
}

.ez-status-badge--pending {
  background: rgba(240, 192, 64, 0.2);
  color: #8a6d00;
}

.ez-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.ez-support-tile {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
  box-shadow: var(--shadow-card);
}

.ez-support-tile:hover {
  background: rgba(0, 69, 102, 0.04);
  text-decoration: none;
  color: var(--color-primary);
}

.ez-support-note {
  margin-top: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.ez-action-confirm {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 16px;
}

.ez-action-confirm__code {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-success, #248f6a);
  margin: 8px 0 16px;
  word-break: break-all;
}

.ez-action-confirm__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.ez-action-confirm__actions .ez-btn-primary,
.ez-action-confirm__actions .ez-btn-secondary {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.ez-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}

.ez-table-actions .ez-btn-secondary {
  width: auto;
  min-width: 0;
  padding: 0 10px;
  height: 32px;
  line-height: 30px;
  font-size: 12px;
}

.ez-filter-presets a {
  margin-right: 12px;
  color: var(--color-link);
}

.ez-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.ez-pagination__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ez-pagination__per-page {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
}

.ez-pagination__per-page-select.ez-field {
  width: auto;
  min-width: 72px;
  height: 36px;
  padding: 0 8px;
  font-size: 14px;
}

.ez-pagination__controls .ez-pagination__btn {
  width: auto;
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
  line-height: 34px;
}

.ez-pagination__btn.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.ez-pagination__page {
  font-size: 14px;
  color: var(--color-text-muted);
}

.ez-filter-bar__action-secondary {
  flex: 0 0 auto;
  width: auto;
  min-width: 120px;
  height: var(--height-input);
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.ez-wizard__body {
  min-width: 0;
}

/* Wizard admin */
.ez-wizard__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.ez-wizard__step {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  background: var(--color-border);
  color: var(--color-text-muted);
}

.ez-wizard__step.is-active {
  background: var(--color-primary);
  color: #fff;
}

/* Auth signup progress */
.ez-signup-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.ez-signup-progress__bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--color-border);
}

.ez-signup-progress__bar.is-done,
.ez-signup-progress__bar.is-active {
  background: var(--color-link);
}

/* Assistant web */
.ez-assistant-layout {
  display: flex;
  flex-direction: column;
  min-height: 50vh;
  gap: 12px;
}

.ez-assistant-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0;
}

.ez-assistant-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.ez-assistant-bubble--user {
  align-self: flex-end;
  background: var(--color-primary-button);
  color: #fff;
}

.ez-assistant-bubble--bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--color-border);
}

.ez-assistant-compose {
  display: flex;
  gap: 8px;
}

.ez-assistant-compose .ez-field {
  flex: 1;
}

/* DataTables extended */
.ez-table-theme .dataTables_filter input,
.ez-table-theme .dataTables_length select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  padding: 6px 10px;
  font-family: inherit;
}

.ez-table-theme .dataTables_paginate .paginate_button.current {
  background: var(--color-primary) !important;
  color: #fff !important;
  border-color: var(--color-primary) !important;
}

.ez-chart-canvas {
  width: 100% !important;
  max-height: 320px;
  height: auto !important;
}

@media (min-width: 1024px) {
  .ez-wizard {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
  }

  .ez-wizard__steps {
    flex-direction: column;
    position: sticky;
    top: 16px;
  }

  .ez-wizard [data-panel='3'] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* Governança — seções empilhadas, formulários estreitos, filas de vínculo */
.ez-container > .ez-card + .ez-card,
.ez-card.ez-card--spaced {
  margin-top: 20px;
}

.ez-card__section-title {
  text-align: left;
  font-size: 18px;
  margin: 0 0 12px;
}

.ez-wizard-form--narrow {
  max-width: 440px;
}

.ez-wizard-form--narrow-sm {
  max-width: 400px;
}

.ez-pwd-rules {
  margin: 8px 0 0;
  padding-left: 18px;
  list-style: none;
}

.ez-pwd-rules li {
  font-size: 13px;
  line-height: 1.5;
}

.ez-field-hint {
  margin: 6px 0 0;
  font-size: 0.8125rem;
}

.ez-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.ez-btn--compact {
  width: auto;
  padding: 0 12px;
  height: 36px;
  line-height: 34px;
}

.ez-link-request__body {
  flex: 1;
  min-width: 0;
}

.ez-link-request__meta {
  margin: 4px 0 0;
  font-size: 13px;
}

.ez-status-list__item.ez-link-request {
  flex-wrap: wrap;
  align-items: flex-start;
}

.ez-status-list__item.ez-link-request .ez-action-row {
  margin-top: 0;
  flex-shrink: 0;
}

/* Admin — chips, tabs, grids e detalhes */
.ez-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.ez-chip,
.ez-chip-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}

.ez-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ez-chip:has(input:checked),
.ez-chip-link.is-active,
.ez-chip-link:hover {
  background: var(--color-primary-button, #13274f);
  border-color: var(--color-primary-button, #13274f);
  color: #fff;
}

.ez-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.ez-tabs__btn {
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

.ez-tabs__btn.is-active {
  background: var(--color-primary-button, #13274f);
  border-color: var(--color-primary-button, #13274f);
  color: #fff;
}

.ez-platform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ez-platform-tabs .ez-btn-secondary {
  width: auto;
  min-width: 120px;
  height: 42px;
  padding: 0 16px;
}

.ez-platform-tabs .ez-btn-secondary.is-active {
  background: var(--color-primary-button, #13274f);
  border-color: var(--color-primary-button, #13274f);
  color: #fff;
}

.ez-field-grid {
  display: grid;
  gap: 12px;
}

.ez-field-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ez-field-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ez-dl-grid {
  margin: 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 6px 12px;
  font-size: 14px;
}

.ez-dl-grid dt {
  color: var(--color-text-muted);
  font-weight: 600;
}

.ez-dl-grid dd {
  margin: 0;
  word-break: break-word;
}

.ez-detail-dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(140px, auto) 1fr;
  gap: 10px 16px;
  font-size: 15px;
}

.ez-detail-dl dt {
  font-weight: 600;
  color: var(--color-primary);
}

.ez-detail-dl dd {
  margin: 0;
}

.ez-detail-dl__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ez-tab-panel {
  padding: 12px;
  overflow: auto;
  max-height: 420px;
  font-size: 13px;
  line-height: 1.45;
}

.ez-tab-panel pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
}

.ez-table-wrap--scroll {
  max-height: 280px;
  overflow: auto;
  margin-top: 8px;
}

.ez-table-wrap.ez-table-theme {
  margin-top: 16px;
}

.ez-table-actions--inline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.ez-field--compact {
  height: 32px;
  padding: 4px 8px;
  width: auto;
  min-width: 120px;
}

.ez-field--textarea {
  height: auto;
  min-height: 80px;
  padding: 10px 12px;
}

.ez-field--inline {
  width: 100px;
  display: inline-block;
  vertical-align: middle;
}

.ez-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.ez-checklist label {
  font-size: 15px;
  cursor: pointer;
}

.ez-preview-table-wrap {
  display: none;
}

.ez-preview-table-wrap.is-visible {
  display: block;
}

.ez-mt-md {
  margin-top: 16px;
}

.ez-mb-md {
  margin-bottom: 12px;
}

.ez-mb-lg {
  margin-bottom: 16px;
}

.ez-text-sm {
  font-size: 12px;
}

.ez-text-meta {
  font-size: 13px;
}

.ez-btn-secondary--toolbar {
  width: auto;
  padding: 0 14px;
  height: 40px;
  line-height: 38px;
}

/* Wizard nova campanha (admin) */
.ez-campaign-wizard {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ez-campaign-wizard-nav .ez-wizard-progress__step {
  border: none;
  padding: 0;
  cursor: pointer;
}

.ez-campaign-wizard-nav .ez-wizard-progress__step:disabled,
.ez-campaign-wizard-nav .ez-wizard-progress__step.is-locked {
  cursor: not-allowed;
}

.ez-campaign-wizard-nav__link {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.ez-campaign-wizard-nav__link:hover {
  text-decoration: underline;
}

.ez-campaign-wizard__panel-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
}

.ez-campaign-wizard__panel-lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.ez-campaign-wizard__section {
  margin-bottom: 20px;
}

.ez-campaign-wizard__section-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.ez-campaign-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.ez-campaign-filter-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card, 10px);
  background: #fff;
  cursor: pointer;
}

.ez-campaign-filter-card:has(input:checked) {
  border-color: var(--color-primary-button, #13274f);
  background: rgba(19, 39, 79, 0.04);
}

.ez-campaign-filter-card input {
  margin-top: 3px;
  flex-shrink: 0;
}

.ez-campaign-filter-card__title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
}

.ez-campaign-filter-card__hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.ez-campaign-audience-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-search-bar-bg, #f5f7fa);
}

.ez-campaign-audience-banner.is-stale {
  border-color: #e0a040;
  background: #fff8e8;
}

.ez-campaign-audience-banner.is-ok {
  border-color: rgba(0, 175, 75, 0.35);
  background: #e6f9ed;
}

.ez-campaign-audience-banner__text {
  flex: 1;
  margin: 0;
  font-size: 14px;
}

.ez-stat-grid--campaign {
  margin-bottom: 16px;
}

.ez-stat-card--light {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card, 0 1px 3px rgba(0, 0, 0, 0.06));
}

.ez-stat-card--light .ez-stat-card__label {
  color: var(--color-text-muted);
  opacity: 1;
}

.ez-campaign-review-message {
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14px;
  line-height: 1.5;
  max-height: 200px;
  overflow: auto;
}

.ez-campaign-review-checklist {
  margin: 16px 0 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.ez-campaign-wizard__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.ez-campaign-wizard__footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ez-campaign-wizard__footer .ez-btn-primary,
.ez-campaign-wizard__footer .ez-btn-secondary,
.ez-btn-primary--compact {
  width: auto;
  min-width: 140px;
  padding: 0 18px;
  height: 42px;
}

.ez-campaign-audience-banner .ez-btn-primary--compact {
  min-width: 160px;
}

.ez-campaign-char-count {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--color-text-muted);
}

.ez-campaign-char-count.is-warn {
  color: #b45309;
  font-weight: 600;
}

.ez-campaign-char-count.is-over {
  color: var(--color-danger, #dc3545);
  font-weight: 600;
}

@media (min-width: 1024px) {
  .ez-campaign-wizard__layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
  }

  .ez-campaign-wizard-nav {
    position: sticky;
    top: 16px;
  }
}
