/* ============================================================
   RESOURCES.CSS
   UGC Opportunity Hub — tab strip, agency/brand/platform
   cards, pitch templates, and useful links sections.
   ============================================================ */


/* ——————————————————————————————————————————————————————————
   TAB STRIP
   —————————————————————————————————————————————————————————— */
.res-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid rgba(231,207,207,0.3);
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.res-tab {
  padding: 9px 18px 10px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.res-tab:hover {
  color: var(--text-secondary);
  background: rgba(231,207,207,0.1);
}
.res-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--rose);
  background: rgba(231,207,207,0.12);
}


/* ——————————————————————————————————————————————————————————
   PANELS
   —————————————————————————————————————————————————————————— */
.res-panel { display: none; }
.res-panel.active { display: block; }


/* ——————————————————————————————————————————————————————————
   TOOLBAR — Search + filter row
   —————————————————————————————————————————————————————————— */
.res-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.res-search {
  flex: 1;
  min-width: 180px;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid rgba(231,207,207,0.5);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease;
}
.res-search::placeholder { color: var(--text-muted); }
.res-search:focus { border-color: var(--rose); }

.res-filter-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.res-filter-btn {
  padding: 6px 14px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid rgba(231,207,207,0.45);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.res-filter-btn:hover {
  background: rgba(231,207,207,0.2);
  color: var(--text-primary);
}
.res-filter-btn.active {
  background: var(--blush);
  color: #8a4f4f;
  border-color: var(--blush);
}

.res-section-count {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}


/* ——————————————————————————————————————————————————————————
   CARD GRID — Shared responsive grid for cards
   —————————————————————————————————————————————————————————— */
.res-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 14px;
}


/* ——————————————————————————————————————————————————————————
   AGENCY CARDS
   —————————————————————————————————————————————————————————— */
.agency-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.agency-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.agency-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.agency-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

