@import url("../../components/file-upload/file-upload.css");
@import url("../../components/sortable/sortable.css");
@import url("../../components/step-form-bottom-nav/step-form-bottom-nav.css");
@import url("../../components/auth-form-section/auth-form-section.css");
@import url("../../components/popover/popover.css");
@import url("../../components/popup/popup.css");
@import url("../../components/category-selector/category-selector.css");
@import url("../../components/crossed-category/crossed-category.css");
@import url("../../components/plans-chart/plans-chart.css");
.close.small {
  width: 28px;
  height: 28px;
  position: relative;
  cursor: pointer; }
  .close.small:before {
    content: '';
    position: absolute;
    top: 7px;
    left: 7px;
    width: 14px;
    height: 14px;
    background: url("../../img/gallery.png") right -469px no-repeat;
    opacity: .7; }
  .close.small:hover:before {
    opacity: 1; }

.text-notice {
  padding-bottom: 1.25rem; }

@media screen and (max-width: 767px) {
  .content-padding-negative {
    margin-left: -0.625rem;
    margin-right: -0.625rem; } }

input[type=button].cancel,
button.cancel {
  background: #ababab; }
  input[type=button].cancel:hover,
  button.cancel:hover {
    background: #bcbcbc; }

.icon.delete,
.icon.cancel,
.icon.manage,
.icon.crop,
.icon.rotate {
  width: 17px;
  height: 17px;
  background: url("../../img/gallery.png") right -489px no-repeat;
  cursor: pointer;
  opacity: 0.7;
  display: inline-block; }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
    .icon.delete,
    .icon.cancel,
    .icon.manage,
    .icon.crop,
    .icon.rotate {
      background: url("../../img/@2x/gallery2.png") right -755px no-repeat;
      background-size: 40px auto; } }

.icon:hover {
  opacity: 1; }

.icon.manage {
  background-position: left -489px; }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
    .icon.manage {
      background-position: 0 -755px; } }

.icon.crop {
  background-position: 0 -513px; }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
    .icon.crop {
      background-position: right -776px; } }

svg.icon {
  background: transparent !important;
  fill: #565656; }

.content-padding:not(.selected) .category-selection {
  display: block; }

.content-padding:not(.selected) .dynamic-content {
  display: none; }

.content-padding.selected .category-selection {
  display: none; }

.content-padding.selected .dynamic-content {
  display: block; }

.dynamic-content.single-plan .selected-plan {
  display: none; }

.dynamic-content div.listing-form .form-fields {
  margin: 1.25rem 0; }

.dynamic-content div.listing-form .form-media {
  margin-bottom: 1.25rem; }

.plans-chart-link {
  margin-left: 0.625rem; }
  @media screen and (max-width: 767px) {
    .plans-chart-link {
      margin: 0.3125rem 0 0 0;
      display: inline-block; } }

.plans-subscribe {
  margin-top: 0.625rem; }
  .plans-subscribe.disabled {
    display: none; }

.plans-chart {
  width: 1200px;
  min-height: 300px; }

.selected-ad-type {
  display: block; }
  .selected-ad-type.disabled {
    display: none; }
  .selected-ad-type mark {
    color: inherit;
    background: inherit; }

.form-crossed.disabled {
  display: none; }

.form-crossed .crossed-categories-container {
  margin-top: 8px; }

.form-media.disabled {
  display: none; }

/* ---- Global add_listing controller styles ---- */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* Global Commerce Buttons (Wizard Parity) */
.sb-btn-primary,
.sb-btn-secondary {
    font-family: "Inter", -apple-system, sans-serif !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    line-height: 1.2;
    text-decoration: none !important;
    transition: all .2s ease;
    box-sizing: border-box;
    border: none !important;
    cursor: pointer;
}

.sb-btn-primary {
    background: #2563eb !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 0 24px !important;
}

.sb-btn-primary:hover {
    background: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.15) !important;
}

.sb-btn-secondary {
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-weight: 500 !important;
    padding: 0 20px !important;
}

.sb-btn-secondary::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-right: 10px;
    margin-bottom: 1px;
    opacity: 0.8;
}

.sb-btn-secondary:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
    transform: translateY(-2px);
}

.sb-btn-primary:active, .sb-btn-secondary:active {
    transform: translateY(0);
}

/* Modern Flash Notifications (Wizard Parity) */
#sb-notification-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    width: 100%;
    max-width: 420px;
    padding: 0 20px;
    pointer-events: none;
}

.sb-notification {
    background: #fff;
    border-left: 4px solid #2563eb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: auto;
    animation: sb-slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    overflow: hidden;
}

.sb-notification--error { 
    border-left-color: #ef4444; 
    background-color: #fef2f2;
}
.sb-notification--success { border-left-color: #10b981; }
.sb-hide { display: none !important; }

.sb-notification-content {
    flex: 1;
    font-family: "Inter", -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #1e293b;
}

.sb-notification-content b {
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
}

.sb-notification-close {
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.2s;
    font-size: 18px;
    line-height: 1;
}

.sb-notification-close:hover { opacity: 1; }

@keyframes sb-slide-down {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes sb-fade-out {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}
