/* Brand Discount Styles */

.vs-discount-offer {
    color: #10b981;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    display: inline-block;
}

.vs-preview-section .vs-discount-offer {
    margin: 8px 0px;
}

.vs-voucher-item-card .vs-discount-offer {
    margin: 0px !important;
}

/* Preview Card - Exact Image Match */
.vs-voucher-preview-new {
    margin-top: 24px;
}

.vs-preview-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.vs-preview-logo {
    width: 144px;
    height: 144px;
    background: #1f2937;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vs-preview-logo img {
    max-width: 110px;
    max-height: 110px;
    object-fit: contain;
}

.vs-preview-content {
    flex: 1;
    padding-top: 4px;
}

.vs-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.vs-preview-header h4 {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.vs-preview-status {
    background: #dbeafe;
    color: #2563eb;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.vs-preview-amount {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
    line-height: 1;
}

.vs-preview-validity {
    font-size: 15px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.vs-preview-footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vs-preview-terms {
    background: #fef3c7;
    color: #92400e;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.vs-preview-discount {
    color: #065f46;
    font-size: 15px;
    font-weight: 600;
}

#preview_discount {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .vs-preview-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .vs-preview-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .vs-preview-footer {
        flex-direction: column;
        gap: 8px;
    }
}
