/* ========================================
   MODERN CHAT VIEW
   Chat ordine modernizzata
   ======================================== */

/* Header chat moderna */
.modern-chat-header {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(141, 63, 242, 0.08),
                0 1px 4px rgba(141, 63, 242, 0.04);
    border: 1px solid #f3e8ff;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.modern-chat-header:hover {
    box-shadow: 0 4px 16px rgba(141, 63, 242, 0.12),
                0 2px 8px rgba(141, 63, 242, 0.06);
}

/* Immagine ordine */
.chat-order-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.chat-order-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-order-image:hover img {
    transform: scale(1.05);
}

/* Info ordine */
.chat-order-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-order-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.chat-brand-name {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
    display: block;
    margin-bottom: 16px;
}

/* Badge info ordine */
.orderPriceRow {
    margin-top: 16px;
    gap: 16px;
    flex-wrap: wrap;
}

.priceLeftBox {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.priceLeftBox span,
.priceRightBox span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    transition: all 0.3s ease;
}

.priceLeftBox span:hover,
.priceRightBox span:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.priceLeftBox span svg,
.priceRightBox span svg {
    flex-shrink: 0;
}

.priceRightBox span svg path {
    fill: #1f2937;
}

/* Responsive */
@media (max-width: 768px) {
    .modern-chat-header {
        padding: 20px;
        border-radius: 16px;
    }

    .chat-order-title {
        font-size: 24px;
    }

    .chat-brand-name {
        font-size: 14px;
    }

    .chat-order-image {
        margin-bottom: 16px;
    }

    .orderPriceRow {
        flex-direction: column;
        gap: 12px;
    }

    .priceLeftBox,
    .priceRightBox {
        width: 100%;
    }

    .priceLeftBox span,
    .priceRightBox span {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .modern-chat-header {
        padding: 16px;
    }

    .chat-order-title {
        font-size: 20px;
    }

    .priceLeftBox span,
    .priceRightBox span {
        font-size: 13px;
        padding: 8px 12px;
    }
}
