/* monetize plugin styles */

#area_highlight .navigation-column {
    display: none;
}
#listings.my-listings div.navigation ul > li.nav-icon.bump-up > a:before {
    background: url(../static/gallery.png) 0 1px no-repeat;
}
#listings.my-listings div.navigation ul > li.nav-icon.higlight > a:before {
    background: url(../static/gallery.png) 0 -17px no-repeat;
}
.m-statistic {
    padding-bottom: 15px;
    border-bottom: 2px solid #cbcbcb;
    margin-bottom: 15px;
}
.m-statistic .bu-info {
    display: inline-block;
    margin-right: 40px;
    vertical-align: bottom;
}
body[dir=rtl] .m-statistic .bu-info {
    margin-right: 0;
    margin-left: 40px;
}

body[dir=rtl] .my-listings div.navigation ul li.nav-icon > a:before {
    left: auto;
    right: 0;
}

.m-statistic .credits-count {
    font-size: 96px;
    line-height: 1;
}
.m-statistic .button {
    margin: 10px 0;
}
.m-statistic .credits-text {
    display: inline-block;
}
.m-statistic .credits-text .date {
    font-size: inherit;
}
.rb-ads {
    margin-bottom: 10px;
}

.list article.highlight, .grid article.highlight .main-column  {
    padding: 10px;
    position: relative;
    background: linear-gradient(135deg, #fffde7 0%, #fff8e1 50%, #fffde7 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(249, 168, 37, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

article.highlight .picture::after,
li.highlight .picture::after,
article.highlight .picture::before,
li.highlight .picture::before {
    display: none;
}

article.highlight a.link-large, article.highlight ul.ad-info > li.title > a,
article.highlight a.link-large, article.highlight ul.card-info > li.title > a {
    background: transparent;
    box-shadow: none;
    color: var(--body-font-color) !important;
}

#recently-bumped-up ul.nav-column, #recently-highlighted ul.nav-column {
    padding-top: 0 !important;
    width: auto !important;
}
#recently-highlighted > .fieldset, #recently-bumped-up > .fieldset {
    margin-top: 15px;
}
#recently-bumped-up .navigation-column {
    width: auto !important;
}
article.highlight > div.title a {
    background: transparent;
    box-shadow: none;
    color: var(--body-font-color);
}
li.highlight .card-info,
li.highlight ul.card-info,
ul.featured li.highlight .card-info,
.listings_box li.highlight .card-info {
    background: transparent;
}
li.highlight .card-info a,
ul.featured li.highlight a,
.listings_box li.highlight a {
    background: transparent;
    box-shadow: none;
    color: var(--body-font-color);
}
#area_bump_up li.highlight-date {
    display: none !important;
}
#area_highlight li.bump-date {
    display: none !important;
}

div.fieldset.divider > header {
    display: block !important;
}

ul.rating-bar.hide {
    display: none;
}

.monetize-block .card-info .icons {
    display: none;
}

#recently-highlighted ul.nav-column > li, #recently-bumped-up ul.nav-column > li{
    cursor: default !important;
}

/*** MOBILE VIEW ***/
@media screen and (max-width: 767px) {
    #area_highlight section#listings.list ul.card-info > ol {
        display: block !important;
    }
	section#listings.monetize-recent-tab ul.ad-info,
    section#listings.monetize-recent-tab ul.card-info {
        height: 75px !important;
    }
    section#listings.monetize-recent-tab ul.ad-info  > li.title,
    section#listings.monetize-recent-tab ul.card-info  > li.title {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/*** BUMP UP PAGE STYLES ***/
.bumpup-container { 
    max-width: 700px; 
    margin: 0 auto; 
}

/* Listing Preview Box */
.listing-preview-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}
.listing-preview-image {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}
.listing-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.listing-preview-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}
.listing-preview-image .no-image svg {
    width: 32px;
    height: 32px;
}
.listing-preview-content {
    flex: 1;
    min-width: 0;
}
.listing-preview-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.listing-preview-title a {
    color: #1f2937;
    text-decoration: none;
}
.listing-preview-title a:hover {
    color: #3b82f6;
}
.listing-preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.preview-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #6b7280;
}
.preview-meta-item svg {
    width: 14px;
    height: 14px;
    color: #9ca3af;
    flex-shrink: 0;
}
.preview-meta-item.last-bump-badge {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}
.preview-meta-item.last-bump-badge svg {
    color: #f59e0b;
}

