/* ============================================
   Currency Display Enhancements - تحسينات عرض العملة
   ============================================ */

/* Shekel Symbol Styling - تنسيق رمز الشيكل */
.shekel-sign {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--accent, #ffc107);
}

/* Price Display with Currency */
.price-with-currency {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
}

.price-amount-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary, #0066cc);
}

.price-currency-symbol {
    font-size: 1.2rem;
    color: var(--accent, #ffc107);
    font-weight: 700;
}

/* Admin Dashboard Currency */
.admin-price {
    font-weight: 700;
    color: var(--primary, #0066cc);
}

.admin-price::after {
    content: ' ₪';
    color: var(--accent, #ffc107);
    font-weight: 700;
    margin-right: 0.25rem;
}

/* Product Card Pricing */
.product-price-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.old-price-display {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.old-price-display::after {
    content: ' ₪';
    margin-right: 0.1rem;
}

/* New Price Display */
.new-price-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary, #0066cc);
}

.new-price-display::after {
    content: ' ₪';
    color: var(--accent, #ffc107);
    margin-right: 0.1rem;
    font-size: 1.3rem;
}

/* Badge Currency */
.badge-price {
    background: var(--accent, #ffc107);
    color: #333;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
}

.badge-price::before {
    content: '₪ ';
}

/* Stats Display Currency */
.stat-amount {
    font-weight: 700;
    color: var(--primary, #0066cc);
    font-size: 2rem;
}

.stat-amount::after {
    content: ' ₪';
    color: var(--accent, #ffc107);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Table Cell Currency */
td.price-cell,
th.price-cell {
    text-align: center;
    font-weight: 600;
}

td.price-cell::after {
    content: ' ₪';
    color: var(--accent, #ffc107);
    font-weight: 700;
}

/* Tooltip Price */
.price-tooltip {
    background: var(--bg-light, #f1f5f9);
    border: 1px solid var(--border-color, #e2e8f0);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.price-tooltip::before {
    content: '💰 ';
}

.price-tooltip::after {
    content: ' ₪';
    color: var(--accent, #ffc107);
    font-weight: 700;
}

/* Cart Total */
.cart-total-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary, #0066cc);
    letter-spacing: -0.02em;
}

.cart-total-price::after {
    content: ' ₪';
    color: var(--accent, #ffc107);
    font-size: 1.75rem;
}

/* Discount Badge */
.discount-price {
    background: linear-gradient(135deg, var(--accent, #ffc107), #ffb300);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
}

.discount-price::after {
    content: ' ₪';
    margin-right: 0.25rem;
}

/* Animated Currency Transition */
@keyframes currency-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.currency-updated {
    animation: currency-pulse 0.5s ease-in-out;
}

/* Responsive Currency Sizing */
@media (max-width: 768px) {
    .price-amount-display {
        font-size: 1.25rem;
    }

    .price-currency-symbol {
        font-size: 1rem;
    }

    .new-price-display {
        font-size: 1.25rem;
    }

    .stat-amount {
        font-size: 1.5rem;
    }

    .cart-total-price {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .price-amount-display {
        font-size: 1rem;
    }

    .new-price-display {
        font-size: 1rem;
    }

    .stat-amount {
        font-size: 1.25rem;
    }

    .cart-total-price {
        font-size: 1.5rem;
    }
}
