/**
 * Cashback Display Styles
 *
 * Custom styles for displaying cashback information on product pages and cart
 * @package    WHMCS Venocix Theme
 * @author     Venocix
 */

/* ===================================================================
   Cashback Banner Styles
   =================================================================== */
.colo-header.cashback-header {
    padding-bottom: 20px;
}

.colo-header.cashback-header .colo-image {
    border-radius: 10px;
    padding: 56px;
    background-size: cover;
}

.colo-header.cashback-header .colo-banner-text h1,
.colo-header.cashback-header .colo-banner-text h3 {
    padding: 0;
    margin: 0;
}

/* ===================================================================
   Cashback Label - Shopping Cart & Product List
   =================================================================== */

.cashback-label-container {
    margin-top: 8px;
    margin-bottom: 4px;
}

.cashback-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    background-color: #28a745;
    color: #fff;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cashback-label:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.cashback-label i {
    margin-right: 6px;
    font-size: 14px;
}

/* Product list specific styling */
.offer .cashback-label-container {
    margin-top: 12px;
    margin-bottom: 8px;
}

.offer .cashback-label {
    font-size: 12px;
    padding: 5px 10px;
}

/* ===================================================================
   Responsive Design
   =================================================================== */

/* Tablet and smaller devices */
@media (max-width: 768px) {
    .cashback-label {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* ===================================================================
   Dark Theme Support
   =================================================================== */

@media (prefers-color-scheme: dark) {
    .cashback-label {
        background-color: #2d8f47;
    }

    .cashback-label:hover {
        background-color: #256f38;
    }
}

/* ===================================================================
   Print Styles
   =================================================================== */

@media print {
    .cashback-label {
        background: #28a745 !important;
        color: #fff !important;
        box-shadow: none !important;
    }
}
