/* Email Settings (Settings > Email Settings) — page-specific additions on top of the
   shared vx design system. Loaded globally via app.js alongside vx-design-system.css. */

.es-hidden { display: none !important; }

.es-card-body { padding: 26px 28px; display: flex; flex-direction: column; gap: 26px; }
.es-card-body-plain { padding: 26px 28px; }

.es-processing-method { margin-bottom: 24px; }
.es-section { display: flex; flex-direction: column; gap: 22px; }

.es-label { display: block; font-size: 13.5px; font-weight: 700; color: #3D486A; margin-bottom: 9px; }
.es-hint { font-size: 12px; color: #94A0B8; margin-top: 8px; }
.es-required { color: #E5484D; }
.es-muted-strong { font-weight: 600; color: #94A0B8; }

.es-intro { display: flex; gap: 13px; align-items: flex-start; background: #F4F8FF; border: 1px solid #DBE7FF; border-radius: 12px; padding: 15px 17px; font-size: 13px; color: #42506F; line-height: 1.55; }
.es-intro svg { flex-shrink: 0; margin-top: 1px; }

.es-input { width: 100%; box-sizing: border-box; height: 46px; padding: 0 14px; border: 1px solid #D9E0EC; border-radius: 10px; font-size: 14.5px; color: #1C2540; outline: none; transition: border-color .13s ease, box-shadow .13s ease; margin-top: 8px; }
.es-input:focus { border-color: #3B6EF6; box-shadow: 0 0 0 3px rgba(59, 110, 246, .12); }

.es-fields-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.es-field-full { grid-column: 1 / -1; }

.es-pill-track { display: inline-flex; background: #EEF2F8; border-radius: 11px; padding: 4px; gap: 4px; margin-top: 9px; }
.es-pill-track-3 { display: flex; }
.es-pill { padding: 9px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 700; color: #59647E; cursor: pointer; transition: all .13s ease; text-align: center; white-space: nowrap; }
.es-pill-track-3 .es-pill { flex: 1; }
.es-pill:hover { color: #1C2540; }
.es-pill-active, .es-pill-active:hover { background: #fff; color: #1C2540; box-shadow: 0 1px 3px rgba(20, 30, 70, .12); }

.es-banner-icon { flex-shrink: 0; margin-top: 1px; font-size: 16px; }
.es-banner-flush { margin-bottom: 0; }

.es-test-save-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.es-btn-primary, .es-btn-secondary { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 22px; font-size: 14px; font-weight: 700; border-radius: 10px; cursor: pointer; border: none; }
.es-btn-primary { background: #3B6EF6; color: #fff; }
.es-btn-primary:hover { background: #2F5BD8; color: #fff; }
.es-btn-secondary { background: #fff; border: 1.5px solid #3B6EF6; color: #3B6EF6; padding: 0 20px; }
.es-btn-secondary:hover { background: #F2F6FF; color: #3B6EF6; }
.es-btn-spaced { margin-top: 20px; }

.es-folders-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 5px; }
.es-folders-title { font-size: 16px; font-weight: 800; color: #1C2540; }
.es-folders-count { font-size: 12.5px; font-weight: 700; color: #3B6EF6; }
.es-folders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }

.es-folder-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #E6EBF3; border-radius: 11px; background: #fff; cursor: pointer; transition: all .13s ease; }
.es-folder-card.es-folder-on { border-color: #C7D8FF; background: #F5F8FF; }
.es-folder-checkbox { display: none; }
.es-folder-box { width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 2px solid #C2CCDC; background: #fff; color: #fff; }
.es-folder-card.es-folder-on .es-folder-box { border: none; background: #3B6EF6; }
.es-folder-info { min-width: 0; }
.es-folder-name { font-size: 13.8px; font-weight: 700; color: #25304D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es-folder-count { font-size: 11.5px; color: #94A0B8; margin-top: 2px; }
