/* ================================================
   MEMBERSHIP BADGES - Custom Styles
   ================================================ */

/* Membership badge base styles */
.membership-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.membership-badge i {
    margin-right: 5px;
}

/* Platinum membership */
.membership-platinum {
    background: linear-gradient(135deg, #e5e5e5 0%, #a8a8a8 100%);
    color: #333;
    border: 1px solid #c0c0c0;
}

.text-platinum {
    color: #a8a8a8 !important;
}

/* Gold membership */
.membership-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #5c4300;
    border: 1px solid #e6c200;
}

.text-gold {
    color: #ffaa00 !important;
}

/* Silver membership */
.membership-silver {
    background: linear-gradient(135deg, #f5f5f5 0%, #d0d0d0 100%);
    color: #555;
    border: 1px solid #c0c0c0;
}

.text-silver {
    color: #a0a0a0 !important;
}

/* ================================================
   INLINE INVOICE DISCOUNTS - Custom Styles
   ================================================ */

/* Discount column styling */
.bill_col_discount {
    min-width: 150px;
}

.bill_col_discount .input-group-append {
    width: 60px;
}

.bill_col_discount .js_item_discount_type {
    font-size: 12px;
    padding: 0.25rem;
}

/* Hide discount column when needed */
.bill_col_discount.hidden {
    display: none !important;
}

/* Disabled button styling */
button.disabled,
a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
