.loopword-order-summary {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-family: inherit;
}

.order-summary-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.order-summary-details {
    margin-bottom: 15px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
}

.total-amount {
    font-size: 22px;
    color: #DEB64B;
    font-weight: bold;
}

.license-count,
.license-name {
    font-size: 22px;
    font-weight: 700;
    color: #DEB64B;
}

/* Plan summary info styling */
.plan-summary-info {
    margin: 15px 0;
    padding: 12px;
    background: #f0f8ff;
    border-left: 4px solid #DEB64B;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #2c3e50;
    display: none; /* Hidden by default, shown by JS when content exists */
}

.plan-summary-info.has-content {
    display: block;
}

/* Template content styling */
.order-template-content {
    margin-top: 15px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.order-template-content p {
    margin: 0 0 10px 0;
}

.order-template-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .loopword-order-summary {
        padding: 15px;
        margin: 15px 0;
    }
    
    .order-item,
    .order-total {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .plan-summary-info,
    .order-template-content {
        padding: 12px;
        font-size: 13px;
    }
}
