/* Small scope styles for the replacement block */
  .newsletter-replacement * { box-sizing: border-box; }

  /* Generate button */
  .btn-generate {
    background: #ec1c24;
    color: #fff;
    border: 0;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
  }

  /* Table (keeps look consistent with your dashboard) */
  .properties__table--wrapper { width:100%; border-collapse: collapse; }
  .properties__table--wrapper th, .properties__table--wrapper td {
    padding: 12px 10px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  /* Modal / editor styling (dark) */
  .newsletter-replacement .modal-content {
    background: #0f1622;
    color: #fff;
    border-radius: 12px;
  }
  .newsletter-replacement .modal-header {
    border-bottom: 1px solid #222;
    padding: 18px 20px;
  }
  .newsletter-replacement .modal-header h5 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
  }
  .newsletter-replacement .modal-body { padding: 18px 20px; }
  .newsletter-replacement .modal-footer { border-top: 1px solid #222; padding: 14px 20px; }

  /* Bigger inputs & placeholders */
  .newsletter-replacement .form-label { font-size: 16px; font-weight: 600; margin-bottom: 8px; display:block; }
  .newsletter-replacement .form-control {
    font-size: 15px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #10151f;
    color: #fff;
    border: 1px solid #2b344a;
  }
  .newsletter-replacement .form-control::placeholder { font-size: 15px; color: #9aa3b7; }

  /* date/time inputs bigger */
  .newsletter-replacement .date-time-input { width: 160px; font-size: 15px; padding: 10px 12px; }

  /* Editor */
  .newsletter-editor {
    min-height: 320px;
    border: 1px solid #2b344a;
    padding: 12px;
    border-radius: 8px;
    overflow: auto;
    background: #0b1117;
    color: #fff;
    font-size: 15px;
  }
  .editor-toolbar { margin-bottom: 10px; }
  .editor-toolbar button {
    padding: 8px 12px;
    margin-right: 8px;
    border-radius: 6px;
    background: #121726;
    color:#fff;
    border: 1px solid #2b344a;
    font-weight:700;
    cursor:pointer;
  }

  /* Buttons with white border/text */
  .outline-white {
    background: transparent;
    color: #fff !important;
    border: 1px solid #fff !important;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor:pointer;
  }
  .outline-white input[type="file"] { display: none; }

  /* small helper */
  .small-muted { font-size: 0.9rem; color: #9aa3b7; }

  /* Gallery preview */
  #galleryPreview img {
    max-height:70px; margin-right:8px; margin-bottom:8px; border-radius:6px; cursor:pointer;
    border:1px solid #333; padding:3px; background:#0b1117;
  }

  /* Bulk/Manual grids */
  .grid-panel {
    margin-top: 14px;
    background: #0b1117;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #232834;
  }
  .grid-panel.hidden { display:none !important; }  /* ensure hidden actually hides */
  .grid-panel h6 { margin:0 0 8px 0; font-size: 15px; }
  .table-fixed-input { width:100%; border-collapse:collapse; }
  .table-fixed-input th, .table-fixed-input td {
    border: 1px solid #1f2736; padding: 10px; color:#fff;
    background: transparent;
  }
  .table-fixed-input input[type="email"], .table-fixed-input input[type="text"] {
    background: #0f1622;
    color: #fff;
    border: 1px solid #2b344a;
    padding: 8px;
    border-radius: 6px;
    width: 100%;
  }

  /* Modal footer buttons (fix close size) */
  .newsletter-replacement .modal-footer .btn {
    padding: 10px 16px;
    font-size: 15px;
    border-radius: 8px;
    font-weight: 700;
  }
  .newsletter-replacement .btn-secondary { background:#2b2f39; color:#fff; border: 1px solid #2b344a; }
  .newsletter-replacement .btn-success { background: #ec1c24; color:#fff; border: none; }

  /* make sure dropdown action button looks same */
  .reviews__action--btn { background: transparent; border: none; font-size: 18px; cursor:pointer; color: inherit; }

