/* ================================================
   LISTING SIDEBAR - Pricing & Contact System
   ================================================ */

/* Sticky Sidebar with Animation */
.sidebar_listing_list {
    position: sticky;
    top: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.sidebar_listing_list.is-sticky {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Smooth animation on scroll */
@media (min-width: 992px) {
    .sidebar_listing_list {
        animation: fadeInDown 0.5s ease-out;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pricing Card */
.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 90, 95, 0.05) 0%,
        rgba(255, 90, 95, 0.01) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(255, 90, 95, 0.15);
    border-color: rgba(255, 90, 95, 0.2);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card__header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(
        135deg,
        rgba(255, 90, 95, 0.1) 0%,
        rgba(255, 90, 95, 0.05) 100%
    );
    color: #ff5a5f;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.pricing-card__badge svg {
    width: 16px;
    height: 16px;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 32px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
}

.price-period {
    font-size: 18px;
    color: #6b7280;
    font-weight: 500;
}

.pricing-card__subtitle {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.pricing-card__divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 0, 0, 0.1),
        transparent
    );
    margin: 24px 0;
}

/* Pricing Options */
.pricing-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.pricing-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pricing-option::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 90, 95, 0.05) 0%,
        rgba(255, 90, 95, 0.01) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-option:hover {
    border-color: #ff5a5f;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 90, 95, 0.12);
}

.pricing-option:hover::before {
    opacity: 1;
}

.pricing-option__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff5a5f 0%, #ff4449 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.pricing-option:hover .pricing-option__icon {
    transform: scale(1.1) rotate(5deg);
}

.pricing-option__content {
    flex: 1;
}

.pricing-option__content h6 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}

.pricing-option__content .price-value {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
}

.pricing-option--full {
    cursor: default;
}

.pricing-option--full:hover {
    transform: none;
}

/* Pricing Features */
.pricing-features {
    margin-bottom: 24px;
}

.pricing-features__title {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-features__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    font-size: 14px;
}

.pricing-features__list li svg {
    flex-shrink: 0;
    color: #16a34a;
}

/* CTA Buttons */
.pricing-card__cta {
    margin-top: 24px;
}

.btn-unlock {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #ff5a5f 0%, #ff4449 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(255, 90, 95, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-unlock::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-unlock:hover::before {
    left: 100%;
}

.btn-unlock:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 90, 95, 0.35);
}

.btn-unlock svg {
    flex-shrink: 0;
}

.unlock-info {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin-top: 12px;
    margin-bottom: 0;
}

.btn-primary-action {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary-action::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary-action:hover::before {
    left: 100%;
}

.btn-primary-action:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.35);
}

/* Contact Unlocked Styles */
.contact-unlocked {
    margin-top: 24px;
}

.unlocked-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 8px;
    margin-bottom: 16px;
}

.unlocked-badge svg {
    color: #16a34a;
    flex-shrink: 0;
}

.unlocked-badge span {
    font-weight: 600;
    color: #166534;
    font-size: 14px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-icon svg {
    color: #5867dd;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.contact-value {
    font-size: 15px;
    color: #1a2332;
    font-weight: 600;
}

.contact-link {
    color: #5867dd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #3d4fb8;
    text-decoration: underline;
}

/* Owner Info Box */
.owner-info-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    border-radius: 12px;
    border: 1px solid #c7d2fe;
    margin-top: 24px;
}

.owner-info-box svg {
    color: #5867dd;
    flex-shrink: 0;
}

.owner-info-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 4px;
}

.owner-info-box p {
    font-size: 14px;
    color: #1e40af;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar_listing_list {
        position: static;
        margin-bottom: 24px;
    }

    .pricing-card {
        padding: 20px;
    }
}