.agency-badge {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 50px;
  flex-shrink: 0;
  white-space: nowrap;
}
.badge-talent   { background: rgba(231,207,207,0.4);  color: #8a4f4f; }
.badge-platform { background: rgba(231,222,238,0.45); color: #60508a; }
.badge-network  { background: rgba(223,230,218,0.5);  color: #4d6b48; }
.badge-boutique { background: rgba(237,216,204,0.5);  color: #8a6040; }

.agency-niches {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

.agency-pay {
  font-size: 11.5px;
  color: var(--text-secondary);
}
.agency-pay strong {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.agency-notes {
  font-size: 10.5px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.45;
  border-top: 1px solid rgba(231,207,207,0.22);
  padding-top: 8px;
  margin-top: 2px;
}

.agency-card-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.agency-apply-btn {
  font-size: 11px;
  font-weight: 500;
  color: var(--rose);
  cursor: pointer;
  transition: opacity 0.15s ease;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
}
.agency-apply-btn:hover { opacity: 0.65; }


/* ——————————————————————————————————————————————————————————
   LOGO AVATAR — Shared initials/image component used on
   Agency, Brand, and Platform cards and modal forms.
   —————————————————————————————————————————————————————————— */
.res-logo-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(231,207,207,0.22);
  border: 1px solid rgba(231,207,207,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.res-logo-avatar.res-logo-initials {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: #b07878;
}

.res-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Logo upload widget in modal */
.res-logo-upload-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: var(--bg-panel);
  border-radius: var(--radius-sm);
  border: 1.5px dashed rgba(231,207,207,0.55);
}

.res-logo-preview {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(231,207,207,0.22);
  border: 1px solid rgba(231,207,207,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: #b07878;
  transition: background 0.15s ease;
}
.res-logo-preview.has-logo {
  background: var(--bg-card);
  border-color: rgba(231,207,207,0.5);
}
.res-logo-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.res-logo-upload-right {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.res-logo-upload-btn {
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--rose);
  background: rgba(231,207,207,0.18);
  border: 1px solid rgba(217,180,180,0.35);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.res-logo-upload-btn:hover {
  background: rgba(231,207,207,0.34);
  color: #8a3535;
}

.res-logo-hint {
  font-size: 10px;
  color: var(--text-muted);
  margin: 0;
}


/* ——————————————————————————————————————————————————————————
   BRAND CONTACT CARDS
   —————————————————————————————————————————————————————————— */
.brand-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.brand-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.brand-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(231,207,207,0.22);
  border: 1px solid rgba(231,207,207,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  color: #b07878;
  font-weight: 500;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-info-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
}
.brand-info-contact {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.brand-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.brand-detail-label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.brand-detail-val {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.brand-status-pill {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 50px;
}
.pill-active   { background: rgba(223,230,218,0.6); color: #4d6b48; }
.pill-pending  { background: rgba(237,216,204,0.5); color: #8a6040; }
.pill-prospect { background: rgba(231,222,238,0.5); color: #60508a; }
.pill-paused   { background: rgba(236,230,222,0.6); color: #7a6a50; }

.brand-notes-preview {
  font-size: 10.5px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.45;
  border-top: 1px solid rgba(231,207,207,0.22);
  padding-top: 8px;
  margin-top: -4px;
}

.brand-email-link {
  font-size: 11.5px;
  color: var(--rose);
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s ease;
  text-decoration: none;
}
.brand-email-link:hover { opacity: 0.65; }


/* ——————————————————————————————————————————————————————————
   PLATFORM CARDS
   —————————————————————————————————————————————————————————— */
.platform-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.platform-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.platform-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.platform-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
}
.platform-type-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

.platform-fav-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0;
  font-size: 18px;
  line-height: 1;
  transition: color 0.15s ease;
  flex-shrink: 0;
}
.platform-fav-btn:hover { color: var(--rose); }
.platform-fav-btn.favorited { color: var(--rose); }

.platform-pay {
  font-size: 12px;
  color: var(--text-secondary);
}
.platform-pay strong {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.platform-reqs {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

.platform-note {
  font-size: 10.5px;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid rgba(231,207,207,0.22);
  padding-top: 8px;
  margin-top: 2px;
  line-height: 1.45;
}


/* ——————————————————————————————————————————————————————————
   PITCH TEMPLATES — Accordion cards
   —————————————————————————————————————————————————————————— */
.template-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.template-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.template-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.15s ease;
  gap: 14px;
  user-select: none;
}
.template-header:hover { background: rgba(231,207,207,0.08); }

.template-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
}
.template-subject-line {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}

.template-toggle-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.template-card.open .template-toggle-icon { transform: rotate(180deg); }

.template-body {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid rgba(231,207,207,0.25);
}
.template-card.open .template-body { display: block; }

.template-body-inner { position: relative; }

.template-text {
  display: block;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  white-space: pre-wrap;
  background: var(--bg-panel);
  border-radius: var(--radius-sm);
  padding: 16px 16px 40px;
  margin-top: 14px;
  font-family: var(--sans);
}

.template-copy-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 10.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--rose);
  border: 1px solid rgba(217,180,180,0.4);
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-card);
  font-family: var(--sans);
}
.template-copy-btn:hover {
  background: var(--blush);
  color: #7a3535;
}
.template-copy-btn.copied {
  color: #4d6b48;
  border-color: rgba(223,230,218,0.6);
  background: rgba(223,230,218,0.4);
}


/* ——————————————————————————————————————————————————————————
   USEFUL LINKS — Category cards
   —————————————————————————————————————————————————————————— */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.links-category-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.links-cat-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(231,207,207,0.28);
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-item-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--rose);
  transition: opacity 0.15s ease;
  display: block;
  text-decoration: none;
}
.link-item-label:hover { opacity: 0.7; }

.link-item-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.45;
}


/* ——————————————————————————————————————————————————————————
   EMPTY STATE
   —————————————————————————————————————————————————————————— */
.res-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  font-size: 13px;
  grid-column: 1 / -1;
}


/* ——————————————————————————————————————————————————————————
   ADD / EDIT BUTTONS — Shared card-level controls
   —————————————————————————————————————————————————————————— */
.res-add-btn {
  padding: 7px 16px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--rose);
  background: rgba(231,207,207,0.18);
  border: 1px solid rgba(217,180,180,0.35);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.res-add-btn:hover {
  background: rgba(231,207,207,0.34);
  color: #8a3535;
}

.res-card-edit-btn {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: 1px solid rgba(231,207,207,0.35);
  border-radius: 50px;
  padding: 3px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.4;
}
.res-card-edit-btn:hover {
  color: var(--rose);
  border-color: rgba(217,180,180,0.5);
  background: rgba(231,207,207,0.14);
}

.res-panel-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.res-link-edit-btn {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.link-item:hover .res-link-edit-btn { opacity: 1; }
.res-link-edit-btn:hover {
  color: var(--rose);
  background: rgba(231,207,207,0.22);
}

/* link-item-top: label + edit button row */
.link-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}


/* ——————————————————————————————————————————————————————————
   MODAL OVERLAY
   —————————————————————————————————————————————————————————— */
.res-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(219,196,196,0.42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.res-modal {
  background: var(--bg-card);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.06);
  animation: modalIn 0.18s ease;
  overflow: hidden;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}


/* ——————————————————————————————————————————————————————————
   MODAL HEADER
   —————————————————————————————————————————————————————————— */
.res-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 18px;
  border-bottom: 1px solid rgba(231,207,207,0.25);
  flex-shrink: 0;
}

.res-modal-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.res-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(231,207,207,0.18);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}
.res-modal-close:hover {
  background: rgba(231,207,207,0.42);
  color: var(--text-primary);
}
.res-modal-close svg { pointer-events: none; }


/* ——————————————————————————————————————————————————————————
   MODAL BODY — Scrollable form area
   —————————————————————————————————————————————————————————— */
.res-modal-body {
  padding: 22px 28px;
  overflow-y: auto;
  flex: 1;
}


/* ——————————————————————————————————————————————————————————
   FORM ELEMENTS
   —————————————————————————————————————————————————————————— */
.res-form-field {
  margin-bottom: 16px;
}
.res-form-field:last-child { margin-bottom: 0; }

.res-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.res-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.res-input,
.res-select,
.res-textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-primary);
  background: var(--bg-panel);
  border: 1.5px solid rgba(231,207,207,0.38);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
}
.res-input::placeholder,
.res-textarea::placeholder { color: var(--text-muted); font-size: 12.5px; }
.res-input:focus,
.res-select:focus,
.res-textarea:focus {
  border-color: var(--rose);
  background: var(--bg-card);
}

.res-textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.65;
}
.res-textarea.large { min-height: 200px; }

