/* =================================
   SEND SMS PAGE STYLES
   ================================= */

/* COLLAPSIBLE CHIPS — bütün viewport-larda eyni davranış (mobile + desktop).
   Vaxt / İmza / Şablon / Form chip-ləri yığıq qalır, klikdə açılır. Yer tutmasın deyə. */
.form-group.m-collapsible {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0;
  background: #fafbfc;
  transition: background 0.15s;
  margin-bottom: 6px;
}
.form-group.m-collapsible.expanded { background: #fff; }
.form-group.m-collapsible > label {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  margin: 0 !important;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
}
.form-group.m-collapsible > label::after {
  content: '';
  width: 7px; height: 7px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 3px;
  flex-shrink: 0;
}
.form-group.m-collapsible.expanded > label::after {
  transform: rotate(-135deg);
}
.form-group.m-collapsible > .m-collapsible-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-group.m-collapsible.expanded > .m-collapsible-body {
  max-height: 500px;
  padding: 0 10px 10px;
}
.form-group.m-collapsible .form-control { font-size: 13px; padding: 8px 10px; }
.form-group.m-collapsible .m-coll-preview {
  font-size: 11.5px;
  font-weight: 500;
  color: #94a3b8;
  text-transform: none;
  letter-spacing: 0;
  margin-left: auto;
  margin-right: 6px;
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.form-group.m-collapsible.has-value .m-coll-preview {
  color: #4f46e5;
  font-weight: 600;
}

/* TRIO/QUAD ROW — chip-lər HƏMIŞƏ row 1-də yan-yana sabit qalır.
   Body row 2-də full-width açılır (grid-row explicit). */
.m-trio-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 6px;
  margin-bottom: 12px;
  align-items: start;
}
.m-trio-row.m-quad-row {
  grid-template-columns: repeat(4, 1fr);
}
/* m-trio-item layout-dan çıxsın — child-ləri birbaşa grid cell olsun */
.m-trio-row .m-trio-item {
  display: contents !important;
  margin-bottom: 0 !important;
}
/* Label həmişə row 1-də qalır */
.m-trio-row .m-trio-item > label {
  grid-row: 1;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1px;
  padding: 4px 2px;
  margin: 0 !important;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fafbfc;
  font-size: 10.5px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  line-height: 1.05;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.m-trio-row .m-trio-item > label:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.m-trio-row .m-trio-item > label::after {
  display: none !important;
}
/* has-value preview */
.m-trio-row .m-trio-item.has-value > label {
  border-color: #c7d2fe;
  background: #eef2ff;
}
.m-trio-row .m-trio-item.has-value .m-coll-preview {
  color: #4f46e5;
  font-weight: 600;
  display: block !important;
  margin: 0;
  max-width: 100%;
  text-align: center;
  font-size: 10px;
  line-height: 1.1;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-trio-row .m-trio-item:not(.has-value) .m-coll-preview {
  display: none !important;
}
/* Aktiv (expanded) chip — mavi gradient */
.m-trio-row .m-trio-item.expanded > label {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border-color: #4f46e5;
  color: #fff;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}
.m-trio-row .m-trio-item.expanded .m-coll-preview {
  color: #e0e7ff !important;
}
/* Body — HƏMIŞƏ row 2, full-width. Yalnız expanded olanı görsənir */
.m-trio-row .m-trio-item > .m-collapsible-body {
  grid-row: 2;
  grid-column: 1 / -1;
  display: none;
  max-height: none !important;
  margin-top: 4px;
  padding: 14px !important;
  background: #fff;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
  overflow: visible;
}
.m-trio-row .m-trio-item.expanded > .m-collapsible-body {
  display: block;
}
@media (min-width: 769px) {
  .m-trio-row .m-trio-item > label {
    padding: 8px 4px;
    font-size: 11.5px;
  }
}

.content-wrapper {
  padding: 18px;
  max-width: 100%;
}

/* Content Grid Layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 18px;
  align-items: start;
}

/* SMS Preview Styles */
.preview-container {
  position: sticky;
  top: 80px;
}

.phone-mockup {
  background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
  border-radius: 55px;
  padding: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  max-width: 380px;
}

.phone-screen {
  background: #000;
  border-radius: 45px;
  overflow: hidden;
  position: relative;
  height: 700px;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  background: #000;
  height: 35px;
  width: 130px;
  margin: 0 auto;
  border-radius: 0 0 25px 25px;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 8px 25px 5px;
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  background: #000;
}

.sms-header {
  background: linear-gradient(180deg, #1c1c1e 0%, #1c1c1e 100%);
  padding: 16px 20px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sms-avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #0a84ff, #0066cc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(10, 132, 255, 0.3);
}

.sms-sender-info h4 {
  margin: 0;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.sms-sender-info p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.sms-body {
  padding: 20px 15px;
  flex: 1;
  background: #000;
  overflow-y: auto;
}

.sms-bubble {
  background: #2c2c2e;
  padding: 13px 15px;
  border-radius: 20px;
  border-bottom-left-radius: 5px;
  max-width: 85%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  word-wrap: break-word;
  animation: fadeIn 0.3s ease;
  margin-right: auto;
  margin-left: 0;
}

.sms-text {
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  white-space: pre-wrap;
  font-weight: 400;
  letter-spacing: -0.2px;
}

.sms-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 5px;
  text-align: left;
  font-weight: 400;
}

.preview-placeholder {
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 15px;
  padding: 50px 20px;
}

.preview-placeholder p:first-child {
  font-size: 40px;
  margin-bottom: 10px;
}

.char-count-preview {
  text-align: center;
  padding: 12px;
  background: #1c1c1e;
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =================================
       EXCEL ANALYSIS STYLES
       ================================= */

.excel-analysis {
  margin-top: 14px;
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =================================
       CHANNEL SELECTION STYLES
       ================================= */

.hidden-for-channel-selection {
  display: none !important;
}

.channel-selection-container {
  padding: 24px 16px;
  max-width: 900px;
  margin: 0 auto;
}

.channel-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
}

/* === MOBİL: 1 sütun, horizontal layout (icon sol + content sağ), kompakt === */
@media (max-width: 768px) {
  .channel-selection-container { padding: 12px 12px 16px; }
  .channel-selection-container > h2 {
    font-size: 1.05em !important;
    margin-bottom: 12px !important;
    text-align: left !important;
  }

  /* Hüquqi xəbərdarlıq — sadə banner, böyük gradient yox */
  .legal-warning {
    padding: 10px 12px !important;
    margin: 0 0 12px 0 !important;
    border-radius: 10px !important;
    gap: 10px !important;
    border-width: 0 !important;
    box-shadow: none !important;
    animation: none !important;
    background: #fef2f2 !important;
    color: #991b1b !important;
    border-left: 3px solid #dc2626 !important;
  }
  .warning-icon { font-size: 1em !important; animation: none !important; flex-shrink: 0; }
  .warning-icon svg { width: 18px; height: 18px; }
  .warning-content { line-height: 1.35; font-size: 0.8em; }
  .warning-content strong { font-size: 0.95em; margin-bottom: 2px; }

  /* === Kartlar tək sütun, grid layout (icon sol — title/desc sağ — features alt) === */
  .channel-options {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 0 !important;
  }
  .channel-card {
    padding: 14px !important;
    min-height: 0 !important;
    border-radius: 12px !important;
    border-width: 1.5px !important;
    display: grid !important;
    grid-template-columns: 44px 1fr !important;
    grid-template-areas:
      "icon title"
      "icon desc"
      "feat feat" !important;
    column-gap: 12px;
    row-gap: 2px;
    align-items: start;
  }
  .channel-icon {
    grid-area: icon;
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    margin: 0 !important;
  }
  .channel-icon svg { width: 22px !important; height: 22px !important; }
  .channel-title { grid-area: title; }
  .channel-description { grid-area: desc; flex: none !important; }
  .channel-features { grid-area: feat; }
  .channel-title {
    font-size: 1em !important;
    margin-bottom: 0 !important;
    text-align: left !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }
  .channel-description {
    font-size: 0.78em !important;
    line-height: 1.4 !important;
    margin: 4px 0 6px 0 !important;
    text-align: left !important;
  }
  .channel-features {
    padding: 8px 10px !important;
    margin-top: 4px !important;
    border-radius: 8px !important;
  }
  .channel-features .feature {
    padding: 3px 0 !important;
    font-size: 0.73em !important;
    gap: 5px;
    line-height: 1.3;
  }
  .channel-features .feature svg { width: 12px !important; height: 12px !important; }

  .channel-option:hover .channel-card { transform: none !important; box-shadow: none !important; }
  .channel-card.selected { transform: none; }
  .channel-card.selected .channel-icon { animation: none !important; }
  .channel-card::before { display: none; }
}

.channel-option {
  cursor: pointer;
  display: block;
}

.channel-option input[type="radio"] {
  display: none;
}

.channel-card {
  background: var(--surface, #fff);
  border: 2px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: 18px;
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.channel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.channel-option:hover .channel-card {
  border-color: var(--primary, #4a90e2);
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(74, 144, 226, 0.15);
}

.channel-card.selected {
  border-color: var(--primary, #4a90e2);
  background: linear-gradient(
    135deg,
    rgba(74, 144, 226, 0.05) 0%,
    rgba(74, 144, 226, 0.02) 100%
  );
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.2);
}

.channel-card.selected::before {
  transform: scaleX(1);
}

.channel-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.channel-card.selected .channel-icon {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.channel-title {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--primary, #4a90e2);
  text-align: center;
  margin-bottom: 12px;
}

.channel-description {
  font-size: 0.9em;
  color: var(--text-secondary, #4a5568);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 15px;
  flex: 1;
}

.channel-features {
  background: var(--background, #f7fafc);
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
}

.channel-features .feature {
  padding: 6px 0;
  color: var(--text-primary, #1a202c);
  font-size: 0.85em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.channel-features .feature svg {
  flex-shrink: 0;
}

/* Selected Channel Banner */
.selected-channel-banner {
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Legal Warning */
.legal-warning {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: white;
  padding: 20px 25px;
  border-radius: 12px;
  margin: 30px auto;
  max-width: 900px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
  }
  50% {
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.5);
  }
}

.warning-icon {
  font-size: 2.5em;
  line-height: 1;
  animation: warningShake 3s ease-in-out infinite;
}

@keyframes warningShake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  10%,
  30%,
  50% {
    transform: rotate(-10deg);
  }
  20%,
  40%,
  60% {
    transform: rotate(10deg);
  }
  70% {
    transform: rotate(0deg);
  }
}

.warning-content {
  flex: 1;
  line-height: 1.6;
}

.warning-content strong {
  font-size: 1.1em;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Stats Grid - Compact */
.stats-grid {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border, #e9ecef);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 120px;
}

.stat-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stat-card.success { background: rgba(16, 185, 129, 0.04); border-color: #10b981; }
.stat-card.warning { background: rgba(245, 158, 11, 0.04); border-color: #f59e0b; }
.stat-card.danger { background: rgba(239, 68, 68, 0.04); border-color: #ef4444; }
.stat-card.info { background: rgba(59, 130, 246, 0.04); border-color: #3b82f6; }

.stat-icon {
  font-size: 1.4em;
  line-height: 1;
}

.stat-info {
  flex: 1;
}

.stat-value {
  font-size: 1.15em;
  font-weight: 700;
  color: var(--text-primary, #1a202c);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.72em;
  color: var(--text-light, #718096);
  margin-top: 1px;
}

/* Message Source Options */
.message-source-options {
  display: flex;
  gap: 15px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--surface, #fff);
  border: 2px solid var(--border, #e5e7eb);
  transition: all 0.2s ease;
  flex: 1;
  min-width: 180px;
}

.radio-option:hover {
  border-color: var(--primary, #4a90e2);
  background: rgba(74, 144, 226, 0.05);
}

.radio-option input[type="radio"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: var(--primary, #4a90e2);
}

.radio-option input[type="radio"]:checked + span {
  color: var(--primary, #4a90e2);
  font-weight: 600;
}

.radio-option span {
  font-size: 0.95em;
  color: var(--text-color, #2d3748);
  transition: all 0.2s ease;
}

/* Preview Section */
.preview-section {
  margin-top: 25px;
}

.preview-section h4 {
  margin-bottom: 15px;
  color: var(--primary, #4a90e2);
  font-size: 1.1em;
  font-weight: 600;
}

.preview-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
}

.preview-item {
  background: var(--surface, #fff);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border, #e5e7eb);
  transition: border-color 0.15s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-item:hover {
  border-color: var(--primary, #4a90e2);
}

.preview-phone {
  font-weight: 600;
  color: var(--primary, #4a90e2);
  font-size: 0.85em;
  font-family: 'SF Mono', 'Fira Code', monospace;
  white-space: nowrap;
}

.preview-message {
  color: var(--text-secondary, #4a5568);
  font-size: 0.8em;
  line-height: 1.4;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Errors Section - Compact */
.errors-container {
  margin-top: 10px;
}

.error-details {
  background: var(--surface, #fff);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid var(--border, #e5e7eb);
  transition: all 0.15s ease;
}

.error-details[open] {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.error-details summary {
  cursor: pointer;
  font-weight: 600;
  padding: 4px;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s ease;
  list-style: none;
  font-size: 0.85em;
}

.error-details summary::-webkit-details-marker {
  display: none;
}

.error-details summary::before {
  content: "▶";
  font-size: 0.8em;
  transition: transform 0.2s ease;
}

.error-details[open] summary::before {
  transform: rotate(90deg);
}

.error-details summary:hover {
  color: var(--primary, #4a90e2);
}

.error-list {
  margin-top: 8px;
  max-height: 150px;
  overflow-y: auto;
  border-top: 1px solid var(--border, #e5e7eb);
  padding-top: 6px;
}

.error-item {
  padding: 5px 8px;
  border-bottom: 1px solid var(--border, #e5e7eb);
  font-size: 0.82em;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.error-item:last-child {
  border-bottom: none;
}

.error-row {
  color: var(--text-light, #718096);
  min-width: 80px;
  font-size: 0.85em;
}

.error-value {
  font-weight: 600;
  color: var(--text-primary, #1a202c);
  font-family: "Courier New", monospace;
  background: var(--background, #f7fafc);
  padding: 2px 8px;
  border-radius: 4px;
}

.error-reason {
  color: #ef4444;
  flex: 1;
  font-size: 0.9em;
}

.error-more {
  padding: 10px;
  text-align: center;
  color: var(--text-light, #718096);
  font-style: italic;
  font-size: 0.9em;
}

/* Validation Result - Compact */
.validation-result {
  margin-top: 14px;
  background: var(--surface, #fff);
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--primary, #4a90e2);
  animation: slideIn 0.2s ease;
}

.validation-result h3 {
  margin-bottom: 10px;
  color: var(--primary, #4a90e2);
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
}

.blacklist-details {
  background: rgba(239, 68, 68, 0.04);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.blacklist-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--danger, #ef4444);
  padding: 2px;
  list-style: none;
  font-size: 0.85em;
}

.blacklist-details summary::-webkit-details-marker {
  display: none;
}

.blacklist-details summary::before {
  content: "▶ ";
  font-size: 0.75em;
  transition: transform 0.2s ease;
}

.blacklist-details[open] summary::before {
  transform: rotate(90deg);
  display: inline-block;
}

.blacklist-details ul {
  margin-top: 8px;
  padding-left: 16px;
  max-height: 120px;
  overflow-y: auto;
}

.blacklist-details li {
  padding: 3px 0;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.82em;
  color: var(--text-secondary, #4a5568);
  border-bottom: 1px solid rgba(239, 68, 68, 0.08);
}

.blacklist-details li:last-child {
  border-bottom: none;
}

/* Scrollbar Styling */
.preview-list::-webkit-scrollbar,
.error-list::-webkit-scrollbar,
.blacklist-details ul::-webkit-scrollbar {
  width: 6px;
}

.preview-list::-webkit-scrollbar-track,
.error-list::-webkit-scrollbar-track,
.blacklist-details ul::-webkit-scrollbar-track {
  background: var(--background, #f7fafc);
  border-radius: 3px;
}

.preview-list::-webkit-scrollbar-thumb,
.error-list::-webkit-scrollbar-thumb,
.blacklist-details ul::-webkit-scrollbar-thumb {
  background: var(--border, #cbd5e0);
  border-radius: 3px;
}

.preview-list::-webkit-scrollbar-thumb:hover,
.error-list::-webkit-scrollbar-thumb:hover,
.blacklist-details ul::-webkit-scrollbar-thumb:hover {
  background: var(--text-light, #a0aec0);
}

/* iMessage Bar */
.imessage-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-top: 0.5px solid rgba(0, 0, 0, 0.1);
  padding: 8px 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.imessage-icon {
  flex-shrink: 0;
}

.imessage-input {
  flex: 1;
  min-width: 0;
  background: rgba(142, 142, 147, 0.12);
  border-radius: 18px;
  padding: 7px 12px;
  font-size: 13px;
  color: #8e8e93;
}

/* =================================
       RESPONSIVE - MOBILE
       ================================= */

@media (max-width: 1200px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .preview-container {
    position: relative;
    top: 0;
    order: 2;
    margin-top: 20px;
  }

  .phone-mockup {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    flex-wrap: wrap;
  }

  .stat-card {
    padding: 8px 10px;
    min-width: 100px;
  }

  .stat-value {
    font-size: 1em;
  }

  .stat-icon {
    font-size: 1.2em;
  }

  .message-source-options {
    flex-direction: column;
    gap: 10px;
  }

  .radio-option {
    min-width: auto;
  }

  .action-buttons {
    flex-direction: column;
  }

  .action-buttons button {
    width: 100%;
  }

  .content-wrapper {
    padding: 0;
  }

  /* Mobil ekranda preview həmişə aşağıda */
  .preview-container {
    order: 2;
    margin-top: 25px;
    padding: 0 14px;
  }

  .tabs-container {
    order: 1;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

}

@media (max-width: 480px) {
  .stat-card {
    padding: 6px 8px;
    gap: 6px;
  }

  .stat-value {
    font-size: 0.95em;
  }

  .stat-icon {
    font-size: 1em;
  }

  .stat-label {
    font-size: 0.65em;
  }

  .validation-result {
    padding: 18px;
  }

  .validation-result h3 {
    font-size: 1.2em;
  }

  .content-wrapper { padding: 12px; }

  .phone-mockup {
    padding: 10px;
    border-radius: 38px;
    max-width: 300px;
  }

  .phone-screen {
    height: 560px;
    border-radius: 32px;
  }

  .phone-notch {
    height: 26px;
    width: 100px;
    border-radius: 0 0 18px 18px;
  }

  .phone-status-bar {
    padding: 6px 18px 4px;
    font-size: 11px;
  }

  .sms-header {
    padding: 12px 14px;
    gap: 8px;
  }

  .sms-bubble {
    max-width: 90%;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .content-wrapper { padding: 10px; }
  .phone-mockup { max-width: 260px; padding: 8px; border-radius: 32px; }
  .phone-screen { height: 480px; border-radius: 28px; }
  .phone-notch { width: 80px; height: 22px; }
  .sms-bubble { font-size: 12px; max-width: 92%; }
}

/* =====================================================
   EVENT SMS WIZARD
   ===================================================== */
.event-wizard-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  padding: 0 10px;
  position: relative;
}

.event-wizard-progress::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 1;
  cursor: default;
}

.wizard-step .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.wizard-step .step-label {
  font-size: 11px;
  color: #999;
  font-weight: 500;
  transition: color 0.3s ease;
}

.wizard-step.active .step-num {
  background: var(--primary-color, #4f46e5);
  color: #fff;
}

.wizard-step.active .step-label {
  color: var(--primary-color, #4f46e5);
  font-weight: 600;
}

.wizard-step.completed .step-num {
  background: #22c55e;
  color: #fff;
}

.wizard-step.completed .step-label {
  color: #22c55e;
}

.wizard-panel {
  display: none;
}

.wizard-panel.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-panel h4 {
  margin: 0 0 5px;
  font-size: 1.15em;
  color: var(--text-dark);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

/* Step Hero */
.step-hero {
  text-align: center;
  padding: 10px 0 5px;
}

.step-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.step-hero-icon--send {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.step-hero h4 {
  margin: 0 0 4px !important;
  font-size: 1.2em !important;
}

.step-hero-desc {
  color: #94a3b8;
  font-size: 0.88em;
  margin: 0;
}

/* Event Info Card Modern */
.event-info-card-modern {
  margin-top: 18px;
  animation: fadeIn 0.3s ease;
}

.einfo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.einfo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.einfo-item:hover {
  border-color: #c7d2fe;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}

.einfo-item svg {
  flex-shrink: 0;
}

.einfo-item > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.einfo-label {
  font-size: 0.72em;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.einfo-value {
  font-size: 0.9em;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Excel Dropzone */
.excel-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f9fafb;
}

.excel-dropzone:hover,
.excel-dropzone.dragover {
  border-color: #3b82f6;
  background: #eff6ff;
}

.excel-dropzone-icon {
  margin-bottom: 10px;
}

.excel-dropzone.dragover .excel-dropzone-icon svg {
  stroke: #3b82f6;
}

.excel-dropzone-text {
  font-size: 0.92em;
  color: #475569;
  font-weight: 500;
}

.excel-dropzone-link {
  color: #3b82f6;
  font-weight: 600;
  text-decoration: underline;
}

.excel-dropzone-hint {
  font-size: 0.78em;
  color: #94a3b8;
  margin-top: 6px;
}

.excel-dropzone-filename {
  margin-top: 10px;
  padding: 8px 14px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  color: #16a34a;
  font-weight: 600;
  font-size: 0.88em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Message Editor (contenteditable) */
.msg-editor {
  min-height: 120px;
  max-height: 250px;
  overflow-y: auto;
  line-height: 1.8;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.msg-editor:empty::before {
  content: attr(data-placeholder);
  color: #94a3b8;
  pointer-events: none;
}

.msg-editor .var-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px 1px 8px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  border-radius: 5px;
  font-size: 0.88em;
  font-weight: 600;
  font-family: monospace;
  line-height: 1.6;
  vertical-align: baseline;
  user-select: all;
  cursor: default;
  white-space: nowrap;
}

.msg-editor .var-badge .var-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #93c5fd;
  cursor: pointer;
  transition: all 0.15s;
  font-family: sans-serif;
}

.msg-editor .var-badge .var-x:hover {
  background: #dc2626;
  color: #fff;
}

/* Column Variable Buttons */
.column-var-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
}

.column-var-label {
  font-size: 0.78em;
  font-weight: 600;
  color: #64748b;
  margin-right: 4px;
}

.column-var-btn {
  padding: 4px 10px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  font-size: 0.8em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: monospace;
}

.column-var-btn:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* Event Guest Table */
.event-guest-table { width: 100%; border-collapse: collapse; font-size: 0.9em; }
.event-guest-table thead th { text-align: left; padding: 10px 12px; font-size: 0.78em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #94a3b8; border-bottom: 2px solid #e2e8f0; }
.event-guest-table tbody tr { border-bottom: 1px solid #f1f5f9; transition: background 0.15s; }
.event-guest-table tbody tr:hover { background: #f8fafc; }
.event-guest-table tbody tr.no-phone { opacity: 0.5; }
.event-guest-table td { padding: 10px 12px; vertical-align: middle; }
.event-guest-table .event-guest-cb { width: 18px; height: 18px; accent-color: #3b82f6; cursor: pointer; }

.form-control-lg {
  padding: 10px 14px;
  font-size: 1em;
}

/* ===== FORM ATTACH HIGHLIGHT (Glow) ===== */
.form-attach-highlight {
  position: relative;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px;
  animation: softGlow 4s ease-in-out infinite;
}

.form-attach-highlight:hover {
  background: #f0fdf4 !important;
}

@keyframes softGlow {
  0%, 100% { box-shadow: 0 0 3px rgba(34, 197, 94, 0.1); }
  50% { box-shadow: 0 0 10px rgba(34, 197, 94, 0.25), 0 0 20px rgba(34, 197, 94, 0.08); }
}

.sms-survey-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.72em;
  font-weight: 700;
  border-radius: 5px;
  letter-spacing: 0.5px;
  vertical-align: middle;
  margin-left: 6px;
}

.form-attach-info-btn {
  position: relative;
  margin-left: auto;
  cursor: pointer;
  color: #22c55e;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.form-attach-tooltip {
  display: none;
  position: fixed;
  width: 280px;
  padding: 14px 16px;
  background: #065f46;
  color: #ecfdf5;
  border-radius: 10px;
  font-size: 0.82em;
  line-height: 1.6;
  font-weight: 400;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}


.form-attach-tooltip strong {
  color: #86efac;
  font-size: 1.05em;
}

.form-attach-tooltip.visible {
  display: block;
}

.form-tooltip-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 16px;
  background: #22c55e;
  color: #fff;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.form-tooltip-btn:hover {
  background: #16a34a;
  text-decoration: none;
  color: #fff;
}

/* ===== MODERN FORM STYLES (Send SMS) ===== */
.tab-pane .form-group {
  margin-bottom: 18px;
}

.tab-pane .form-group > label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.88em;
  color: #374151;
  letter-spacing: 0.01em;
}

.tab-pane .form-control,
.tab-pane select.form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.92em;
  font-family: inherit;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #f9fafb;
  color: #1e293b;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.tab-pane select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.tab-pane .form-control:focus,
.tab-pane select.form-control:focus {
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

.tab-pane .form-control::placeholder {
  color: #94a3b8;
}

.tab-pane textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.tab-pane .form-group small {
  display: block;
  margin-top: 4px;
  font-size: 0.78em;
  color: #94a3b8;
  font-weight: 500;
}

.tab-pane .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.tab-pane .form-row .form-group {
  margin-bottom: 0;
}

.tab-pane .input-with-button {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: nowrap;
}

.tab-pane .input-with-button .form-group {
  flex: 1;
  margin-bottom: 0;
  min-width: 0;
}

.tab-pane .input-with-button .btn-add {
  flex-shrink: 0;
}

.tab-pane .btn-add {
  padding: 11px 18px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.88em;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.tab-pane .btn-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.tab-pane .checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.tab-pane .checkbox-group:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.tab-pane .checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #3b82f6;
  cursor: pointer;
}

.tab-pane .checkbox-group label {
  margin-bottom: 0;
  font-weight: 500;
  font-size: 0.9em;
  color: #475569;
  cursor: pointer;
}

.tab-pane .datetime-input,
.wizard-panel .datetime-input {
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9em;
  background: #f9fafb;
  color: #1e293b;
  transition: all 0.2s ease;
}

.tab-pane .datetime-input:focus,
.wizard-panel .datetime-input:focus {
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

/* Overview Cards */
.ov-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.ov-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ov-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}

.ov-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.ov-card-label {
  font-size: 0.72em;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.ov-card-value {
  font-size: 0.95em;
  font-weight: 600;
  color: var(--text-dark);
}

.ov-card-value--highlight {
  color: #6366f1;
}

.ov-message-box {
  margin-top: 12px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.ov-message-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78em;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.ov-message-text {
  margin: 0;
  font-size: 0.9em;
  color: var(--text-dark);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 100px;
  overflow-y: auto;
}

.ov-extras {
  margin-top: 10px;
  display: flex;
  gap: 16px;
  padding: 10px 14px;
  background: #fafafa;
  border-radius: 8px;
}

.ov-extra-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85em;
}

.ov-extra-label {
  color: #94a3b8;
  font-weight: 500;
}

.ov-extra-value {
  color: var(--text-dark);
  font-weight: 500;
}

.btn-send-final {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  font-size: 0.95em;
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: box-shadow 0.2s, transform 0.15s;
}

.btn-send-final:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

/* Event Info Card (legacy) */
.event-info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 15px;
  margin-top: 15px;
}

.event-info-row {
  display: flex;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.93em;
  color: var(--text-dark);
}

.event-info-row strong {
  min-width: 100px;
  color: #64748b;
}

/* Guest List */
.event-guest-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.event-guest-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 10px;
}

.guest-search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.guest-search-input {
  width: 100%;
  padding-right: 28px !important;
  font-size: 0.88em !important;
  height: 34px;
}

.guest-search-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #94a3b8;
  cursor: pointer;
  border-radius: 50%;
  line-height: 1;
}

.guest-search-clear:hover {
  color: #475569;
  background: #e2e8f0;
}

.guest-show-selected-btn {
  padding: 4px 10px;
  font-size: 0.8em;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.guest-show-selected-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.guest-show-selected-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.event-guest-toolbar .guest-count-badge {
  margin-left: auto;
}

.guest-count-badge {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--primary-color, #4f46e5);
  background: rgba(79, 70, 229, 0.08);
  padding: 4px 10px;
  border-radius: 12px;
}

.event-guest-list {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.event-guest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}

.event-guest-item:last-child {
  border-bottom: none;
}

.event-guest-item:hover {
  background: #f8fafc;
}

.event-guest-item input[type="checkbox"] {
  flex-shrink: 0;
}

.event-guest-item .guest-name-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.event-guest-item .guest-name {
  font-size: 0.93em;
  font-weight: 500;
}

.event-guest-item .guest-description {
  font-size: 0.78em;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-guest-item .guest-sep {
  color: #cbd5e1;
  margin: 0 3px;
}

.event-guest-item .guest-phone {
  font-size: 0.85em;
  color: #64748b;
  direction: ltr;
}

.event-guest-item .guest-no-phone {
  font-size: 0.8em;
  color: #ef4444;
  font-style: italic;
}

.event-guest-item.no-phone {
  opacity: 1;
}

.guest-add-phone-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.guest-add-phone-input {
  width: 130px;
  padding: 3px 8px;
  font-size: 0.82em;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s;
  direction: ltr;
}

.guest-add-phone-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.guest-add-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: #22c55e;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.guest-add-phone-btn:hover {
  background: #16a34a;
}

.guest-add-phone-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Overview */
.event-overview {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
}

.overview-row {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.overview-row:last-child {
  border-bottom: none;
}

.overview-label {
  min-width: 120px;
  font-weight: 500;
  color: #64748b;
  font-size: 0.93em;
}

.overview-value {
  flex: 1;
  font-size: 0.93em;
  color: var(--text-dark);
}

.overview-message {
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 100px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .event-wizard-progress {
    padding: 0;
  }

  .wizard-step .step-label {
    font-size: 9px;
  }

  .wizard-step .step-num {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .event-guest-filters {
    flex-direction: column;
    gap: 8px;
  }

  .event-attachment-options {
    flex-direction: column;
  }

  .sms-editable { font-size: 15px; }
  .sms-variable-buttons { gap: 6px; }
  .var-btn { padding: 6px 10px; font-size: 0.78em; min-height: 32px; }
}

@media (max-width: 480px) {
  .event-wizard-progress::before { left: 20px; right: 20px; }
  .wizard-step .step-num { width: 26px; height: 26px; font-size: 11px; }
  .wizard-step .step-label { font-size: 8.5px; }
  .sms-editable { min-height: 120px; }
}

/* Variable Buttons */
.sms-variable-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.var-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  font-size: 0.82em;
  font-weight: 600;
  color: var(--primary-color, #4f46e5);
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: monospace;
}

.var-btn:hover {
  background: rgba(79, 70, 229, 0.12);
  border-color: var(--primary-color, #4f46e5);
}

.var-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.15);
  color: var(--primary-color, #4f46e5);
  font-size: 9px;
  font-weight: 700;
  font-style: italic;
  font-family: serif;
  cursor: help;
  position: relative;
}

.var-info-icon:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  font-style: normal;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 100;
  margin-bottom: 4px;
  pointer-events: none;
}

.var-info-icon:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1e293b;
  margin-bottom: -6px;
  z-index: 100;
}

/* Signature ghost-text overlay — user mətninin sonunda imza placeholder kimi görünür */
.msg-with-sig-wrap {
  position: relative;
}
/* Ghost overlay — textarea/editor üzərinə eyni font/padding ilə overlay-lənir.
   Mətnin user-tipped hissəsi şəffafdır (textarea-nın özü onu görüntüləyir),
   sonunda gri sig-ghost spanı görsənir. */
.msg-sig-suffix {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 11px 14px;
  margin: 0;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92em;
  line-height: 1.6;
  letter-spacing: inherit;
  color: transparent;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  pointer-events: none;
  box-sizing: border-box;
  z-index: 1;
  background: transparent;
}
.msg-sig-suffix .sig-ghost {
  color: #94a3b8;
  font-style: italic;
  letter-spacing: 0.2px;
}
/* Mobil-də textarea font-size 16px, padding 12px 14px (yuxarıdakı .tab-pane .form-control rule-undan).
   Ghost overlay-i də eyni dəyərlərlə uyğunlaşdır ki, mətn və ghost ekzakt üst-üstə düşsün. */
@media (max-width: 768px) {
  .msg-sig-suffix {
    padding: 12px 14px;
    font-size: 16px;
    border-width: 1.5px;
  }
  .msg-editor-wrap .msg-sig-suffix {
    padding: 12px 14px;
  }
}
/* İmza seçildikdə textarea-nın native placeholder-i gizlənir ki, ghost suffix ilə qarışmasın */
.msg-with-sig-wrap.has-sig textarea::placeholder,
.msg-with-sig-wrap.has-sig textarea::-webkit-input-placeholder {
  color: transparent !important;
}
.msg-editor-wrap.has-sig .msg-editor[data-placeholder]:empty::before {
  content: '' !important;
}
/* Excel msg-editor üçün padding biraz fərqli ola bilər — wrap class ilə eyni saxla */
.msg-editor-wrap .msg-sig-suffix {
  padding: 10px 12px;
}

/* WhatsApp-vari send icon — mesaj sahəsinin sağ aşağı küncündə */
.msg-send-fab {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  z-index: 5;
  padding: 0;
}
.msg-send-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.5);
}
.msg-send-fab:active {
  transform: scale(0.94);
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.4);
}
.msg-send-fab svg {
  display: block;
  /* Paper-plane sağa baxsın deyə yüngül offset */
  margin-left: -1px;
  margin-top: 1px;
}
@media (max-width: 600px) {
  .msg-send-fab {
    width: 38px;
    height: 38px;
    right: 8px;
    bottom: 8px;
  }
}

/* Yaşıl FAB yalnız mobil-də (≤768px). Desktop-da tamamilə gizli — Submit düyməsi ayrıca formanın altındadır. */
@media (min-width: 769px) {
  .msg-send-fab { display: none !important; }
}

/* Mobil-də: Toplu (Siyahı) və Excel tab-larında nömrələr yoxlanmayıbsa FAB göstərmə.
   :has() ilə analiz konteynerinin mövcudluğu yoxlanır — analiz varsa FAB görünür. */
@media (max-width: 768px) {
  #tab-list .msg-send-fab,
  #tab-excel .msg-send-fab {
    display: none;
  }
  #tab-list:has(#listAnalysisContainer) .msg-send-fab,
  #tab-excel:has(#excelAnalysisContainer) .msg-send-fab {
    display: flex;
  }
}

/* Editable Message Area */
.sms-editable {
  min-height: 150px;
  max-height: 300px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.6;
  padding: 10px 12px;
  font-size: 14px;
  cursor: text;
}

.sms-editable:empty::before {
  content: attr(data-placeholder);
  color: #adb5bd;
  pointer-events: none;
}

.sms-editable:focus {
  outline: none;
  border-color: var(--primary-color, #4f46e5);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.var-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary-color, #4f46e5);
  border: 1px solid rgba(79, 70, 229, 0.25);
  border-radius: 12px;
  padding: 1px 8px;
  font-size: 0.85em;
  font-weight: 600;
  line-height: 1.5;
  vertical-align: baseline;
  user-select: all;
  white-space: nowrap;
}

.var-pill-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.15);
  color: var(--primary-color, #4f46e5);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
}

.var-pill-x:hover {
  background: #ef4444;
  color: #fff;
}

/* Invitation Thumbnail Preview */
.inv-thumbnail-preview {
  margin-top: 12px;
  text-align: center;
  padding: 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
}

.inv-thumbnail-preview img {
  max-width: 180px;
  max-height: 250px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  object-fit: cover;
}

/* Attachment Options (Radio Cards) */
.event-attachment-options {
  display: flex;
  gap: 12px;
}

.attachment-option {
  flex: 1;
  cursor: pointer;
}

.attachment-option input[type="radio"] {
  display: none;
}

.attachment-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s ease;
}

.attachment-option-card span {
  font-weight: 600;
  font-size: 0.93em;
  color: var(--text-dark);
}

.attachment-option-card small {
  font-size: 0.78em;
  color: #94a3b8;
  line-height: 1.3;
}

.attachment-option-card svg {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.attachment-option input[type="radio"]:checked + .attachment-option-card {
  border-color: var(--primary-color, #4f46e5);
  background: rgba(79, 70, 229, 0.04);
}

.attachment-option input[type="radio"]:checked + .attachment-option-card svg {
  color: var(--primary-color, #4f46e5);
}

.attachment-option-card:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

/* No Invitation Message */
.event-no-invitation {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  margin-top: 10px;
}

.event-no-invitation p {
  color: #9a3412;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.btn-sm {
  padding: 6px 14px !important;
  font-size: 0.85em !important;
}

/* =====================================================================
   APP-STYLE MOBİL REDESIGN (768px ↓)
   Bu blok faylın sonundadır ki, dashboard.css və base qaydaları override etsin
   ===================================================================== */
@media (max-width: 768px) {
  /* BOTTOM NAV BAR — 4 tab aşağıda, iOS/Android app stilində */
  .tabs-container .tabs-header {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    z-index: 100 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    border-bottom: none !important;
    overflow: visible !important;
  }
  .tabs-container .tabs-header .tab-button {
    flex: 1 1 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 6px 4px !important;
    border: none !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #94a3b8 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    min-height: unset !important;
    min-width: 0 !important;
    width: auto !important;
    text-align: center !important;
    transition: color 0.2s, transform 0.15s;
  }
  .tabs-container .tabs-header .tab-button .tab-icon {
    width: 22px;
    height: 22px;
    stroke-width: 2;
    transition: stroke-width 0.2s;
  }
  .tabs-container .tabs-header .tab-button .tab-label {
    line-height: 1.1;
    text-align: center;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
  }
  .tabs-container .tabs-header .tab-button.active {
    color: #2563eb !important;
  }
  .tabs-container .tabs-header .tab-button.active .tab-icon {
    stroke-width: 2.5;
  }
  .tabs-container .tabs-header .tab-button:active {
    transform: scale(0.94);
  }

  /* Content area — bottom nav-a yer saxla */
  .tabs-container .tab-content,
  .tabs-container .tabs-content {
    padding: 0 14px 140px !important;
    background: transparent;
  }
  .tab-pane {
    padding: 0;
  }

  /* Form row-ları vertikal stack et (dashboard.css-də də 1fr var amma send-sms-də override olunur) */
  .tab-pane .form-row {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-bottom: 0 !important;
  }
  .tab-pane .form-row > div {
    width: 100% !important;
    display: block !important;
  }

  /* Form group kart şəklində */
  .tab-pane .form-group {
    background: #ffffff;
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  }
  .tab-pane .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.78em;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .tab-pane .form-control,
  .tab-pane select.form-control {
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 10px;
    border-width: 1.5px;
    width: 100%;
  }
  .tab-pane textarea.form-control {
    min-height: 140px;
  }

  /* İmza/Şablon: select tam eninə, düymə altında */
  .tab-pane .input-with-button {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .tab-pane .input-with-button .form-group {
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
  }
  .tab-pane .input-with-button .btn-add {
    width: 100% !important;
    padding: 10px !important;
    font-size: 0.85em !important;
    border-radius: 10px !important;
  }

  /* Reklam kanalı banner */
  .advertising-only-banner {
    margin: 0 0 10px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }

  /* Action button (Göndər) — bottom nav-ın üstündə normal sticky */
  .action-buttons {
    position: static !important;
    flex-direction: column !important;
    gap: 10px !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    margin: 20px 0 0 !important;
  }
  .action-buttons button {
    width: 100% !important;
    padding: 14px !important;
    font-size: 0.95em !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    min-height: 48px !important;
  }

  /* Page title compact */
  .page-title {
    padding: 12px 14px 4px;
    font-size: 1.05em;
    margin: 0;
  }

  /* Content-wrapper mobil — üst boşluq qoyaq ki, başlıq topbar-a yapışmasın */
  .content-wrapper {
    padding: 20px 0 0 !important;
  }

  /* Səhifə başlığı (h2) — üstdə yaxşı boşluq, yanlarda padding */
  .content-wrapper > h2 {
    padding: 0 16px;
    margin: 0 0 14px !important;
    font-size: 1.25em;
  }

  /* Qonaq toolbar mobildə wrap et — axtar + düymə + checkbox + counter */
  .event-guest-toolbar {
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 10px !important;
  }
  .event-guest-toolbar .guest-search-wrap {
    flex: 1 1 100% !important;
    order: 1;
  }
  .event-guest-toolbar .guest-show-selected-btn {
    order: 2;
    flex: 0 0 auto;
  }
  .event-guest-toolbar > label {
    order: 3;
    flex: 0 0 auto;
  }
  .event-guest-toolbar .guest-count-badge {
    order: 4;
    margin-left: auto !important;
  }

  /* Modern action buttons — SMS Göndər və Təmizlə */
  .action-buttons {
    margin: 16px 0 0 !important;
  }
  .tab-pane .btn-primary,
  .action-buttons .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 15px 20px !important;
    font-size: 0.95em !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.32) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: transform 0.15s, box-shadow 0.2s !important;
  }
  .tab-pane .btn-primary:active,
  .action-buttons .btn-primary:active {
    transform: scale(0.97) !important;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3) !important;
  }
  .tab-pane .btn-secondary,
  .action-buttons .btn-secondary {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 15px 20px !important;
    font-size: 0.95em !important;
    font-weight: 600 !important;
    box-shadow: none !important;
  }
  .tab-pane .btn-secondary:active,
  .action-buttons .btn-secondary:active {
    background: #e2e8f0 !important;
    transform: scale(0.97) !important;
  }

  /* Preview mobildə GIZLIDIR — modal açılanda görünür */
  .preview-container {
    display: none !important;
  }
  .preview-container.in-modal {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: scale(0.95);
    opacity: 0;
    animation: previewModalIn 0.25s ease forwards;
  }
  @keyframes previewModalIn {
    to { transform: scale(1); opacity: 1; }
  }

  /* Preview/Göz FAB — sağ aşağıda, bottom nav-ın üstündə */
  .preview-fab {
    position: fixed;
    right: 16px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    cursor: pointer;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(59, 130, 246, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .preview-fab:active {
    transform: scale(0.92);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  }
  .preview-fab svg {
    display: block;
  }
  /* Kanal seçim ekranı aktivdirsə göz/preview FAB gizlədilsin —
     hələ heç nə seçilməyib, preview-da göstəriləcək məzmun yoxdur. */
  body.channel-selecting .preview-fab {
    display: none !important;
  }
}

/* FAB və modal desktopda gizlidir */
@media (min-width: 769px) {
  .preview-fab,
  .preview-modal-overlay {
    display: none !important;
  }
}

/* Preview modal overlay — mobil üçün (bütün viewport-larda istifadə oluna bilər) */
.preview-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  overflow-y: auto;
  animation: previewOverlayIn 0.2s ease;
}
.preview-modal-overlay.open {
  display: flex;
}
@keyframes previewOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.preview-modal-close {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: background 0.2s, transform 0.15s;
}
.preview-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.preview-modal-close:active {
  transform: scale(0.9);
}

/* Modal açılanda body scroll-u kilidlə */
body.preview-modal-lock {
  overflow: hidden;
}

/* Modalın içindəki telefon mockup — düzgün proporsiyalar */
.preview-container.in-modal {
  width: 100%;
  max-width: 340px;
  margin: auto !important;
}
.preview-container.in-modal .phone-mockup {
  width: 100%;
  max-width: 320px;
  padding: 10px;
  border-radius: 42px;
  margin: 0 auto;
}
.preview-container.in-modal .phone-screen {
  height: auto;
  aspect-ratio: 9 / 19.5;
  border-radius: 34px;
}
.preview-container.in-modal .phone-notch {
  height: 24px;
  width: 95px;
  border-radius: 0 0 16px 16px;
}
.preview-container.in-modal .phone-status-bar {
  padding: 5px 16px 3px;
  font-size: 10px;
}
.preview-container.in-modal .sms-bubble {
  font-size: 13px;
  max-width: 88%;
}

/* =====================================================
   Schedule (Planlaşdırma) — native datetime + quick presets
   ===================================================== */
.sched-datetime-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
  margin-top: 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sched-datetime-input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79,70,229,.15);
}
.sched-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.sched-preset-btn {
  padding: 7px 12px;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  color: #4338ca;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease, transform .08s ease;
}
.sched-preset-btn:hover {
  background: #e0e7ff;
  border-color: #a5b4fc;
}
.sched-preset-btn:active {
  transform: translateY(1px);
}
@media (max-width: 600px) {
  .sched-datetime-input {
    font-size: 15px;
    padding: 11px 12px;
  }
  .sched-preset-btn {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
    padding: 9px 10px;
    font-size: 12.5px;
  }
}