@media (max-width: 480px) {
    .listing-preview-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .listing-preview-image {
        flex: 0 0 100%;
        width: 100%;
        height: 120px;
    }
}

.bumpup-section { 
    margin-bottom: 32px; 
}
.bumpup-section-header { 
    margin-bottom: 16px; 
}
.bumpup-section-title { 
    font-size: 16px; 
    font-weight: 600; 
    color: #1a1a1a; 
    margin: 0 0 4px 0; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}
.bumpup-section-title svg { 
    width: 18px; 
    height: 18px; 
    color: #16a34a; 
    flex-shrink: 0;
}
.bumpup-section--standard .bumpup-section-title svg {
    color: #38bdf8;
}
.bumpup-section--auto .bumpup-section-title svg {
    color: #16a34a;
}
.bumpup-section-desc { 
    color: #6b7280; 
    font-size: 13px; 
    margin: 0; 
}

.plan-card { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    background: #fff; 
    border: 1px solid #e5e7eb; 
    border-radius: 12px; 
    padding: 20px 24px; 
    margin-bottom: 12px; 
    transition: all 0.15s ease; 
}
.plan-card:hover { 
    border-color: #d1d5db; 
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06); 
}
.plan-card.active { 
    border-color: #10b981; 
    background: linear-gradient(to right, #f0fdf4, #fff); 
}
.plan-card.blocked { 
    border-color: #fcd34d; 
    background: linear-gradient(to right, #fffbeb, #fff); 
}

.plan-left { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    flex: 1; 
}
.plan-icon { 
    width: 44px; 
    height: 44px; 
    border-radius: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
}
.plan-icon.standard { 
    background: #e0f2fe; 
    color: #38bdf8; 
}
.plan-icon.auto { 
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); 
    color: #15803d; 
}
.plan-icon svg { 
    width: 20px; 
    height: 20px; 
}

.plan-details { 
    flex: 1; 
}
.plan-title-row { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 4px; 
    flex-wrap: wrap; 
}
.plan-title { 
    font-size: 15px; 
    font-weight: 600; 
    color: #1f2937; 
    margin: 0; 
}
.plan-badge { 
    display: inline-flex; 
    align-items: center; 
    padding: 2px 8px; 
    border-radius: 9999px; 
    font-size: 11px; 
    font-weight: 600; 
}
.plan-badge.active { 
    background: #dcfce7; 
    color: #166534; 
}
.plan-badge.blocked { 
    background: #fef3c7; 
    color: #92400e;
    gap: 4px;
}
.plan-badge.blocked svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}
.plan-badge.popular { 
    background: #dbeafe; 
    color: #1e40af; 
}
.plan-badge.days { 
    background: #e0e7ff; 
    color: #3730a3; 
}

.plan-desc { 
    font-size: 13px; 
    color: #6b7280; 
    margin: 0 0 8px 0; 
}
.plan-features { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 12px; 
}
.plan-feat { 
    display: inline-flex; 
    align-items: center; 
    gap: 5px; 
    font-size: 12px; 
    color: #4b5563; 
}
.plan-feat svg { 
    width: 14px; 
    height: 14px; 
    color: #9ca3af; 
    flex-shrink: 0;
}
.plan-feat.highlight { 
    color: #059669; 
    font-weight: 500; 
}
.plan-feat.highlight svg { 
    color: #059669; 
}

.plan-right { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-end; 
    gap: 8px; 
    min-width: 100px; 
}
.plan-price { 
    text-align: right; 
}
.plan-price .amount { 
    font-size: 24px; 
    font-weight: 700; 
    color: #111827; 
}
.plan-price .period { 
    font-size: 12px; 
    color: #6b7280; 
}
.plan-price .free { 
    font-size: 15px; 
    font-weight: 600; 
    color: #059669; 
}

.plan-action-form {
    margin: 0;
}
.plan-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.plan-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.plan-btn.bumpup {
    background: #10b981;
    color: #fff;
}
.plan-btn.bumpup:hover {
    background: #059669;
}
.plan-btn.buy {
    background: #3b82f6;
    color: #fff;
}
.plan-btn.buy:hover {
    background: #2563eb;
}
.plan-btn.subscribe {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
}
.plan-btn.subscribe:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}
.plan-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: auto;
}
.plan-btn.disabled:hover {
    opacity: 0.5;
}

