/* ================================================
   GLOBAL DISCOUNT STYLES
   ================================================ */

/* Discount Tag - General Style */
.discount-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    margin-bottom: 6px;
    animation: pulseTag 2s infinite;
    position: relative;
    top: -2px;
}

@keyframes pulseTag {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Price Wrapper to align original and new price in cards */
.price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Original Price (Strikethrough) */
.price-original {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.9em;
    margin-bottom: 2px;
    font-weight: 500;
    opacity: 0.8;
}

/* Webinar Specific Discount Styles */
.webinar-discount-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 12px;
}

.webinar-discount-tag {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
    margin-bottom: 4px;
    animation: pulseTag 2s infinite;
}

.webinar-discount-wrapper .price-original {
    font-size: 1.1rem;
    color: #cbd5e1; /* Lighter for webinar dark/blue bg contrast if needed, or stick to standard */
}

/* Path Selection Specific Discount Tag */
.ps-discount-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
    letter-spacing: 0.5px;
}

/* Adjustments for Price Display in Cards */
.price-display {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.price-display .price-original {
    font-size: 1rem;
    color: #ef4444; /* Reddish strikethrough for visibility */
    opacity: 0.7;
}

/* Dark Mode Support for Discounts */
[data-theme="dark"] .price-original {
    color: #9ca3af;
}

[data-theme="dark"] .price-display .price-original {
    color: #f87171; /* Lighter red for dark mode */
}
