.vsd-254 .vsd-element.vsd-element-5e608cb{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.vsd-254 .vsd-element.vsd-element-82e97b4{--display:flex;}.vsd-254 .vsd-element.vsd-element-204f9e8{--display:flex;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-field-group{padding-right:calc( 10px/2 );padding-left:calc( 10px/2 );margin-bottom:10px;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-form-fields-wrapper{margin-left:calc( -10px/2 );margin-right:calc( -10px/2 );margin-bottom:-10px;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-field-group.recaptcha_v3-bottomleft, .vsd-254 .vsd-element.vsd-element-7fae760 .vsd-field-group.recaptcha_v3-bottomright{margin-bottom:0;}body.rtl .vsd-254 .vsd-element.vsd-element-7fae760 .vsd-labels-inline .vsd-field-group > label{padding-left:0px;}body:not(.rtl) .vsd-254 .vsd-element.vsd-element-7fae760 .vsd-labels-inline .vsd-field-group > label{padding-right:0px;}body .vsd-254 .vsd-element.vsd-element-7fae760 .vsd-labels-above .vsd-field-group > label{padding-bottom:0px;}body.rtl .vsd-254 .vsd-element.vsd-element-7fae760 .vsd-labels-inline .vsd-field-group > abbr{padding-left:0px;}body:not(.rtl) .vsd-254 .vsd-element.vsd-element-7fae760 .vsd-labels-inline .vsd-field-group > abbr{padding-right:0px;}body .vsd-254 .vsd-element.vsd-element-7fae760 .vsd-labels-above .vsd-field-group > abbr{padding-bottom:0px;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-field-type-html{padding-bottom:0px;}.vsd-254 .vsd-element.vsd-element-7fae760 .dce-signature-wrapper{text-align:left;--canvas-width:400px;}.vsd-254 .vsd-element.vsd-element-7fae760 .dce-signature-canvas{border-radius:3px 3px 3px 3px;border-width:1px 1px 1px 1px;background-color:#ffffff;}.vsd-254 .vsd-element.vsd-element-7fae760 .dce-signature-button-clear{color:#e62626;}.vsd-254 .vsd-element.vsd-element-7fae760 .dce-signature-button-clear i{color:#e62626;font-size:16px;}.vsd-254 .vsd-element.vsd-element-7fae760 .dce-signature-button-clear svg{fill:#e62626;width:16px;height:16px;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-field-group .vsd-field:not(.vsd-select-wrapper){background-color:#ffffff;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-field-group .vsd-select-wrapper select{background-color:#ffffff;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-field-group .vsd-select-wrapper .select2{background-color:#ffffff;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-field-group .vsd-select-wrapper .select2 .vsd-field-textual{background-color:#ffffff;}.vsd-254 .vsd-element.vsd-element-7fae760 .mce-panel{background-color:#ffffff;}.vsd-254 .vsd-element.vsd-element-7fae760 .e-form__buttons__wrapper__button-next{color:#ffffff;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-button[type="submit"]{color:#ffffff;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-button[type="submit"] svg *{fill:#ffffff;}.vsd-254 .vsd-element.vsd-element-7fae760 .e-form__buttons__wrapper__button-previous{color:#ffffff;}.vsd-254 .vsd-element.vsd-element-7fae760 .e-form__buttons__wrapper__button-next:hover{color:#ffffff;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-button[type="submit"]:hover{color:#ffffff;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-button[type="submit"]:hover svg *{fill:#ffffff;}.vsd-254 .vsd-element.vsd-element-7fae760 .e-form__buttons__wrapper__button-previous:hover{color:#ffffff;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-field-label-description .vsd-field-label{display:inline-block;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-field-label-description:after{content:'?';display:inline-block;border-radius:50%;padding:2px 0;height:1.2em;line-height:1;font-size:80%;width:1.2em;text-align:center;margin-left:0.2em;color:#ffffff;background-color:#777777;}.vsd-254 .vsd-element.vsd-element-7fae760{--e-form-steps-indicators-spacing:20px;--e-form-steps-indicator-padding:30px;--e-form-steps-indicator-inactive-secondary-color:#ffffff;--e-form-steps-indicator-active-secondary-color:#ffffff;--e-form-steps-indicator-completed-secondary-color:#ffffff;--e-form-steps-divider-width:1px;--e-form-steps-divider-gap:10px;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-field-type-amount.vsd-field-group .dce-amount-visible{opacity:1;}.vsd-254 .vsd-element.vsd-element-7fae760 .vsd-field-type-dce_range input{opacity:1;}.vsd-254 .vsd-element.vsd-element-56a49a8{--display:flex;}.vsd-254 .vsd-element.vsd-element-a73261e{--display:flex;}.vsd-254 .vsd-element.vsd-element-e8e1bde{--display:flex;}.vsd-254 .vsd-element.vsd-element-746ae18{width:100%;max-width:100%;}.vsd-254 .vsd-element.vsd-element-eca3998{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.vsd-254 .vsd-element.vsd-element-b630377{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--flex-wrap:wrap;}.vsd-254 .vsd-element.vsd-element-fb7fc04{width:var( --container-widget-width, 28% );max-width:28%;--container-widget-width:28%;--container-widget-flex-grow:0;}.vsd-254 .vsd-element.vsd-element-806d9c1{width:var( --container-widget-width, 69% );max-width:69%;--container-widget-width:69%;--container-widget-flex-grow:0;}.vsd-254 .vsd-element.vsd-element-a698843{--display:flex;}.vsd-254 .vsd-element.vsd-element-2193fb2{--display:flex;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-field-group{padding-right:calc( 10px/2 );padding-left:calc( 10px/2 );margin-bottom:10px;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-form-fields-wrapper{margin-left:calc( -10px/2 );margin-right:calc( -10px/2 );margin-bottom:-10px;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-field-group.recaptcha_v3-bottomleft, .vsd-254 .vsd-element.vsd-element-0af76fa .vsd-field-group.recaptcha_v3-bottomright{margin-bottom:0;}body.rtl .vsd-254 .vsd-element.vsd-element-0af76fa .vsd-labels-inline .vsd-field-group > label{padding-left:0px;}body:not(.rtl) .vsd-254 .vsd-element.vsd-element-0af76fa .vsd-labels-inline .vsd-field-group > label{padding-right:0px;}body .vsd-254 .vsd-element.vsd-element-0af76fa .vsd-labels-above .vsd-field-group > label{padding-bottom:0px;}body.rtl .vsd-254 .vsd-element.vsd-element-0af76fa .vsd-labels-inline .vsd-field-group > abbr{padding-left:0px;}body:not(.rtl) .vsd-254 .vsd-element.vsd-element-0af76fa .vsd-labels-inline .vsd-field-group > abbr{padding-right:0px;}body .vsd-254 .vsd-element.vsd-element-0af76fa .vsd-labels-above .vsd-field-group > abbr{padding-bottom:0px;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-field-type-html{padding-bottom:0px;}.vsd-254 .vsd-element.vsd-element-0af76fa .dce-signature-wrapper{text-align:left;--canvas-width:400px;}.vsd-254 .vsd-element.vsd-element-0af76fa .dce-signature-canvas{border-radius:3px 3px 3px 3px;border-width:1px 1px 1px 1px;background-color:#ffffff;}.vsd-254 .vsd-element.vsd-element-0af76fa .dce-signature-button-clear{color:#e62626;}.vsd-254 .vsd-element.vsd-element-0af76fa .dce-signature-button-clear i{color:#e62626;font-size:16px;}.vsd-254 .vsd-element.vsd-element-0af76fa .dce-signature-button-clear svg{fill:#e62626;width:16px;height:16px;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-field-group .vsd-field:not(.vsd-select-wrapper){background-color:#ffffff;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-field-group .vsd-select-wrapper select{background-color:#ffffff;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-field-group .vsd-select-wrapper .select2{background-color:#ffffff;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-field-group .vsd-select-wrapper .select2 .vsd-field-textual{background-color:#ffffff;}.vsd-254 .vsd-element.vsd-element-0af76fa .mce-panel{background-color:#ffffff;}.vsd-254 .vsd-element.vsd-element-0af76fa .e-form__buttons__wrapper__button-next{color:#ffffff;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-button[type="submit"]{color:#ffffff;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-button[type="submit"] svg *{fill:#ffffff;}.vsd-254 .vsd-element.vsd-element-0af76fa .e-form__buttons__wrapper__button-previous{color:#ffffff;}.vsd-254 .vsd-element.vsd-element-0af76fa .e-form__buttons__wrapper__button-next:hover{color:#ffffff;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-button[type="submit"]:hover{color:#ffffff;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-button[type="submit"]:hover svg *{fill:#ffffff;}.vsd-254 .vsd-element.vsd-element-0af76fa .e-form__buttons__wrapper__button-previous:hover{color:#ffffff;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-field-label-description .vsd-field-label{display:inline-block;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-field-label-description:after{content:'?';display:inline-block;border-radius:50%;padding:2px 0;height:1.2em;line-height:1;font-size:80%;width:1.2em;text-align:center;margin-left:0.2em;color:#ffffff;background-color:#777777;}.vsd-254 .vsd-element.vsd-element-0af76fa{--e-form-steps-indicators-spacing:20px;--e-form-steps-indicator-padding:30px;--e-form-steps-indicator-inactive-secondary-color:#ffffff;--e-form-steps-indicator-active-secondary-color:#ffffff;--e-form-steps-indicator-completed-secondary-color:#ffffff;--e-form-steps-divider-width:1px;--e-form-steps-divider-gap:10px;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-field-type-amount.vsd-field-group .dce-amount-visible{opacity:1;}.vsd-254 .vsd-element.vsd-element-0af76fa .vsd-field-type-dce_range input{opacity:1;}.vsd-254 .vsd-element.vsd-element-3a53304{--n-tabs-heading-justify-content:initial;--n-tabs-title-width:100%;--n-tabs-title-height:initial;--n-tabs-title-align-items:center;--n-tabs-title-flex-grow:1;--n-tabs-heading-wrap:wrap;--n-tabs-heading-overflow-x:initial;--n-tabs-title-white-space:initial;--n-tabs-title-border-radius:8px 8px 8px 8px;--n-tabs-title-padding-top:8px;--n-tabs-title-padding-right:8px;--n-tabs-title-padding-bottom:8px;--n-tabs-title-padding-left:8px;}.vsd-254 .vsd-element.vsd-element-3a53304.vsd-widget-n-tabs > .vsd-widget-container > .e-n-tabs[data-touch-mode='false'] > .e-n-tabs-heading > .e-n-tab-title[aria-selected="false"]:hover{background:#FF5D5D;}.vsd-254 .vsd-element.vsd-element-3a53304.vsd-widget-n-tabs > .vsd-widget-container > .e-n-tabs > .e-n-tabs-heading > .e-n-tab-title[aria-selected="true"], .vsd-254 .vsd-element.vsd-element-3a53304.vsd-widget-n-tabs > .vsd-widget-container > .e-n-tabs[data-touch-mode='true'] > .e-n-tabs-heading > .e-n-tab-title[aria-selected="false"]:hover{background:#FF5D5D;}/* Start custom CSS for html, class: .vsd-element-e1b47ab */.ads-overview-wrapper {
  font-family: system-ui, sans-serif;
  padding: 1rem 0;
}

.ads-overview-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ads-overview-table thead {
  background-color: #f9fafb;
}

.ads-overview-table thead th {
  padding: 0.7rem 1rem;
  font-weight: 600;
  text-align: left;
  color: #374151;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.ads-overview-table tbody td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f1f1f1;
  color: #374151;
  background: #fff;
  transition: background 0.15s ease;
  text-align: left;
}

.ads-overview-table tbody tr:hover td {
  background: #f5f7fa;
}

.status-active {
  color: #16a34a;
  font-weight: 600;
}

.status-expired {
  color: #dc2626;
  font-weight: 600;
}

.btn-small {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  background: #e0e7ff;
  color: #1e3a8a;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 0.4rem;
  transition: background 0.2s ease;
}

.btn-small:hover {
  background: #c7d2fe;
}

.btn-secondary {
  background: #fef3c7;
  color: #92400e;
}

.btn-secondary:hover {
  background: #fde68a;
}

/* Mobile layout */
@media (max-width: 768px) {
  .ads-overview-table thead {
    display: none;
  }

  .ads-overview-table, 
  .ads-overview-table tbody, 
  .ads-overview-table tr, 
  .ads-overview-table td {
    display: block;
    width: 100%;
  }

  .ads-overview-table tr {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  }

  .ads-overview-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
    line-height: 1.4;
  }

.ads-overview-table td::before {
  content: attr(data-label);
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}


  .ads-overview-table td:last-child {
    border-bottom: none;
  }

  .ads-overview-table td > *:not(:first-child) {
    margin-top: 0.5rem;
  }

  .ads-overview-table td span,
  .ads-overview-table td a {
    display: inline-block;
  }

  .ads-overview-table td::before + * {
    margin-top: 1.2rem;
  }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-7fae760 */.ad-order .vsd-form-fields-wrapper {
  font-family: system-ui, sans-serif;
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  max-width: 100%;
  box-sizing: border-box;
}

/* Полета и лейбъли */
.ad-order .vsd-field-group {
  margin-bottom: 1.6rem;
}

.ad-order .vsd-field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-order .vsd-field {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
  min-height: 64px;
}

.ad-order .vsd-field:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

/* File input */
.ad-order input[type="file"].vsd-upload-field {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
}

/* Чекбокси */
.ad-order .vsd-field-subgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
  padding-bottom: 1.6rem;
}

.ad-order .vsd-field-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1f2937;
  line-height: 1.4;
  flex: 1 1 45%;
  min-width: 220px;
}

.ad-order .vsd-field-option label {
  font-size: 1.2rem !important;
  line-height: 1.5;
  color: #1f2937;
}


.ad-order .vsd-field-option input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-order .vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-size: 1.3rem !important;
}

.ad-order .vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-order .vsd-col-33,
  .ad-order .vsd-col-100 {
    flex: 1 1 100%;
  }

  .ad-order .vsd-field-subgroup {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-c9b9ad5 */.ad-edit-wrapper {
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  max-width: 100%;
  box-sizing: border-box;
}

.ad-edit-wrapper .form-group {
  margin-bottom: 1.6rem;
}

.ad-edit-wrapper label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-edit-wrapper input[type="text"],
.ad-edit-wrapper input[type="url"],
.ad-edit-wrapper input[type="number"],
.ad-edit-wrapper input[type="date"],
.ad-edit-wrapper select {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  min-height: 64px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ad-edit-wrapper input:focus,
.ad-edit-wrapper select:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

.ad-edit-wrapper input[type="file"] {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  box-sizing: border-box;
  width: 100%;
}

.ad-edit-wrapper .image-preview {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: block;
}

/* Чекбокси */
.ad-edit-wrapper .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.ad-edit-wrapper .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 45%;
  min-width: 220px;
  font-size: 1.2rem;
  color: #1f2937;
}

.ad-edit-wrapper input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-edit-wrapper .btn-primary {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-weight: 600;
}

.ad-edit-wrapper .btn-primary:hover {
  background: #2563eb;
}

/* Съобщения */
.ad-edit-wrapper .info-note,
.ad-edit-wrapper .expired-note {
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.ad-edit-wrapper .info-note {
  background: #fef9c3;
  color: #92400e;
  border: 1px solid #facc15;
}

.ad-edit-wrapper .expired-note {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-edit-wrapper .checkbox-group {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-9383106 */.history-wrapper {
  padding: 2rem 1rem;
  background: #f9fafb;
  font-family: system-ui, sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.history-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1f2937;
}

.history-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid #d1d5db;
  position: relative;
}

.history-event {
  position: relative;
  margin: 0 0 2rem 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

.history-event::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 1rem;
  width: 14px;
  height: 14px;
  background: #3b82f6;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #3b82f6;
}

.event-header {
  margin-bottom: 0.5rem;
}

.event-header time {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.event-header strong {
  font-size: 1.05rem;
  color: #111827;
  font-weight: 600;
}

.event-body p {
  margin: 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .history-wrapper {
    padding: 1rem;
  }

  .history-title {
    font-size: 1.4rem;
  }

  .history-event {
    margin-left: 1rem;
    padding: 0.8rem 1rem;
  }

  .history-event::before {
    left: -1.3rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-746ae18 */.ads-stats-charts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: system-ui, sans-serif;
  background: #f9fafb;
  padding: 1rem;
  width: 100%;
box-sizing: border-box;
}

.ads-date-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
}

.filter-group select,
.filter-group input[type="date"] {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
  background: #fff;
  color: #111827;
  min-width: 140px;
}

.ads-chart {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-chart h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

canvas {
  width: 100% !important;
  height: auto !important;
  max-height: 240px;
}

.ads-date-filter,
.ads-chart {
  width: 100%;
  box-sizing: border-box;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-eca3998 */.ads-stats-wrapper {
  font-family: 'Segoe UI', Roboto, sans-serif;
  padding: 2rem 1rem;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  color: #1f2937;
}

.ads-stats-wrapper h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  width: 100%;
  box-sizing: border-box;
}

.stat-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card:hover {
  background: #f9fafb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-label {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #111827;
}

.progress-bar {
  height: 12px;
  background: #e5e7eb;
  border-radius: 30px;
  overflow: hidden;
  width: 100%;
}

.progress-bar > div {
  height: 100%;
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  transition: width 0.5s ease-in-out;
  border-radius: 30px;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-fb7fc04 */.rules-nav {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 1rem;
  height: fit-content;
}

.rules-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rules-nav li {
  margin-bottom: 0.7rem;
}

.rules-nav a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  display: block;
  transition: color 0.2s ease;
}

.rules-nav a:hover {
  color: #3b82f6;
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .vsd-element-806d9c1 */.rules-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-height: 80vh;
  overflow-y: auto;
}

.rules-content h2 {
  font-size: 1.4rem;
  color: #1e3a8a;
}

.rules-content p {
  margin-top: 1 rem;
  color: #374151;
  line-height: 1.6;
  font-size: 1.25rem;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-b5b8c9f */.ads-pricing-wrapper {
  display: flex;
  flex-wrap: wrap;
  font-family: system-ui, sans-serif;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
}

.ads-pricing-sidebar {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ads-pricing-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ads-pricing-sidebar li {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.ads-pricing-sidebar li:hover,
.ads-pricing-sidebar li.active {
  background: #eef2ff;
  color: #1e3a8a;
  font-weight: 600;
}

.ads-pricing-content {
  flex: 3 1 300px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-block {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.ads-pricing-block.active {
  display: block;
}

.ads-pricing-block h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.ads-pricing-block p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-0af76fa *//* Контейнер */
.vsd-form-fields-wrapper {
    font-family: system-ui, sans-serif;
  font-size: 1.1rem;
  padding: 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

/* Без лейбъли */
.vsd-field-label {
  display: none !important;
}

/* Полета: Input, Select, Textarea */
#form-field-name,
#form-field-email,
#form-field-ad_topic,
#form-field-which_ad,
#form-field-message {
  width: 100%;
  padding: 1.2rem 1rem;
  font-size: 1.15rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #111827;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  min-height: 60px;
}

/* При фокус */
#form-field-name:focus,
#form-field-email:focus,
#form-field-ad_topic:focus,
#form-field-which_ad:focus,
#form-field-message:focus {
  border-color: #4b83fc;
  background: #fff;
  outline: none;
}

/* Съобщение */
#form-field-message {
  min-height: 180px;
  resize: vertical;
}

/* Мултиселект */
#form-field-which_ad {
  min-height: 140px;
}

/* Бутон */
.vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.3rem 2rem;
  font-size: 1.15rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .vsd-field-group {
    flex: 1 1 100%;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-e1b47ab */.ads-overview-wrapper {
  font-family: system-ui, sans-serif;
  padding: 1rem 0;
}

.ads-overview-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ads-overview-table thead {
  background-color: #f9fafb;
}

.ads-overview-table thead th {
  padding: 0.7rem 1rem;
  font-weight: 600;
  text-align: left;
  color: #374151;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.ads-overview-table tbody td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f1f1f1;
  color: #374151;
  background: #fff;
  transition: background 0.15s ease;
  text-align: left;
}

.ads-overview-table tbody tr:hover td {
  background: #f5f7fa;
}

.status-active {
  color: #16a34a;
  font-weight: 600;
}

.status-expired {
  color: #dc2626;
  font-weight: 600;
}

.btn-small {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  background: #e0e7ff;
  color: #1e3a8a;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 0.4rem;
  transition: background 0.2s ease;
}

.btn-small:hover {
  background: #c7d2fe;
}

.btn-secondary {
  background: #fef3c7;
  color: #92400e;
}

.btn-secondary:hover {
  background: #fde68a;
}

/* Mobile layout */
@media (max-width: 768px) {
  .ads-overview-table thead {
    display: none;
  }

  .ads-overview-table, 
  .ads-overview-table tbody, 
  .ads-overview-table tr, 
  .ads-overview-table td {
    display: block;
    width: 100%;
  }

  .ads-overview-table tr {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  }

  .ads-overview-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
    line-height: 1.4;
  }

.ads-overview-table td::before {
  content: attr(data-label);
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}


  .ads-overview-table td:last-child {
    border-bottom: none;
  }

  .ads-overview-table td > *:not(:first-child) {
    margin-top: 0.5rem;
  }

  .ads-overview-table td span,
  .ads-overview-table td a {
    display: inline-block;
  }

  .ads-overview-table td::before + * {
    margin-top: 1.2rem;
  }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-7fae760 */.ad-order .vsd-form-fields-wrapper {
  font-family: system-ui, sans-serif;
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  max-width: 100%;
  box-sizing: border-box;
}

/* Полета и лейбъли */
.ad-order .vsd-field-group {
  margin-bottom: 1.6rem;
}

.ad-order .vsd-field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-order .vsd-field {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
  min-height: 64px;
}

.ad-order .vsd-field:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

/* File input */
.ad-order input[type="file"].vsd-upload-field {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
}

/* Чекбокси */
.ad-order .vsd-field-subgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
  padding-bottom: 1.6rem;
}

.ad-order .vsd-field-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1f2937;
  line-height: 1.4;
  flex: 1 1 45%;
  min-width: 220px;
}

.ad-order .vsd-field-option label {
  font-size: 1.2rem !important;
  line-height: 1.5;
  color: #1f2937;
}


.ad-order .vsd-field-option input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-order .vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-size: 1.3rem !important;
}

.ad-order .vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-order .vsd-col-33,
  .ad-order .vsd-col-100 {
    flex: 1 1 100%;
  }

  .ad-order .vsd-field-subgroup {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-c9b9ad5 */.ad-edit-wrapper {
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  max-width: 100%;
  box-sizing: border-box;
}

.ad-edit-wrapper .form-group {
  margin-bottom: 1.6rem;
}

.ad-edit-wrapper label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-edit-wrapper input[type="text"],
.ad-edit-wrapper input[type="url"],
.ad-edit-wrapper input[type="number"],
.ad-edit-wrapper input[type="date"],
.ad-edit-wrapper select {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  min-height: 64px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ad-edit-wrapper input:focus,
.ad-edit-wrapper select:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

.ad-edit-wrapper input[type="file"] {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  box-sizing: border-box;
  width: 100%;
}

.ad-edit-wrapper .image-preview {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: block;
}

/* Чекбокси */
.ad-edit-wrapper .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.ad-edit-wrapper .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 45%;
  min-width: 220px;
  font-size: 1.2rem;
  color: #1f2937;
}

.ad-edit-wrapper input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-edit-wrapper .btn-primary {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-weight: 600;
}

.ad-edit-wrapper .btn-primary:hover {
  background: #2563eb;
}

/* Съобщения */
.ad-edit-wrapper .info-note,
.ad-edit-wrapper .expired-note {
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.ad-edit-wrapper .info-note {
  background: #fef9c3;
  color: #92400e;
  border: 1px solid #facc15;
}

.ad-edit-wrapper .expired-note {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-edit-wrapper .checkbox-group {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-9383106 */.history-wrapper {
  padding: 2rem 1rem;
  background: #f9fafb;
  font-family: system-ui, sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.history-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1f2937;
}

.history-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid #d1d5db;
  position: relative;
}

.history-event {
  position: relative;
  margin: 0 0 2rem 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

.history-event::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 1rem;
  width: 14px;
  height: 14px;
  background: #3b82f6;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #3b82f6;
}

.event-header {
  margin-bottom: 0.5rem;
}

.event-header time {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.event-header strong {
  font-size: 1.05rem;
  color: #111827;
  font-weight: 600;
}

.event-body p {
  margin: 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .history-wrapper {
    padding: 1rem;
  }

  .history-title {
    font-size: 1.4rem;
  }

  .history-event {
    margin-left: 1rem;
    padding: 0.8rem 1rem;
  }

  .history-event::before {
    left: -1.3rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-746ae18 */.ads-stats-charts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: system-ui, sans-serif;
  background: #f9fafb;
  padding: 1rem;
  width: 100%;
box-sizing: border-box;
}

.ads-date-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
}

.filter-group select,
.filter-group input[type="date"] {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
  background: #fff;
  color: #111827;
  min-width: 140px;
}

.ads-chart {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-chart h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

canvas {
  width: 100% !important;
  height: auto !important;
  max-height: 240px;
}

.ads-date-filter,
.ads-chart {
  width: 100%;
  box-sizing: border-box;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-eca3998 */.ads-stats-wrapper {
  font-family: 'Segoe UI', Roboto, sans-serif;
  padding: 2rem 1rem;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  color: #1f2937;
}

.ads-stats-wrapper h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  width: 100%;
  box-sizing: border-box;
}

.stat-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card:hover {
  background: #f9fafb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-label {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #111827;
}

.progress-bar {
  height: 12px;
  background: #e5e7eb;
  border-radius: 30px;
  overflow: hidden;
  width: 100%;
}

.progress-bar > div {
  height: 100%;
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  transition: width 0.5s ease-in-out;
  border-radius: 30px;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-fb7fc04 */.rules-nav {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 1rem;
  height: fit-content;
}

.rules-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rules-nav li {
  margin-bottom: 0.7rem;
}

.rules-nav a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  display: block;
  transition: color 0.2s ease;
}

.rules-nav a:hover {
  color: #3b82f6;
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .vsd-element-806d9c1 */.rules-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-height: 80vh;
  overflow-y: auto;
}

.rules-content h2 {
  font-size: 1.4rem;
  color: #1e3a8a;
}

.rules-content p {
  margin-top: 1 rem;
  color: #374151;
  line-height: 1.6;
  font-size: 1.25rem;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-b5b8c9f */.ads-pricing-wrapper {
  display: flex;
  flex-wrap: wrap;
  font-family: system-ui, sans-serif;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
}

.ads-pricing-sidebar {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ads-pricing-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ads-pricing-sidebar li {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.ads-pricing-sidebar li:hover,
.ads-pricing-sidebar li.active {
  background: #eef2ff;
  color: #1e3a8a;
  font-weight: 600;
}

.ads-pricing-content {
  flex: 3 1 300px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-block {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.ads-pricing-block.active {
  display: block;
}

.ads-pricing-block h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.ads-pricing-block p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-0af76fa *//* Контейнер */
.vsd-form-fields-wrapper {
    font-family: system-ui, sans-serif;
  font-size: 1.1rem;
  padding: 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

/* Без лейбъли */
.vsd-field-label {
  display: none !important;
}

/* Полета: Input, Select, Textarea */
#form-field-name,
#form-field-email,
#form-field-ad_topic,
#form-field-which_ad,
#form-field-message {
  width: 100%;
  padding: 1.2rem 1rem;
  font-size: 1.15rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #111827;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  min-height: 60px;
}

/* При фокус */
#form-field-name:focus,
#form-field-email:focus,
#form-field-ad_topic:focus,
#form-field-which_ad:focus,
#form-field-message:focus {
  border-color: #4b83fc;
  background: #fff;
  outline: none;
}

/* Съобщение */
#form-field-message {
  min-height: 180px;
  resize: vertical;
}

/* Мултиселект */
#form-field-which_ad {
  min-height: 140px;
}

/* Бутон */
.vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.3rem 2rem;
  font-size: 1.15rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .vsd-field-group {
    flex: 1 1 100%;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-e1b47ab */.ads-overview-wrapper {
  font-family: system-ui, sans-serif;
  padding: 1rem 0;
}

.ads-overview-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ads-overview-table thead {
  background-color: #f9fafb;
}

.ads-overview-table thead th {
  padding: 0.7rem 1rem;
  font-weight: 600;
  text-align: left;
  color: #374151;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.ads-overview-table tbody td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f1f1f1;
  color: #374151;
  background: #fff;
  transition: background 0.15s ease;
  text-align: left;
}

.ads-overview-table tbody tr:hover td {
  background: #f5f7fa;
}

.status-active {
  color: #16a34a;
  font-weight: 600;
}

.status-expired {
  color: #dc2626;
  font-weight: 600;
}

.btn-small {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  background: #e0e7ff;
  color: #1e3a8a;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 0.4rem;
  transition: background 0.2s ease;
}

.btn-small:hover {
  background: #c7d2fe;
}

.btn-secondary {
  background: #fef3c7;
  color: #92400e;
}

.btn-secondary:hover {
  background: #fde68a;
}

/* Mobile layout */
@media (max-width: 768px) {
  .ads-overview-table thead {
    display: none;
  }

  .ads-overview-table, 
  .ads-overview-table tbody, 
  .ads-overview-table tr, 
  .ads-overview-table td {
    display: block;
    width: 100%;
  }

  .ads-overview-table tr {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  }

  .ads-overview-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
    line-height: 1.4;
  }

.ads-overview-table td::before {
  content: attr(data-label);
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}


  .ads-overview-table td:last-child {
    border-bottom: none;
  }

  .ads-overview-table td > *:not(:first-child) {
    margin-top: 0.5rem;
  }

  .ads-overview-table td span,
  .ads-overview-table td a {
    display: inline-block;
  }

  .ads-overview-table td::before + * {
    margin-top: 1.2rem;
  }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-7fae760 */.ad-order .vsd-form-fields-wrapper {
  font-family: system-ui, sans-serif;
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  max-width: 100%;
  box-sizing: border-box;
}

/* Полета и лейбъли */
.ad-order .vsd-field-group {
  margin-bottom: 1.6rem;
}

.ad-order .vsd-field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-order .vsd-field {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
  min-height: 64px;
}

.ad-order .vsd-field:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

/* File input */
.ad-order input[type="file"].vsd-upload-field {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
}

/* Чекбокси */
.ad-order .vsd-field-subgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
  padding-bottom: 1.6rem;
}

.ad-order .vsd-field-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1f2937;
  line-height: 1.4;
  flex: 1 1 45%;
  min-width: 220px;
}

.ad-order .vsd-field-option label {
  font-size: 1.2rem !important;
  line-height: 1.5;
  color: #1f2937;
}


.ad-order .vsd-field-option input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-order .vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-size: 1.3rem !important;
}

.ad-order .vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-order .vsd-col-33,
  .ad-order .vsd-col-100 {
    flex: 1 1 100%;
  }

  .ad-order .vsd-field-subgroup {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-c9b9ad5 */.ad-edit-wrapper {
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  max-width: 100%;
  box-sizing: border-box;
}

.ad-edit-wrapper .form-group {
  margin-bottom: 1.6rem;
}

.ad-edit-wrapper label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-edit-wrapper input[type="text"],
.ad-edit-wrapper input[type="url"],
.ad-edit-wrapper input[type="number"],
.ad-edit-wrapper input[type="date"],
.ad-edit-wrapper select {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  min-height: 64px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ad-edit-wrapper input:focus,
.ad-edit-wrapper select:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

.ad-edit-wrapper input[type="file"] {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  box-sizing: border-box;
  width: 100%;
}

.ad-edit-wrapper .image-preview {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: block;
}

/* Чекбокси */
.ad-edit-wrapper .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.ad-edit-wrapper .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 45%;
  min-width: 220px;
  font-size: 1.2rem;
  color: #1f2937;
}

.ad-edit-wrapper input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-edit-wrapper .btn-primary {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-weight: 600;
}

.ad-edit-wrapper .btn-primary:hover {
  background: #2563eb;
}

/* Съобщения */
.ad-edit-wrapper .info-note,
.ad-edit-wrapper .expired-note {
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.ad-edit-wrapper .info-note {
  background: #fef9c3;
  color: #92400e;
  border: 1px solid #facc15;
}

.ad-edit-wrapper .expired-note {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-edit-wrapper .checkbox-group {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-9383106 */.history-wrapper {
  padding: 2rem 1rem;
  background: #f9fafb;
  font-family: system-ui, sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.history-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1f2937;
}

.history-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid #d1d5db;
  position: relative;
}

.history-event {
  position: relative;
  margin: 0 0 2rem 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

.history-event::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 1rem;
  width: 14px;
  height: 14px;
  background: #3b82f6;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #3b82f6;
}

.event-header {
  margin-bottom: 0.5rem;
}

.event-header time {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.event-header strong {
  font-size: 1.05rem;
  color: #111827;
  font-weight: 600;
}

.event-body p {
  margin: 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .history-wrapper {
    padding: 1rem;
  }

  .history-title {
    font-size: 1.4rem;
  }

  .history-event {
    margin-left: 1rem;
    padding: 0.8rem 1rem;
  }

  .history-event::before {
    left: -1.3rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-746ae18 */.ads-stats-charts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: system-ui, sans-serif;
  background: #f9fafb;
  padding: 1rem;
  width: 100%;
box-sizing: border-box;
}

.ads-date-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
}

.filter-group select,
.filter-group input[type="date"] {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
  background: #fff;
  color: #111827;
  min-width: 140px;
}

.ads-chart {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-chart h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

canvas {
  width: 100% !important;
  height: auto !important;
  max-height: 240px;
}

.ads-date-filter,
.ads-chart {
  width: 100%;
  box-sizing: border-box;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-eca3998 */.ads-stats-wrapper {
  font-family: 'Segoe UI', Roboto, sans-serif;
  padding: 2rem 1rem;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  color: #1f2937;
}

.ads-stats-wrapper h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  width: 100%;
  box-sizing: border-box;
}

.stat-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card:hover {
  background: #f9fafb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-label {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #111827;
}

.progress-bar {
  height: 12px;
  background: #e5e7eb;
  border-radius: 30px;
  overflow: hidden;
  width: 100%;
}

.progress-bar > div {
  height: 100%;
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  transition: width 0.5s ease-in-out;
  border-radius: 30px;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-fb7fc04 */.rules-nav {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 1rem;
  height: fit-content;
}

.rules-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rules-nav li {
  margin-bottom: 0.7rem;
}

.rules-nav a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  display: block;
  transition: color 0.2s ease;
}

.rules-nav a:hover {
  color: #3b82f6;
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .vsd-element-806d9c1 */.rules-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-height: 80vh;
  overflow-y: auto;
}

.rules-content h2 {
  font-size: 1.4rem;
  color: #1e3a8a;
}

.rules-content p {
  margin-top: 1 rem;
  color: #374151;
  line-height: 1.6;
  font-size: 1.25rem;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-b5b8c9f */.ads-pricing-wrapper {
  display: flex;
  flex-wrap: wrap;
  font-family: system-ui, sans-serif;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
}

.ads-pricing-sidebar {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ads-pricing-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ads-pricing-sidebar li {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.ads-pricing-sidebar li:hover,
.ads-pricing-sidebar li.active {
  background: #eef2ff;
  color: #1e3a8a;
  font-weight: 600;
}

.ads-pricing-content {
  flex: 3 1 300px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-block {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.ads-pricing-block.active {
  display: block;
}

.ads-pricing-block h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.ads-pricing-block p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-0af76fa *//* Контейнер */
.vsd-form-fields-wrapper {
    font-family: system-ui, sans-serif;
  font-size: 1.1rem;
  padding: 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

/* Без лейбъли */
.vsd-field-label {
  display: none !important;
}

/* Полета: Input, Select, Textarea */
#form-field-name,
#form-field-email,
#form-field-ad_topic,
#form-field-which_ad,
#form-field-message {
  width: 100%;
  padding: 1.2rem 1rem;
  font-size: 1.15rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #111827;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  min-height: 60px;
}

/* При фокус */
#form-field-name:focus,
#form-field-email:focus,
#form-field-ad_topic:focus,
#form-field-which_ad:focus,
#form-field-message:focus {
  border-color: #4b83fc;
  background: #fff;
  outline: none;
}

/* Съобщение */
#form-field-message {
  min-height: 180px;
  resize: vertical;
}

/* Мултиселект */
#form-field-which_ad {
  min-height: 140px;
}

/* Бутон */
.vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.3rem 2rem;
  font-size: 1.15rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .vsd-field-group {
    flex: 1 1 100%;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-e1b47ab */.ads-overview-wrapper {
  font-family: system-ui, sans-serif;
  padding: 1rem 0;
}

.ads-overview-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ads-overview-table thead {
  background-color: #f9fafb;
}

.ads-overview-table thead th {
  padding: 0.7rem 1rem;
  font-weight: 600;
  text-align: left;
  color: #374151;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.ads-overview-table tbody td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f1f1f1;
  color: #374151;
  background: #fff;
  transition: background 0.15s ease;
  text-align: left;
}

.ads-overview-table tbody tr:hover td {
  background: #f5f7fa;
}

.status-active {
  color: #16a34a;
  font-weight: 600;
}

.status-expired {
  color: #dc2626;
  font-weight: 600;
}

.btn-small {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  background: #e0e7ff;
  color: #1e3a8a;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 0.4rem;
  transition: background 0.2s ease;
}

.btn-small:hover {
  background: #c7d2fe;
}

.btn-secondary {
  background: #fef3c7;
  color: #92400e;
}

.btn-secondary:hover {
  background: #fde68a;
}

/* Mobile layout */
@media (max-width: 768px) {
  .ads-overview-table thead {
    display: none;
  }

  .ads-overview-table, 
  .ads-overview-table tbody, 
  .ads-overview-table tr, 
  .ads-overview-table td {
    display: block;
    width: 100%;
  }

  .ads-overview-table tr {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  }

  .ads-overview-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
    line-height: 1.4;
  }

.ads-overview-table td::before {
  content: attr(data-label);
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}


  .ads-overview-table td:last-child {
    border-bottom: none;
  }

  .ads-overview-table td > *:not(:first-child) {
    margin-top: 0.5rem;
  }

  .ads-overview-table td span,
  .ads-overview-table td a {
    display: inline-block;
  }

  .ads-overview-table td::before + * {
    margin-top: 1.2rem;
  }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-7fae760 */.ad-order .vsd-form-fields-wrapper {
  font-family: system-ui, sans-serif;
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  max-width: 100%;
  box-sizing: border-box;
}

/* Полета и лейбъли */
.ad-order .vsd-field-group {
  margin-bottom: 1.6rem;
}

.ad-order .vsd-field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-order .vsd-field {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
  min-height: 64px;
}

.ad-order .vsd-field:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

/* File input */
.ad-order input[type="file"].vsd-upload-field {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
}

/* Чекбокси */
.ad-order .vsd-field-subgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
  padding-bottom: 1.6rem;
}

.ad-order .vsd-field-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1f2937;
  line-height: 1.4;
  flex: 1 1 45%;
  min-width: 220px;
}

.ad-order .vsd-field-option label {
  font-size: 1.2rem !important;
  line-height: 1.5;
  color: #1f2937;
}


.ad-order .vsd-field-option input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-order .vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-size: 1.3rem !important;
}

.ad-order .vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-order .vsd-col-33,
  .ad-order .vsd-col-100 {
    flex: 1 1 100%;
  }

  .ad-order .vsd-field-subgroup {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-c9b9ad5 */.ad-edit-wrapper {
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  max-width: 100%;
  box-sizing: border-box;
}

.ad-edit-wrapper .form-group {
  margin-bottom: 1.6rem;
}

.ad-edit-wrapper label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-edit-wrapper input[type="text"],
.ad-edit-wrapper input[type="url"],
.ad-edit-wrapper input[type="number"],
.ad-edit-wrapper input[type="date"],
.ad-edit-wrapper select {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  min-height: 64px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ad-edit-wrapper input:focus,
.ad-edit-wrapper select:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

.ad-edit-wrapper input[type="file"] {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  box-sizing: border-box;
  width: 100%;
}

.ad-edit-wrapper .image-preview {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: block;
}

/* Чекбокси */
.ad-edit-wrapper .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.ad-edit-wrapper .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 45%;
  min-width: 220px;
  font-size: 1.2rem;
  color: #1f2937;
}

.ad-edit-wrapper input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-edit-wrapper .btn-primary {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-weight: 600;
}

.ad-edit-wrapper .btn-primary:hover {
  background: #2563eb;
}

/* Съобщения */
.ad-edit-wrapper .info-note,
.ad-edit-wrapper .expired-note {
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.ad-edit-wrapper .info-note {
  background: #fef9c3;
  color: #92400e;
  border: 1px solid #facc15;
}

.ad-edit-wrapper .expired-note {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-edit-wrapper .checkbox-group {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-9383106 */.history-wrapper {
  padding: 2rem 1rem;
  background: #f9fafb;
  font-family: system-ui, sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.history-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1f2937;
}

.history-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid #d1d5db;
  position: relative;
}

.history-event {
  position: relative;
  margin: 0 0 2rem 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

.history-event::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 1rem;
  width: 14px;
  height: 14px;
  background: #3b82f6;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #3b82f6;
}

.event-header {
  margin-bottom: 0.5rem;
}

.event-header time {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.event-header strong {
  font-size: 1.05rem;
  color: #111827;
  font-weight: 600;
}

.event-body p {
  margin: 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .history-wrapper {
    padding: 1rem;
  }

  .history-title {
    font-size: 1.4rem;
  }

  .history-event {
    margin-left: 1rem;
    padding: 0.8rem 1rem;
  }

  .history-event::before {
    left: -1.3rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-746ae18 */.ads-stats-charts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: system-ui, sans-serif;
  background: #f9fafb;
  padding: 1rem;
  width: 100%;
box-sizing: border-box;
}

.ads-date-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
}

.filter-group select,
.filter-group input[type="date"] {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
  background: #fff;
  color: #111827;
  min-width: 140px;
}

.ads-chart {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-chart h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

canvas {
  width: 100% !important;
  height: auto !important;
  max-height: 240px;
}

.ads-date-filter,
.ads-chart {
  width: 100%;
  box-sizing: border-box;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-eca3998 */.ads-stats-wrapper {
  font-family: 'Segoe UI', Roboto, sans-serif;
  padding: 2rem 1rem;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  color: #1f2937;
}

.ads-stats-wrapper h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  width: 100%;
  box-sizing: border-box;
}

.stat-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card:hover {
  background: #f9fafb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-label {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #111827;
}

.progress-bar {
  height: 12px;
  background: #e5e7eb;
  border-radius: 30px;
  overflow: hidden;
  width: 100%;
}

.progress-bar > div {
  height: 100%;
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  transition: width 0.5s ease-in-out;
  border-radius: 30px;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-fb7fc04 */.rules-nav {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 1rem;
  height: fit-content;
}

.rules-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rules-nav li {
  margin-bottom: 0.7rem;
}

.rules-nav a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  display: block;
  transition: color 0.2s ease;
}

.rules-nav a:hover {
  color: #3b82f6;
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .vsd-element-806d9c1 */.rules-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-height: 80vh;
  overflow-y: auto;
}

.rules-content h2 {
  font-size: 1.4rem;
  color: #1e3a8a;
}

.rules-content p {
  margin-top: 1 rem;
  color: #374151;
  line-height: 1.6;
  font-size: 1.25rem;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-b5b8c9f */.ads-pricing-wrapper {
  display: flex;
  flex-wrap: wrap;
  font-family: system-ui, sans-serif;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
}

.ads-pricing-sidebar {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ads-pricing-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ads-pricing-sidebar li {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.ads-pricing-sidebar li:hover,
.ads-pricing-sidebar li.active {
  background: #eef2ff;
  color: #1e3a8a;
  font-weight: 600;
}

.ads-pricing-content {
  flex: 3 1 300px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-block {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.ads-pricing-block.active {
  display: block;
}

.ads-pricing-block h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.ads-pricing-block p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-0af76fa *//* Контейнер */
.vsd-form-fields-wrapper {
    font-family: system-ui, sans-serif;
  font-size: 1.1rem;
  padding: 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

/* Без лейбъли */
.vsd-field-label {
  display: none !important;
}

/* Полета: Input, Select, Textarea */
#form-field-name,
#form-field-email,
#form-field-ad_topic,
#form-field-which_ad,
#form-field-message {
  width: 100%;
  padding: 1.2rem 1rem;
  font-size: 1.15rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #111827;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  min-height: 60px;
}

/* При фокус */
#form-field-name:focus,
#form-field-email:focus,
#form-field-ad_topic:focus,
#form-field-which_ad:focus,
#form-field-message:focus {
  border-color: #4b83fc;
  background: #fff;
  outline: none;
}

/* Съобщение */
#form-field-message {
  min-height: 180px;
  resize: vertical;
}

/* Мултиселект */
#form-field-which_ad {
  min-height: 140px;
}

/* Бутон */
.vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.3rem 2rem;
  font-size: 1.15rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .vsd-field-group {
    flex: 1 1 100%;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-e1b47ab */.ads-overview-wrapper {
  font-family: system-ui, sans-serif;
  padding: 1rem 0;
}

.ads-overview-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ads-overview-table thead {
  background-color: #f9fafb;
}

.ads-overview-table thead th {
  padding: 0.7rem 1rem;
  font-weight: 600;
  text-align: left;
  color: #374151;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.ads-overview-table tbody td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f1f1f1;
  color: #374151;
  background: #fff;
  transition: background 0.15s ease;
  text-align: left;
}

.ads-overview-table tbody tr:hover td {
  background: #f5f7fa;
}

.status-active {
  color: #16a34a;
  font-weight: 600;
}

.status-expired {
  color: #dc2626;
  font-weight: 600;
}

.btn-small {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  background: #e0e7ff;
  color: #1e3a8a;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 0.4rem;
  transition: background 0.2s ease;
}

.btn-small:hover {
  background: #c7d2fe;
}

.btn-secondary {
  background: #fef3c7;
  color: #92400e;
}

.btn-secondary:hover {
  background: #fde68a;
}

/* Mobile layout */
@media (max-width: 768px) {
  .ads-overview-table thead {
    display: none;
  }

  .ads-overview-table, 
  .ads-overview-table tbody, 
  .ads-overview-table tr, 
  .ads-overview-table td {
    display: block;
    width: 100%;
  }

  .ads-overview-table tr {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  }

  .ads-overview-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
    line-height: 1.4;
  }

.ads-overview-table td::before {
  content: attr(data-label);
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}


  .ads-overview-table td:last-child {
    border-bottom: none;
  }

  .ads-overview-table td > *:not(:first-child) {
    margin-top: 0.5rem;
  }

  .ads-overview-table td span,
  .ads-overview-table td a {
    display: inline-block;
  }

  .ads-overview-table td::before + * {
    margin-top: 1.2rem;
  }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-7fae760 */.ad-order .vsd-form-fields-wrapper {
  font-family: system-ui, sans-serif;
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  max-width: 100%;
  box-sizing: border-box;
}

/* Полета и лейбъли */
.ad-order .vsd-field-group {
  margin-bottom: 1.6rem;
}

.ad-order .vsd-field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-order .vsd-field {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
  min-height: 64px;
}

.ad-order .vsd-field:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

/* File input */
.ad-order input[type="file"].vsd-upload-field {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
}

/* Чекбокси */
.ad-order .vsd-field-subgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
  padding-bottom: 1.6rem;
}

.ad-order .vsd-field-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1f2937;
  line-height: 1.4;
  flex: 1 1 45%;
  min-width: 220px;
}

.ad-order .vsd-field-option label {
  font-size: 1.2rem !important;
  line-height: 1.5;
  color: #1f2937;
}


.ad-order .vsd-field-option input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-order .vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-size: 1.3rem !important;
}

.ad-order .vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-order .vsd-col-33,
  .ad-order .vsd-col-100 {
    flex: 1 1 100%;
  }

  .ad-order .vsd-field-subgroup {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-c9b9ad5 */.ad-edit-wrapper {
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  max-width: 100%;
  box-sizing: border-box;
}

.ad-edit-wrapper .form-group {
  margin-bottom: 1.6rem;
}

.ad-edit-wrapper label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-edit-wrapper input[type="text"],
.ad-edit-wrapper input[type="url"],
.ad-edit-wrapper input[type="number"],
.ad-edit-wrapper input[type="date"],
.ad-edit-wrapper select {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  min-height: 64px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ad-edit-wrapper input:focus,
.ad-edit-wrapper select:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

.ad-edit-wrapper input[type="file"] {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  box-sizing: border-box;
  width: 100%;
}

.ad-edit-wrapper .image-preview {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: block;
}

/* Чекбокси */
.ad-edit-wrapper .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.ad-edit-wrapper .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 45%;
  min-width: 220px;
  font-size: 1.2rem;
  color: #1f2937;
}

.ad-edit-wrapper input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-edit-wrapper .btn-primary {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-weight: 600;
}

.ad-edit-wrapper .btn-primary:hover {
  background: #2563eb;
}

/* Съобщения */
.ad-edit-wrapper .info-note,
.ad-edit-wrapper .expired-note {
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.ad-edit-wrapper .info-note {
  background: #fef9c3;
  color: #92400e;
  border: 1px solid #facc15;
}

.ad-edit-wrapper .expired-note {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-edit-wrapper .checkbox-group {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-9383106 */.history-wrapper {
  padding: 2rem 1rem;
  background: #f9fafb;
  font-family: system-ui, sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.history-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1f2937;
}

.history-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid #d1d5db;
  position: relative;
}

.history-event {
  position: relative;
  margin: 0 0 2rem 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

.history-event::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 1rem;
  width: 14px;
  height: 14px;
  background: #3b82f6;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #3b82f6;
}

.event-header {
  margin-bottom: 0.5rem;
}

.event-header time {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.event-header strong {
  font-size: 1.05rem;
  color: #111827;
  font-weight: 600;
}

.event-body p {
  margin: 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .history-wrapper {
    padding: 1rem;
  }

  .history-title {
    font-size: 1.4rem;
  }

  .history-event {
    margin-left: 1rem;
    padding: 0.8rem 1rem;
  }

  .history-event::before {
    left: -1.3rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-746ae18 */.ads-stats-charts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: system-ui, sans-serif;
  background: #f9fafb;
  padding: 1rem;
  width: 100%;
box-sizing: border-box;
}

.ads-date-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
}

.filter-group select,
.filter-group input[type="date"] {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
  background: #fff;
  color: #111827;
  min-width: 140px;
}

.ads-chart {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-chart h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

canvas {
  width: 100% !important;
  height: auto !important;
  max-height: 240px;
}

.ads-date-filter,
.ads-chart {
  width: 100%;
  box-sizing: border-box;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-eca3998 */.ads-stats-wrapper {
  font-family: 'Segoe UI', Roboto, sans-serif;
  padding: 2rem 1rem;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  color: #1f2937;
}

.ads-stats-wrapper h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  width: 100%;
  box-sizing: border-box;
}

.stat-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card:hover {
  background: #f9fafb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-label {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #111827;
}

.progress-bar {
  height: 12px;
  background: #e5e7eb;
  border-radius: 30px;
  overflow: hidden;
  width: 100%;
}

.progress-bar > div {
  height: 100%;
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  transition: width 0.5s ease-in-out;
  border-radius: 30px;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-fb7fc04 */.rules-nav {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 1rem;
  height: fit-content;
}

.rules-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rules-nav li {
  margin-bottom: 0.7rem;
}

.rules-nav a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  display: block;
  transition: color 0.2s ease;
}

.rules-nav a:hover {
  color: #3b82f6;
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .vsd-element-806d9c1 */.rules-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-height: 80vh;
  overflow-y: auto;
}

.rules-content h2 {
  font-size: 1.4rem;
  color: #1e3a8a;
}

.rules-content p {
  margin-top: 1 rem;
  color: #374151;
  line-height: 1.6;
  font-size: 1.25rem;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-b5b8c9f */.ads-pricing-wrapper {
  display: flex;
  flex-wrap: wrap;
  font-family: system-ui, sans-serif;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
}

.ads-pricing-sidebar {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ads-pricing-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ads-pricing-sidebar li {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.ads-pricing-sidebar li:hover,
.ads-pricing-sidebar li.active {
  background: #eef2ff;
  color: #1e3a8a;
  font-weight: 600;
}

.ads-pricing-content {
  flex: 3 1 300px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-block {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.ads-pricing-block.active {
  display: block;
}

.ads-pricing-block h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.ads-pricing-block p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-0af76fa *//* Контейнер */
.vsd-form-fields-wrapper {
    font-family: system-ui, sans-serif;
  font-size: 1.1rem;
  padding: 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

/* Без лейбъли */
.vsd-field-label {
  display: none !important;
}

/* Полета: Input, Select, Textarea */
#form-field-name,
#form-field-email,
#form-field-ad_topic,
#form-field-which_ad,
#form-field-message {
  width: 100%;
  padding: 1.2rem 1rem;
  font-size: 1.15rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #111827;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  min-height: 60px;
}

/* При фокус */
#form-field-name:focus,
#form-field-email:focus,
#form-field-ad_topic:focus,
#form-field-which_ad:focus,
#form-field-message:focus {
  border-color: #4b83fc;
  background: #fff;
  outline: none;
}

/* Съобщение */
#form-field-message {
  min-height: 180px;
  resize: vertical;
}

/* Мултиселект */
#form-field-which_ad {
  min-height: 140px;
}

/* Бутон */
.vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.3rem 2rem;
  font-size: 1.15rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .vsd-field-group {
    flex: 1 1 100%;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-e1b47ab */.ads-overview-wrapper {
  font-family: system-ui, sans-serif;
  padding: 1rem 0;
}

.ads-overview-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ads-overview-table thead {
  background-color: #f9fafb;
}

.ads-overview-table thead th {
  padding: 0.7rem 1rem;
  font-weight: 600;
  text-align: left;
  color: #374151;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.ads-overview-table tbody td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f1f1f1;
  color: #374151;
  background: #fff;
  transition: background 0.15s ease;
  text-align: left;
}

.ads-overview-table tbody tr:hover td {
  background: #f5f7fa;
}

.status-active {
  color: #16a34a;
  font-weight: 600;
}

.status-expired {
  color: #dc2626;
  font-weight: 600;
}

.btn-small {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  background: #e0e7ff;
  color: #1e3a8a;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 0.4rem;
  transition: background 0.2s ease;
}

.btn-small:hover {
  background: #c7d2fe;
}

.btn-secondary {
  background: #fef3c7;
  color: #92400e;
}

.btn-secondary:hover {
  background: #fde68a;
}

/* Mobile layout */
@media (max-width: 768px) {
  .ads-overview-table thead {
    display: none;
  }

  .ads-overview-table, 
  .ads-overview-table tbody, 
  .ads-overview-table tr, 
  .ads-overview-table td {
    display: block;
    width: 100%;
  }

  .ads-overview-table tr {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  }

  .ads-overview-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
    line-height: 1.4;
  }

.ads-overview-table td::before {
  content: attr(data-label);
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}


  .ads-overview-table td:last-child {
    border-bottom: none;
  }

  .ads-overview-table td > *:not(:first-child) {
    margin-top: 0.5rem;
  }

  .ads-overview-table td span,
  .ads-overview-table td a {
    display: inline-block;
  }

  .ads-overview-table td::before + * {
    margin-top: 1.2rem;
  }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-7fae760 */.ad-order .vsd-form-fields-wrapper {
  font-family: system-ui, sans-serif;
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  max-width: 100%;
  box-sizing: border-box;
}

/* Полета и лейбъли */
.ad-order .vsd-field-group {
  margin-bottom: 1.6rem;
}

.ad-order .vsd-field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-order .vsd-field {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
  min-height: 64px;
}

.ad-order .vsd-field:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

/* File input */
.ad-order input[type="file"].vsd-upload-field {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
}

/* Чекбокси */
.ad-order .vsd-field-subgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
  padding-bottom: 1.6rem;
}

.ad-order .vsd-field-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1f2937;
  line-height: 1.4;
  flex: 1 1 45%;
  min-width: 220px;
}

.ad-order .vsd-field-option label {
  font-size: 1.2rem !important;
  line-height: 1.5;
  color: #1f2937;
}


.ad-order .vsd-field-option input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-order .vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-size: 1.3rem !important;
}

.ad-order .vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-order .vsd-col-33,
  .ad-order .vsd-col-100 {
    flex: 1 1 100%;
  }

  .ad-order .vsd-field-subgroup {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-c9b9ad5 */.ad-edit-wrapper {
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  max-width: 100%;
  box-sizing: border-box;
}

.ad-edit-wrapper .form-group {
  margin-bottom: 1.6rem;
}

.ad-edit-wrapper label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-edit-wrapper input[type="text"],
.ad-edit-wrapper input[type="url"],
.ad-edit-wrapper input[type="number"],
.ad-edit-wrapper input[type="date"],
.ad-edit-wrapper select {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  min-height: 64px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ad-edit-wrapper input:focus,
.ad-edit-wrapper select:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

.ad-edit-wrapper input[type="file"] {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  box-sizing: border-box;
  width: 100%;
}

.ad-edit-wrapper .image-preview {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: block;
}

/* Чекбокси */
.ad-edit-wrapper .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.ad-edit-wrapper .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 45%;
  min-width: 220px;
  font-size: 1.2rem;
  color: #1f2937;
}

.ad-edit-wrapper input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-edit-wrapper .btn-primary {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-weight: 600;
}

.ad-edit-wrapper .btn-primary:hover {
  background: #2563eb;
}

/* Съобщения */
.ad-edit-wrapper .info-note,
.ad-edit-wrapper .expired-note {
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.ad-edit-wrapper .info-note {
  background: #fef9c3;
  color: #92400e;
  border: 1px solid #facc15;
}

.ad-edit-wrapper .expired-note {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-edit-wrapper .checkbox-group {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-9383106 */.history-wrapper {
  padding: 2rem 1rem;
  background: #f9fafb;
  font-family: system-ui, sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.history-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1f2937;
}

.history-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid #d1d5db;
  position: relative;
}

.history-event {
  position: relative;
  margin: 0 0 2rem 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

.history-event::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 1rem;
  width: 14px;
  height: 14px;
  background: #3b82f6;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #3b82f6;
}

.event-header {
  margin-bottom: 0.5rem;
}

.event-header time {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.event-header strong {
  font-size: 1.05rem;
  color: #111827;
  font-weight: 600;
}

.event-body p {
  margin: 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .history-wrapper {
    padding: 1rem;
  }

  .history-title {
    font-size: 1.4rem;
  }

  .history-event {
    margin-left: 1rem;
    padding: 0.8rem 1rem;
  }

  .history-event::before {
    left: -1.3rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-746ae18 */.ads-stats-charts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: system-ui, sans-serif;
  background: #f9fafb;
  padding: 1rem;
  width: 100%;
box-sizing: border-box;
}

.ads-date-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
}

.filter-group select,
.filter-group input[type="date"] {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
  background: #fff;
  color: #111827;
  min-width: 140px;
}

.ads-chart {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-chart h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

canvas {
  width: 100% !important;
  height: auto !important;
  max-height: 240px;
}

.ads-date-filter,
.ads-chart {
  width: 100%;
  box-sizing: border-box;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-eca3998 */.ads-stats-wrapper {
  font-family: 'Segoe UI', Roboto, sans-serif;
  padding: 2rem 1rem;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  color: #1f2937;
}

.ads-stats-wrapper h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  width: 100%;
  box-sizing: border-box;
}

.stat-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card:hover {
  background: #f9fafb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-label {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #111827;
}

.progress-bar {
  height: 12px;
  background: #e5e7eb;
  border-radius: 30px;
  overflow: hidden;
  width: 100%;
}

.progress-bar > div {
  height: 100%;
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  transition: width 0.5s ease-in-out;
  border-radius: 30px;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-fb7fc04 */.rules-nav {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 1rem;
  height: fit-content;
}

.rules-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rules-nav li {
  margin-bottom: 0.7rem;
}

.rules-nav a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  display: block;
  transition: color 0.2s ease;
}

.rules-nav a:hover {
  color: #3b82f6;
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .vsd-element-806d9c1 */.rules-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-height: 80vh;
  overflow-y: auto;
}

.rules-content h2 {
  font-size: 1.4rem;
  color: #1e3a8a;
}

.rules-content p {
  margin-top: 1 rem;
  color: #374151;
  line-height: 1.6;
  font-size: 1.25rem;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-b5b8c9f */.ads-pricing-wrapper {
  display: flex;
  flex-wrap: wrap;
  font-family: system-ui, sans-serif;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
}

.ads-pricing-sidebar {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ads-pricing-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ads-pricing-sidebar li {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.ads-pricing-sidebar li:hover,
.ads-pricing-sidebar li.active {
  background: #eef2ff;
  color: #1e3a8a;
  font-weight: 600;
}

.ads-pricing-content {
  flex: 3 1 300px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-block {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.ads-pricing-block.active {
  display: block;
}

.ads-pricing-block h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.ads-pricing-block p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-0af76fa *//* Контейнер */
.vsd-form-fields-wrapper {
    font-family: system-ui, sans-serif;
  font-size: 1.1rem;
  padding: 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

/* Без лейбъли */
.vsd-field-label {
  display: none !important;
}

/* Полета: Input, Select, Textarea */
#form-field-name,
#form-field-email,
#form-field-ad_topic,
#form-field-which_ad,
#form-field-message {
  width: 100%;
  padding: 1.2rem 1rem;
  font-size: 1.15rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #111827;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  min-height: 60px;
}

/* При фокус */
#form-field-name:focus,
#form-field-email:focus,
#form-field-ad_topic:focus,
#form-field-which_ad:focus,
#form-field-message:focus {
  border-color: #4b83fc;
  background: #fff;
  outline: none;
}

/* Съобщение */
#form-field-message {
  min-height: 180px;
  resize: vertical;
}

/* Мултиселект */
#form-field-which_ad {
  min-height: 140px;
}

/* Бутон */
.vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.3rem 2rem;
  font-size: 1.15rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .vsd-field-group {
    flex: 1 1 100%;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-e1b47ab */.ads-overview-wrapper {
  font-family: system-ui, sans-serif;
  padding: 1rem 0;
}

.ads-overview-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ads-overview-table thead {
  background-color: #f9fafb;
}

.ads-overview-table thead th {
  padding: 0.7rem 1rem;
  font-weight: 600;
  text-align: left;
  color: #374151;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.ads-overview-table tbody td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f1f1f1;
  color: #374151;
  background: #fff;
  transition: background 0.15s ease;
  text-align: left;
}

.ads-overview-table tbody tr:hover td {
  background: #f5f7fa;
}

.status-active {
  color: #16a34a;
  font-weight: 600;
}

.status-expired {
  color: #dc2626;
  font-weight: 600;
}

.btn-small {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  background: #e0e7ff;
  color: #1e3a8a;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 0.4rem;
  transition: background 0.2s ease;
}

.btn-small:hover {
  background: #c7d2fe;
}

.btn-secondary {
  background: #fef3c7;
  color: #92400e;
}

.btn-secondary:hover {
  background: #fde68a;
}

/* Mobile layout */
@media (max-width: 768px) {
  .ads-overview-table thead {
    display: none;
  }

  .ads-overview-table, 
  .ads-overview-table tbody, 
  .ads-overview-table tr, 
  .ads-overview-table td {
    display: block;
    width: 100%;
  }

  .ads-overview-table tr {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  }

  .ads-overview-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
    line-height: 1.4;
  }

.ads-overview-table td::before {
  content: attr(data-label);
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}


  .ads-overview-table td:last-child {
    border-bottom: none;
  }

  .ads-overview-table td > *:not(:first-child) {
    margin-top: 0.5rem;
  }

  .ads-overview-table td span,
  .ads-overview-table td a {
    display: inline-block;
  }

  .ads-overview-table td::before + * {
    margin-top: 1.2rem;
  }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-7fae760 */.ad-order .vsd-form-fields-wrapper {
  font-family: system-ui, sans-serif;
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  max-width: 100%;
  box-sizing: border-box;
}

/* Полета и лейбъли */
.ad-order .vsd-field-group {
  margin-bottom: 1.6rem;
}

.ad-order .vsd-field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-order .vsd-field {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
  min-height: 64px;
}

.ad-order .vsd-field:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

/* File input */
.ad-order input[type="file"].vsd-upload-field {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
}

/* Чекбокси */
.ad-order .vsd-field-subgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
  padding-bottom: 1.6rem;
}

.ad-order .vsd-field-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1f2937;
  line-height: 1.4;
  flex: 1 1 45%;
  min-width: 220px;
}

.ad-order .vsd-field-option label {
  font-size: 1.2rem !important;
  line-height: 1.5;
  color: #1f2937;
}


.ad-order .vsd-field-option input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-order .vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-size: 1.3rem !important;
}

.ad-order .vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-order .vsd-col-33,
  .ad-order .vsd-col-100 {
    flex: 1 1 100%;
  }

  .ad-order .vsd-field-subgroup {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-c9b9ad5 */.ad-edit-wrapper {
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  max-width: 100%;
  box-sizing: border-box;
}

.ad-edit-wrapper .form-group {
  margin-bottom: 1.6rem;
}

.ad-edit-wrapper label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-edit-wrapper input[type="text"],
.ad-edit-wrapper input[type="url"],
.ad-edit-wrapper input[type="number"],
.ad-edit-wrapper input[type="date"],
.ad-edit-wrapper select {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  min-height: 64px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ad-edit-wrapper input:focus,
.ad-edit-wrapper select:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

.ad-edit-wrapper input[type="file"] {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  box-sizing: border-box;
  width: 100%;
}

.ad-edit-wrapper .image-preview {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: block;
}

/* Чекбокси */
.ad-edit-wrapper .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.ad-edit-wrapper .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 45%;
  min-width: 220px;
  font-size: 1.2rem;
  color: #1f2937;
}

.ad-edit-wrapper input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-edit-wrapper .btn-primary {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-weight: 600;
}

.ad-edit-wrapper .btn-primary:hover {
  background: #2563eb;
}

/* Съобщения */
.ad-edit-wrapper .info-note,
.ad-edit-wrapper .expired-note {
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.ad-edit-wrapper .info-note {
  background: #fef9c3;
  color: #92400e;
  border: 1px solid #facc15;
}

.ad-edit-wrapper .expired-note {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-edit-wrapper .checkbox-group {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-9383106 */.history-wrapper {
  padding: 2rem 1rem;
  background: #f9fafb;
  font-family: system-ui, sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.history-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1f2937;
}

.history-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid #d1d5db;
  position: relative;
}

.history-event {
  position: relative;
  margin: 0 0 2rem 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

.history-event::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 1rem;
  width: 14px;
  height: 14px;
  background: #3b82f6;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #3b82f6;
}

.event-header {
  margin-bottom: 0.5rem;
}

.event-header time {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.event-header strong {
  font-size: 1.05rem;
  color: #111827;
  font-weight: 600;
}

.event-body p {
  margin: 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .history-wrapper {
    padding: 1rem;
  }

  .history-title {
    font-size: 1.4rem;
  }

  .history-event {
    margin-left: 1rem;
    padding: 0.8rem 1rem;
  }

  .history-event::before {
    left: -1.3rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-746ae18 */.ads-stats-charts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: system-ui, sans-serif;
  background: #f9fafb;
  padding: 1rem;
  width: 100%;
box-sizing: border-box;
}

.ads-date-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
}

.filter-group select,
.filter-group input[type="date"] {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
  background: #fff;
  color: #111827;
  min-width: 140px;
}

.ads-chart {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-chart h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

canvas {
  width: 100% !important;
  height: auto !important;
  max-height: 240px;
}

.ads-date-filter,
.ads-chart {
  width: 100%;
  box-sizing: border-box;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-eca3998 */.ads-stats-wrapper {
  font-family: 'Segoe UI', Roboto, sans-serif;
  padding: 2rem 1rem;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  color: #1f2937;
}

.ads-stats-wrapper h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  width: 100%;
  box-sizing: border-box;
}

.stat-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card:hover {
  background: #f9fafb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-label {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #111827;
}

.progress-bar {
  height: 12px;
  background: #e5e7eb;
  border-radius: 30px;
  overflow: hidden;
  width: 100%;
}

.progress-bar > div {
  height: 100%;
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  transition: width 0.5s ease-in-out;
  border-radius: 30px;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-fb7fc04 */.rules-nav {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 1rem;
  height: fit-content;
}

.rules-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rules-nav li {
  margin-bottom: 0.7rem;
}

.rules-nav a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  display: block;
  transition: color 0.2s ease;
}

.rules-nav a:hover {
  color: #3b82f6;
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .vsd-element-806d9c1 */.rules-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-height: 80vh;
  overflow-y: auto;
}

.rules-content h2 {
  font-size: 1.4rem;
  color: #1e3a8a;
}

.rules-content p {
  margin-top: 1 rem;
  color: #374151;
  line-height: 1.6;
  font-size: 1.25rem;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-b5b8c9f */.ads-pricing-wrapper {
  display: flex;
  flex-wrap: wrap;
  font-family: system-ui, sans-serif;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
}

.ads-pricing-sidebar {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ads-pricing-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ads-pricing-sidebar li {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.ads-pricing-sidebar li:hover,
.ads-pricing-sidebar li.active {
  background: #eef2ff;
  color: #1e3a8a;
  font-weight: 600;
}

.ads-pricing-content {
  flex: 3 1 300px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-block {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.ads-pricing-block.active {
  display: block;
}

.ads-pricing-block h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.ads-pricing-block p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-0af76fa *//* Контейнер */
.vsd-form-fields-wrapper {
    font-family: system-ui, sans-serif;
  font-size: 1.1rem;
  padding: 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

/* Без лейбъли */
.vsd-field-label {
  display: none !important;
}

/* Полета: Input, Select, Textarea */
#form-field-name,
#form-field-email,
#form-field-ad_topic,
#form-field-which_ad,
#form-field-message {
  width: 100%;
  padding: 1.2rem 1rem;
  font-size: 1.15rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #111827;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  min-height: 60px;
}

/* При фокус */
#form-field-name:focus,
#form-field-email:focus,
#form-field-ad_topic:focus,
#form-field-which_ad:focus,
#form-field-message:focus {
  border-color: #4b83fc;
  background: #fff;
  outline: none;
}

/* Съобщение */
#form-field-message {
  min-height: 180px;
  resize: vertical;
}

/* Мултиселект */
#form-field-which_ad {
  min-height: 140px;
}

/* Бутон */
.vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.3rem 2rem;
  font-size: 1.15rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .vsd-field-group {
    flex: 1 1 100%;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-e1b47ab */.ads-overview-wrapper {
  font-family: system-ui, sans-serif;
  padding: 1rem 0;
}

.ads-overview-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ads-overview-table thead {
  background-color: #f9fafb;
}

.ads-overview-table thead th {
  padding: 0.7rem 1rem;
  font-weight: 600;
  text-align: left;
  color: #374151;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.ads-overview-table tbody td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f1f1f1;
  color: #374151;
  background: #fff;
  transition: background 0.15s ease;
  text-align: left;
}

.ads-overview-table tbody tr:hover td {
  background: #f5f7fa;
}

.status-active {
  color: #16a34a;
  font-weight: 600;
}

.status-expired {
  color: #dc2626;
  font-weight: 600;
}

.btn-small {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  background: #e0e7ff;
  color: #1e3a8a;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 0.4rem;
  transition: background 0.2s ease;
}

.btn-small:hover {
  background: #c7d2fe;
}

.btn-secondary {
  background: #fef3c7;
  color: #92400e;
}

.btn-secondary:hover {
  background: #fde68a;
}

/* Mobile layout */
@media (max-width: 768px) {
  .ads-overview-table thead {
    display: none;
  }

  .ads-overview-table, 
  .ads-overview-table tbody, 
  .ads-overview-table tr, 
  .ads-overview-table td {
    display: block;
    width: 100%;
  }

  .ads-overview-table tr {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  }

  .ads-overview-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
    line-height: 1.4;
  }

.ads-overview-table td::before {
  content: attr(data-label);
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}


  .ads-overview-table td:last-child {
    border-bottom: none;
  }

  .ads-overview-table td > *:not(:first-child) {
    margin-top: 0.5rem;
  }

  .ads-overview-table td span,
  .ads-overview-table td a {
    display: inline-block;
  }

  .ads-overview-table td::before + * {
    margin-top: 1.2rem;
  }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-7fae760 */.ad-order .vsd-form-fields-wrapper {
  font-family: system-ui, sans-serif;
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  max-width: 100%;
  box-sizing: border-box;
}

/* Полета и лейбъли */
.ad-order .vsd-field-group {
  margin-bottom: 1.6rem;
}

.ad-order .vsd-field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-order .vsd-field {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
  min-height: 64px;
}

.ad-order .vsd-field:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

/* File input */
.ad-order input[type="file"].vsd-upload-field {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
}

/* Чекбокси */
.ad-order .vsd-field-subgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
  padding-bottom: 1.6rem;
}

.ad-order .vsd-field-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1f2937;
  line-height: 1.4;
  flex: 1 1 45%;
  min-width: 220px;
}

.ad-order .vsd-field-option label {
  font-size: 1.2rem !important;
  line-height: 1.5;
  color: #1f2937;
}


.ad-order .vsd-field-option input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-order .vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-size: 1.3rem !important;
}

.ad-order .vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-order .vsd-col-33,
  .ad-order .vsd-col-100 {
    flex: 1 1 100%;
  }

  .ad-order .vsd-field-subgroup {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-c9b9ad5 */.ad-edit-wrapper {
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  max-width: 100%;
  box-sizing: border-box;
}

.ad-edit-wrapper .form-group {
  margin-bottom: 1.6rem;
}

.ad-edit-wrapper label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-edit-wrapper input[type="text"],
.ad-edit-wrapper input[type="url"],
.ad-edit-wrapper input[type="number"],
.ad-edit-wrapper input[type="date"],
.ad-edit-wrapper select {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  min-height: 64px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ad-edit-wrapper input:focus,
.ad-edit-wrapper select:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

.ad-edit-wrapper input[type="file"] {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  box-sizing: border-box;
  width: 100%;
}

.ad-edit-wrapper .image-preview {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: block;
}

/* Чекбокси */
.ad-edit-wrapper .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.ad-edit-wrapper .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 45%;
  min-width: 220px;
  font-size: 1.2rem;
  color: #1f2937;
}

.ad-edit-wrapper input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-edit-wrapper .btn-primary {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-weight: 600;
}

.ad-edit-wrapper .btn-primary:hover {
  background: #2563eb;
}

/* Съобщения */
.ad-edit-wrapper .info-note,
.ad-edit-wrapper .expired-note {
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.ad-edit-wrapper .info-note {
  background: #fef9c3;
  color: #92400e;
  border: 1px solid #facc15;
}

.ad-edit-wrapper .expired-note {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-edit-wrapper .checkbox-group {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-9383106 */.history-wrapper {
  padding: 2rem 1rem;
  background: #f9fafb;
  font-family: system-ui, sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.history-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1f2937;
}

.history-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid #d1d5db;
  position: relative;
}

.history-event {
  position: relative;
  margin: 0 0 2rem 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

.history-event::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 1rem;
  width: 14px;
  height: 14px;
  background: #3b82f6;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #3b82f6;
}

.event-header {
  margin-bottom: 0.5rem;
}

.event-header time {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.event-header strong {
  font-size: 1.05rem;
  color: #111827;
  font-weight: 600;
}

.event-body p {
  margin: 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .history-wrapper {
    padding: 1rem;
  }

  .history-title {
    font-size: 1.4rem;
  }

  .history-event {
    margin-left: 1rem;
    padding: 0.8rem 1rem;
  }

  .history-event::before {
    left: -1.3rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-746ae18 */.ads-stats-charts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: system-ui, sans-serif;
  background: #f9fafb;
  padding: 1rem;
  width: 100%;
box-sizing: border-box;
}

.ads-date-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
}

.filter-group select,
.filter-group input[type="date"] {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
  background: #fff;
  color: #111827;
  min-width: 140px;
}

.ads-chart {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-chart h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

canvas {
  width: 100% !important;
  height: auto !important;
  max-height: 240px;
}

.ads-date-filter,
.ads-chart {
  width: 100%;
  box-sizing: border-box;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-eca3998 */.ads-stats-wrapper {
  font-family: 'Segoe UI', Roboto, sans-serif;
  padding: 2rem 1rem;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  color: #1f2937;
}

.ads-stats-wrapper h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  width: 100%;
  box-sizing: border-box;
}

.stat-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card:hover {
  background: #f9fafb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-label {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #111827;
}

.progress-bar {
  height: 12px;
  background: #e5e7eb;
  border-radius: 30px;
  overflow: hidden;
  width: 100%;
}

.progress-bar > div {
  height: 100%;
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  transition: width 0.5s ease-in-out;
  border-radius: 30px;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-fb7fc04 */.rules-nav {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 1rem;
  height: fit-content;
}

.rules-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rules-nav li {
  margin-bottom: 0.7rem;
}

.rules-nav a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  display: block;
  transition: color 0.2s ease;
}

.rules-nav a:hover {
  color: #3b82f6;
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .vsd-element-806d9c1 */.rules-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-height: 80vh;
  overflow-y: auto;
}

.rules-content h2 {
  font-size: 1.4rem;
  color: #1e3a8a;
}

.rules-content p {
  margin-top: 1 rem;
  color: #374151;
  line-height: 1.6;
  font-size: 1.25rem;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-b5b8c9f */.ads-pricing-wrapper {
  display: flex;
  flex-wrap: wrap;
  font-family: system-ui, sans-serif;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
}

.ads-pricing-sidebar {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ads-pricing-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ads-pricing-sidebar li {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.ads-pricing-sidebar li:hover,
.ads-pricing-sidebar li.active {
  background: #eef2ff;
  color: #1e3a8a;
  font-weight: 600;
}

.ads-pricing-content {
  flex: 3 1 300px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-block {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.ads-pricing-block.active {
  display: block;
}

.ads-pricing-block h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.ads-pricing-block p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-0af76fa *//* Контейнер */
.vsd-form-fields-wrapper {
    font-family: system-ui, sans-serif;
  font-size: 1.1rem;
  padding: 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

/* Без лейбъли */
.vsd-field-label {
  display: none !important;
}

/* Полета: Input, Select, Textarea */
#form-field-name,
#form-field-email,
#form-field-ad_topic,
#form-field-which_ad,
#form-field-message {
  width: 100%;
  padding: 1.2rem 1rem;
  font-size: 1.15rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #111827;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  min-height: 60px;
}

/* При фокус */
#form-field-name:focus,
#form-field-email:focus,
#form-field-ad_topic:focus,
#form-field-which_ad:focus,
#form-field-message:focus {
  border-color: #4b83fc;
  background: #fff;
  outline: none;
}

/* Съобщение */
#form-field-message {
  min-height: 180px;
  resize: vertical;
}

/* Мултиселект */
#form-field-which_ad {
  min-height: 140px;
}

/* Бутон */
.vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.3rem 2rem;
  font-size: 1.15rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .vsd-field-group {
    flex: 1 1 100%;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-e1b47ab */.ads-overview-wrapper {
  font-family: system-ui, sans-serif;
  padding: 1rem 0;
}

.ads-overview-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ads-overview-table thead {
  background-color: #f9fafb;
}

.ads-overview-table thead th {
  padding: 0.7rem 1rem;
  font-weight: 600;
  text-align: left;
  color: #374151;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.ads-overview-table tbody td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f1f1f1;
  color: #374151;
  background: #fff;
  transition: background 0.15s ease;
  text-align: left;
}

.ads-overview-table tbody tr:hover td {
  background: #f5f7fa;
}

.status-active {
  color: #16a34a;
  font-weight: 600;
}

.status-expired {
  color: #dc2626;
  font-weight: 600;
}

.btn-small {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  background: #e0e7ff;
  color: #1e3a8a;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 0.4rem;
  transition: background 0.2s ease;
}

.btn-small:hover {
  background: #c7d2fe;
}

.btn-secondary {
  background: #fef3c7;
  color: #92400e;
}

.btn-secondary:hover {
  background: #fde68a;
}

/* Mobile layout */
@media (max-width: 768px) {
  .ads-overview-table thead {
    display: none;
  }

  .ads-overview-table, 
  .ads-overview-table tbody, 
  .ads-overview-table tr, 
  .ads-overview-table td {
    display: block;
    width: 100%;
  }

  .ads-overview-table tr {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  }

  .ads-overview-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
    line-height: 1.4;
  }

.ads-overview-table td::before {
  content: attr(data-label);
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}


  .ads-overview-table td:last-child {
    border-bottom: none;
  }

  .ads-overview-table td > *:not(:first-child) {
    margin-top: 0.5rem;
  }

  .ads-overview-table td span,
  .ads-overview-table td a {
    display: inline-block;
  }

  .ads-overview-table td::before + * {
    margin-top: 1.2rem;
  }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-7fae760 */.ad-order .vsd-form-fields-wrapper {
  font-family: system-ui, sans-serif;
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  max-width: 100%;
  box-sizing: border-box;
}

/* Полета и лейбъли */
.ad-order .vsd-field-group {
  margin-bottom: 1.6rem;
}

.ad-order .vsd-field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-order .vsd-field {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
  min-height: 64px;
}

.ad-order .vsd-field:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

/* File input */
.ad-order input[type="file"].vsd-upload-field {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
}

/* Чекбокси */
.ad-order .vsd-field-subgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
  padding-bottom: 1.6rem;
}

.ad-order .vsd-field-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1f2937;
  line-height: 1.4;
  flex: 1 1 45%;
  min-width: 220px;
}

.ad-order .vsd-field-option label {
  font-size: 1.2rem !important;
  line-height: 1.5;
  color: #1f2937;
}


.ad-order .vsd-field-option input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-order .vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-size: 1.3rem !important;
}

.ad-order .vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-order .vsd-col-33,
  .ad-order .vsd-col-100 {
    flex: 1 1 100%;
  }

  .ad-order .vsd-field-subgroup {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-c9b9ad5 */.ad-edit-wrapper {
  font-size: 1.15rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  max-width: 100%;
  box-sizing: border-box;
}

.ad-edit-wrapper .form-group {
  margin-bottom: 1.6rem;
}

.ad-edit-wrapper label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
  font-size: 1.15rem;
}

.ad-edit-wrapper input[type="text"],
.ad-edit-wrapper input[type="url"],
.ad-edit-wrapper input[type="number"],
.ad-edit-wrapper input[type="date"],
.ad-edit-wrapper select {
  width: 100%;
  padding: 1.4rem 1.2rem;
  font-size: 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  min-height: 64px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ad-edit-wrapper input:focus,
.ad-edit-wrapper select:focus {
  border-color: #3b82f6;
  background: #ffffff;
  outline: none;
}

.ad-edit-wrapper input[type="file"] {
  padding: 1rem;
  font-size: 1.1rem;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  box-sizing: border-box;
  width: 100%;
}

.ad-edit-wrapper .image-preview {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: block;
}

/* Чекбокси */
.ad-edit-wrapper .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.ad-edit-wrapper .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 45%;
  min-width: 220px;
  font-size: 1.2rem;
  color: #1f2937;
}

.ad-edit-wrapper input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Бутон */
.ad-edit-wrapper .btn-primary {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  font-weight: 600;
}

.ad-edit-wrapper .btn-primary:hover {
  background: #2563eb;
}

/* Съобщения */
.ad-edit-wrapper .info-note,
.ad-edit-wrapper .expired-note {
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.ad-edit-wrapper .info-note {
  background: #fef9c3;
  color: #92400e;
  border: 1px solid #facc15;
}

.ad-edit-wrapper .expired-note {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Responsive */
@media (max-width: 600px) {
  .ad-edit-wrapper .checkbox-group {
    flex-direction: column;
    gap: 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-9383106 */.history-wrapper {
  padding: 2rem 1rem;
  background: #f9fafb;
  font-family: system-ui, sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.history-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1f2937;
}

.history-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid #d1d5db;
  position: relative;
}

.history-event {
  position: relative;
  margin: 0 0 2rem 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

.history-event::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 1rem;
  width: 14px;
  height: 14px;
  background: #3b82f6;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #3b82f6;
}

.event-header {
  margin-bottom: 0.5rem;
}

.event-header time {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.event-header strong {
  font-size: 1.05rem;
  color: #111827;
  font-weight: 600;
}

.event-body p {
  margin: 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .history-wrapper {
    padding: 1rem;
  }

  .history-title {
    font-size: 1.4rem;
  }

  .history-event {
    margin-left: 1rem;
    padding: 0.8rem 1rem;
  }

  .history-event::before {
    left: -1.3rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-746ae18 */.ads-stats-charts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: system-ui, sans-serif;
  background: #f9fafb;
  padding: 1rem;
  width: 100%;
box-sizing: border-box;
}

.ads-date-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
}

.filter-group select,
.filter-group input[type="date"] {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
  background: #fff;
  color: #111827;
  min-width: 140px;
}

.ads-chart {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-chart h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

canvas {
  width: 100% !important;
  height: auto !important;
  max-height: 240px;
}

.ads-date-filter,
.ads-chart {
  width: 100%;
  box-sizing: border-box;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-eca3998 */.ads-stats-wrapper {
  font-family: 'Segoe UI', Roboto, sans-serif;
  padding: 2rem 1rem;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  color: #1f2937;
}

.ads-stats-wrapper h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  width: 100%;
  box-sizing: border-box;
}

.stat-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card:hover {
  background: #f9fafb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-label {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #111827;
}

.progress-bar {
  height: 12px;
  background: #e5e7eb;
  border-radius: 30px;
  overflow: hidden;
  width: 100%;
}

.progress-bar > div {
  height: 100%;
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  transition: width 0.5s ease-in-out;
  border-radius: 30px;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-fb7fc04 */.rules-nav {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 1rem;
  height: fit-content;
}

.rules-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rules-nav li {
  margin-bottom: 0.7rem;
}

.rules-nav a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  display: block;
  transition: color 0.2s ease;
}

.rules-nav a:hover {
  color: #3b82f6;
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .vsd-element-806d9c1 */.rules-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-height: 80vh;
  overflow-y: auto;
}

.rules-content h2 {
  font-size: 1.4rem;
  color: #1e3a8a;
}

.rules-content p {
  margin-top: 1 rem;
  color: #374151;
  line-height: 1.6;
  font-size: 1.25rem;
}/* End custom CSS */
/* Start custom CSS for html, class: .vsd-element-b5b8c9f */.ads-pricing-wrapper {
  display: flex;
  flex-wrap: wrap;
  font-family: system-ui, sans-serif;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
}

.ads-pricing-sidebar {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ads-pricing-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ads-pricing-sidebar li {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.ads-pricing-sidebar li:hover,
.ads-pricing-sidebar li.active {
  background: #eef2ff;
  color: #1e3a8a;
  font-weight: 600;
}

.ads-pricing-content {
  flex: 3 1 300px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ads-pricing-block {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.ads-pricing-block.active {
  display: block;
}

.ads-pricing-block h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.ads-pricing-block p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}/* End custom CSS */
/* Start custom CSS for form, class: .vsd-element-0af76fa *//* Контейнер */
.vsd-form-fields-wrapper {
    font-family: system-ui, sans-serif;
  font-size: 1.1rem;
  padding: 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

/* Без лейбъли */
.vsd-field-label {
  display: none !important;
}

/* Полета: Input, Select, Textarea */
#form-field-name,
#form-field-email,
#form-field-ad_topic,
#form-field-which_ad,
#form-field-message {
  width: 100%;
  padding: 1.2rem 1rem;
  font-size: 1.15rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #111827;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  min-height: 60px;
}

/* При фокус */
#form-field-name:focus,
#form-field-email:focus,
#form-field-ad_topic:focus,
#form-field-which_ad:focus,
#form-field-message:focus {
  border-color: #4b83fc;
  background: #fff;
  outline: none;
}

/* Съобщение */
#form-field-message {
  min-height: 180px;
  resize: vertical;
}

/* Мултиселект */
#form-field-which_ad {
  min-height: 140px;
}

/* Бутон */
.vsd-button {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 1.3rem 2rem;
  font-size: 1.15rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.vsd-button:hover {
  background: #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .vsd-field-group {
    flex: 1 1 100%;
  }
}/* End custom CSS */