.plan-check { 
    color: #059669;
}
.plan-check svg {
    width: 28px;
    height: 28px;
}

.bumpup-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 24px;
    color: #92400e;
    font-size: 14px;
}
.bumpup-warning svg {
    width: 20px;
    height: 20px;
    color: #f59e0b;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .plan-card { 
        flex-direction: column; 
        align-items: stretch; 
        gap: 16px; 
    }
    .plan-right { 
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center; 
        min-width: 100%; 
    }
}

/* Button Tooltip for disabled states */
.btn-tooltip-wrap {
    position: relative;
    display: inline-block;
}

.btn-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.btn-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1f2937;
}

.btn-tooltip-wrap.has-tooltip:hover .btn-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 640px) {
    .btn-tooltip {
        white-space: normal;
        min-width: 160px;
        max-width: 220px;
        text-align: center;
    }
}

/* Promote Listing Page Styles */
.promote-listing-page {
    max-width: 1200px;
    margin: 0 auto;
}

.promote-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.promote-packages {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Listing Preview Card */
.promote-listing-preview {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.listing-preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.listing-preview-header svg {
    color: #94a3b8;
}

.listing-preview-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.listing-preview-image {
    width: 100px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.listing-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-preview-image .no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.listing-preview-image .no-image-placeholder svg {
    width: 32px;
    height: 32px;
}

.listing-preview-details {
    flex: 1;
    min-width: 0;
}

.listing-preview-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-preview-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.listing-preview-price {
    font-size: 14px;
    font-weight: 700;
    color: #059669;
}

.listing-preview-id {
    font-size: 12px;
    color: #94a3b8;
    background: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}

.listing-preview-category {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
}

.listing-preview-category svg {
    color: #94a3b8;
}

.promote-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 24px;
    text-align: center;
}

.promote-package-group {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.promote-package-group:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.package-group-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.package-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.package-icon--premium {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.package-icon--featured {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.package-icon--highlight {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
}

.package-header-text {
    flex: 1;
}

.package-title {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    display: block;
}

.package-badges {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-new {
    background: #10b981;
    color: #fff;
}

.badge-premium {
    background: #3b82f6;
    color: #fff;
}

.badge-featured {
    background: #f59e0b;
    color: #fff;
}

.badge-bumpup {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-highlight {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.package-description {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
    padding-left: 56px;
}

.package-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.package-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}

.package-option:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.package-option.option--recommended {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.package-option.option--recommended::before {
    content: 'Recommended';
    position: absolute;
    top: -10px;
    right: 12px;
    background: #10b981;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.package-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: #fff;
}

.option-checkbox svg {
    width: 14px;
    height: 14px;
    color: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.package-option input[type="checkbox"]:checked + .option-checkbox {
    background: #3b82f6;
    border-color: #3b82f6;
}

.package-option input[type="checkbox"]:checked + .option-checkbox svg {
    opacity: 1;
    transform: scale(1);
}

.option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.option-name {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auto-badge {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.option-price {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    text-align: right;
}

.price-amount {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    color: #0f172a;
    font-weight: 700;
}

.free-badge {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #047857;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.credits-available {
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 6px;
}

.vat-notice {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.policy-notice {
    text-align: center;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed #e5e7eb;
}

.policy-notice a {
    color: #3b82f6;
    text-decoration: none;
}

/* Order Summary */
.order-summary {
    width: 340px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 24px;
    position: sticky;
    top: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.summary-title {
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

/* Summary Items */
.summary-items {
    min-height: 80px;
    margin-bottom: 16px;
}

.summary-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    color: #9ca3af;
    text-align: center;
    gap: 12px;
}

.summary-empty-state svg {
    color: #d1d5db;
}

.summary-empty-state span {
    font-size: 13px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    gap: 12px;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.summary-item-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: fit-content;
}

.summary-item-badge svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.summary-item-name {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.4;
}

.summary-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
}

/* Summary Totals */
.summary-totals {
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
    margin-top: 8px;
}

.discount-code-section {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.discount-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
}

.apply-discount-btn {
    padding: 10px 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.apply-discount-btn:hover {
    background: #e5e7eb;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: #6b7280;
}

.summary-row.total-row {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 2px solid #e5e7eb;
}

.pay-button {
    width: 100%;
    padding: 16px 20px;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pay-button:hover:not(:disabled) {
    background: #1f2937;
}

.pay-button:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
}

.pay-button svg {
    flex-shrink: 0;
}

.pay-button-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Promote button style */
.action-btn--promote {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff !important;
}

.action-btn--promote:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

/* Success/Error messages */
.success-message {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 1px solid #10b981;
    color: #065f46;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.error-message {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 1px solid #dc2626;
    color: #991b1b;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .promote-container {
        flex-direction: column;
    }
    
    .promote-packages {
        padding: 20px;
    }
    
    .listing-preview-content {
        flex-direction: column;
    }
    
    .listing-preview-image {
        width: 100%;
        height: 120px;
    }
    
    .package-description {
        padding-left: 0;
    }
    
    .order-summary {
        width: 100%;
        position: static;
    }
}

/* PROMOTE LISTING PAGE - New Card-based Design */
/* Higher specificity to override noiz2 template global checkbox styles */
.promote-listing-page .listing-preview-box {
    margin-bottom: 28px;
}

.promote-listing-page .promote-section {
    margin-bottom: 28px;
}

.promote-listing-page .promote-section-header {
    margin-bottom: 16px;
}

.promote-listing-page .promote-section-title-icon {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.promote-listing-page .section-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promote-listing-page .section-icon--featured {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
}

.promote-listing-page .section-icon--highlight {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: #fff;
}

.promote-listing-page .section-icon--bumpup {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
}

.promote-listing-page .section-icon svg {
    width: 18px;
    height: 18px;
}

.promote-listing-page .promote-section-desc {
    color: #6b7280;
    font-size: 13px;
    margin: 0;
    padding-left: 46px;
}

.badge-auto {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Selectable Plan Cards - Higher specificity to override noiz2 global checkbox styles */
.promote-listing-page .plan-card-selectable {
    display: block;
    cursor: pointer;
    margin-bottom: 12px;
    position: relative;
}

.promote-listing-page .plan-card-selectable input[type="checkbox"],
.promote-listing-page .plan-card-selectable input[type="checkbox"].plan-checkbox {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0 !important;
}

.promote-listing-page .plan-card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    transition: all 0.2s ease;
}

.promote-listing-page .plan-card-selectable:hover .plan-card-inner {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.promote-listing-page .plan-card-selectable input[type="checkbox"]:checked + .plan-card-inner {
    border-color: #3b82f6;
    background: linear-gradient(to right, #eff6ff, #fff);
}

.promote-listing-page .plan-card-selectable input[type="checkbox"][data-type="featured"]:checked + .plan-card-inner {
    border-color: #f59e0b;
    background: linear-gradient(to right, #fffbeb, #fff);
}

.promote-listing-page .plan-card-selectable input[type="checkbox"][data-type="highlight"]:checked + .plan-card-inner {
    border-color: #eab308;
    background: linear-gradient(to right, #fefce8, #fff);
}

.promote-listing-page .plan-card-selectable input[type="checkbox"][data-type="bumpup"]:checked + .plan-card-inner {
    border-color: #22c55e;
    background: linear-gradient(to right, #f0fdf4, #fff);
}

.promote-listing-page .plan-card-selectable.has-credits .plan-card-inner {
    border-color: #10b981;
    background: linear-gradient(to right, #f0fdf4, #fff);
}

.promote-listing-page .plan-card-selectable.active-subscription .plan-card-inner {
    border-color: #10b981;
    background: linear-gradient(to right, #f0fdf4, #fff);
    opacity: 0.8;
}

.promote-listing-page .plan-card-selectable.active-subscription {
    cursor: default;
}

.promote-listing-page .plan-card-selectable.disabled-subscription .plan-card-inner {
    opacity: 0.45;
    pointer-events: none;
}

.promote-listing-page .plan-card-selectable.disabled-subscription {
    cursor: not-allowed;
}

.promote-listing-page .plan-card-inner .plan-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.promote-listing-page .plan-card-inner .plan-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promote-listing-page .plan-card-inner .plan-icon.featured {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

.promote-listing-page .plan-card-inner .plan-icon.highlight {
    background: linear-gradient(135deg, #fef9c3 0%, #fde68a 100%);
    color: #a16207;
}

.promote-listing-page .plan-card-inner .plan-icon.auto {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
}

.promote-listing-page .plan-card-inner .plan-icon svg {
    width: 18px;
    height: 18px;
}

.promote-listing-page .plan-card-inner .plan-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.promote-listing-page .plan-card-inner .plan-price .amount {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.promote-listing-page .plan-card-inner .plan-price .subscribed {
    font-size: 13px;
    font-weight: 600;
    color: #059669;
}

.promote-listing-page .plan-checkbox-indicator {
    width: 24px;
    height: 24px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #fff;
    flex-shrink: 0;
}

.promote-listing-page .plan-checkbox-indicator svg {
    width: 14px;
    height: 14px;
    color: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.15s ease;
}

.promote-listing-page .plan-card-selectable input[type="checkbox"]:checked + .plan-card-inner .plan-checkbox-indicator {
    background: #3b82f6;
    border-color: #3b82f6;
}

.promote-listing-page .plan-card-selectable input[type="checkbox"][data-type="featured"]:checked + .plan-card-inner .plan-checkbox-indicator {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-color: #d97706;
}

.promote-listing-page .plan-card-selectable input[type="checkbox"][data-type="highlight"]:checked + .plan-card-inner .plan-checkbox-indicator {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    border-color: #ca8a04;
}

.promote-listing-page .plan-card-selectable input[type="checkbox"][data-type="bumpup"]:checked + .plan-card-inner .plan-checkbox-indicator {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-color: #16a34a;
}

.promote-listing-page .plan-card-selectable input[type="checkbox"]:checked + .plan-card-inner .plan-checkbox-indicator svg {
    opacity: 1;
    transform: scale(1);
}

.promote-listing-page .policy-notice {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    margin-top: 8px;
}

/* Plan details and features */
.promote-listing-page .plan-details {
    flex: 1;
    min-width: 0;
}

.promote-listing-page .plan-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.promote-listing-page .plan-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.promote-listing-page .plan-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.promote-listing-page .plan-badge.active {
    background: #d1fae5;
    color: #059669;
}

.promote-listing-page .plan-badge.days {
    background: #dbeafe;
    color: #2563eb;
}

.promote-listing-page .plan-desc {
    font-size: 12px;
    color: #6b7280;
    margin: 0 0 6px 0;
}

.promote-listing-page .plan-features {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.promote-listing-page .plan-feat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #6b7280;
}

.promote-listing-page .plan-feat svg {
    width: 14px;
    height: 14px;
    color: #9ca3af;
}

.promote-listing-page .plan-price .free {
    font-size: 14px;
    font-weight: 600;
    color: #10b981;
}

.promote-listing-page .plan-price .period {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
}

.promote-listing-page .plan-check {
    width: 24px;
    height: 24px;
    color: #10b981;
}

.promote-listing-page .plan-check svg {
    width: 24px;
    height: 24px;
}

/* Mobile responsive for promote listing */
@media (max-width: 640px) {
    .promote-listing-page .promote-section-title-icon {
        font-size: 14px;
    }
    
    .promote-listing-page .section-icon {
        width: 32px;
        height: 32px;
    }
    
    .promote-listing-page .section-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .promote-listing-page .promote-section-desc {
        padding-left: 42px;
        font-size: 12px;
    }
    
    .promote-listing-page .plan-card-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }
    
    .promote-listing-page .plan-card-inner .plan-right {
        width: 100%;
        justify-content: space-between;
        padding-top: 12px;
        border-top: 1px solid #f3f4f6;
    }
    
    .promote-listing-page .plan-card-inner .plan-features {
        gap: 8px;
    }
    
    .promote-listing-page .plan-card-inner .plan-feat {
        font-size: 11px;
    }
}

/* Promote Step (Add Listing flow) */

.promote-step-page .standard-plan-card .plan-card-inner {
    opacity: 1;
    border-color: transparent;
}

.promote-step-page .standard-plan-card .plan-icon.standard {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.promote-step-page .standard-plan-card .plan-check.standard-check {
    color: #10b981;
    display: flex;
}

.promote-step-page .standard-plan-card .plan-badge.included {
    background: #d1fae5;
    color: #065f46;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promote-step-page .section-icon--standard {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promote-step-page .promote-submit-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.promote-step-page .promote-submit-btn.has-paid {
    background: #111827;
}

.promote-step-page .promote-submit-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.promote-step-page .promote-submit-btn.has-paid:hover {
    background: #1f2937;
}

.dark-mode .promote-step-page .standard-plan-card {
    border-color: #065f46;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
}

.dark-mode .promote-step-page .standard-plan-card .plan-badge.included {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.dark-mode .promote-step-page .section-icon--standard {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}