.res-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239c9793' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-color: var(--bg-panel);
  padding-right: 34px;
  cursor: pointer;
}


/* ——————————————————————————————————————————————————————————
   MODAL FOOTER
   —————————————————————————————————————————————————————————— */
.res-modal-footer {
  display: flex;
  align-items: center;
  padding: 16px 28px 22px;
  border-top: 1px solid rgba(231,207,207,0.2);
  flex-shrink: 0;
  gap: 10px;
}

.res-modal-footer-right {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.res-modal-cancel-btn {
  padding: 9px 20px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(231,207,207,0.12);
  border: 1px solid rgba(231,207,207,0.38);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.res-modal-cancel-btn:hover {
  background: rgba(231,207,207,0.26);
  color: var(--text-primary);
}

.res-modal-save-btn {
  padding: 9px 24px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, var(--blush), var(--rose));
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 10px rgba(217,180,180,0.38);
}
.res-modal-save-btn:hover {
  opacity: 0.88;
  box-shadow: 0 4px 16px rgba(217,180,180,0.48);
}

.res-modal-delete-btn {
  padding: 9px 18px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  color: #b06060;
  background: rgba(217,180,180,0.1);
  border: 1px solid rgba(217,180,180,0.28);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.res-modal-delete-btn:hover {
  background: rgba(217,180,180,0.24);
  color: #8a3535;
}


/* ——————————————————————————————————————————————————————————
   RESPONSIVE
   —————————————————————————————————————————————————————————— */
@media (max-width: 700px) {
  .res-card-grid {
    grid-template-columns: 1fr;
  }
  .links-grid {
    grid-template-columns: 1fr;
  }
  .res-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .res-search {
    width: 100%;
  }
  .res-form-row {
    grid-template-columns: 1fr;
  }
  .res-modal {
    max-height: 92vh;
    border-radius: 16px;
  }
  .res-modal-header,
  .res-modal-body,
  .res-modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}
