/* 
 * WLP Frontend Styles - Dog Theme Redesign
 * ===================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* CSS Variables - Dog Theme Palette */
:root {
    /* Brand Colors */
    --wlp-primary: #5d4037;
    /* Deep Earthy Brown */
    --wlp-primary-hover: #4e342e;
    --wlp-primary-light: #efebe9;
    /* Very light brown background */

    --wlp-accent: #ff7043;
    /* Vibrant Orange Treat */
    --wlp-accent-hover: #f4511e;
    --wlp-accent-light: #ffede7;

    --wlp-secondary-color: #8d6e63;
    /* Light Brown/Taupe */

    /* Functional Colors */
    --wlp-success: #10b981;
    --wlp-success-bg: #d1fae5;
    --wlp-success-text: #065f46;

    --wlp-warning: #f59e0b;
    --wlp-warning-bg: #fef3c7;
    --wlp-warning-text: #92400e;

    --wlp-error: #ef4444;
    --wlp-error-bg: #fee2e2;
    --wlp-error-text: #b91c1c;

    /* Neutrals */
    --wlp-white: #ffffff;
    --wlp-gray-50: #faf8f5;
    --wlp-gray-100: #f5f2eb;
    --wlp-gray-200: #e8e3d9;
    --wlp-gray-300: #d6cfc1;
    --wlp-gray-500: #8a8275;
    --wlp-gray-700: #575248;
    --wlp-gray-900: #2b2823;

    /* UI Elements - Organic Paws */
    --wlp-radius: 24px;
    --wlp-radius-sm: 16px;
    --wlp-shadow-sm: 0 4px 6px -1px rgba(93, 64, 55, 0.05);
    --wlp-shadow: 0 8px 15px -3px rgba(93, 64, 55, 0.1), 0 4px 6px -2px rgba(93, 64, 55, 0.05);
    --wlp-shadow-lg: 0 16px 24px -5px rgba(93, 64, 55, 0.15), 0 8px 10px -4px rgba(93, 64, 55, 0.08);
    --wlp-transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/*
 * ===================================================================
 * Product Page: Points + Sales Info
 * ===================================================================
 */

.wlp-product-points-sales {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 10px auto;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.wlp-product-points-sales .wlp-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--wlp-radius-sm);
    border: 1px solid var(--wlp-gray-200);
    background: var(--wlp-gray-50);
    color: var(--wlp-gray-700);
    font-size: 14px;
    line-height: 1.2;
}

.wlp-product-points-sales .wlp-info-icon {
    color: var(--wlp-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 16px;
}

/* Dashicons rendering safety */
.wlp-product-points-sales .wlp-info-icon.dashicons {
    display: inline-block;
    width: 20px;
    height: 20px;
}

.wlp-product-points-sales .wlp-info-icon.dashicons::before {
    font-size: 16px;
    line-height: 20px;
}

.wlp-product-points-sales .wlp-info-text {
    font-weight: 600;
}

/* Requested styling overrides */
.wlp-product-points-sales .wlp-info-item.wlp-earn-on-product {
    color: var(--wlp-accent);
    border: 1px solid var(--wlp-accent);
    margin-bottom: 0;
}

.wlp-product-points-sales .wlp-info-item.wlp-earn-on-product .wlp-info-icon {
    color: var(--wlp-accent);
}

.wlp-product-points-sales .wlp-info-item.wlp-sales-counter {
    color: var(--wlp-accent);
    border: 1px solid var(--wlp-accent);
    margin-bottom: 0;
}

.wlp-product-points-sales .wlp-info-item.wlp-sales-counter .wlp-info-icon {
    color: var(--wlp-accent);
}

/* Zero Points Style */
.wlp-product-points-sales .wlp-info-item.wlp-no-points {
    color: var(--wlp-gray-500);
    border: 1px solid var(--wlp-gray-300);
    background: var(--wlp-gray-100);
}

.wlp-product-points-sales .wlp-info-item.wlp-no-points .wlp-info-text {
    opacity: 0.8;
}

/* Tighter spacing inside WooCommerce product grids/cards */
.woocommerce ul.products li.product .wlp-product-points-sales {
    margin: 8px 0 0;
}

.woocommerce ul.products li.product .wlp-product-points-sales .wlp-info-item {
    font-size: 12px;
    padding: 6px 8px;
}

/*
 * ===================================================================
 * Points Earned Popup
 * ===================================================================
 */

.wlp-points-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 99999;
}

.wlp-points-popup {
    width: min(520px, 100%);
    background: var(--wlp-white);
    border-radius: var(--wlp-radius);
    box-shadow: var(--wlp-shadow-lg);
    border: 1px solid var(--wlp-gray-200);
    padding: 18px 18px 16px;
    position: relative;
}

.wlp-points-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: var(--wlp-radius-sm);
    border: 1px solid var(--wlp-gray-200);
    background: var(--wlp-gray-50);
    color: var(--wlp-gray-700);
    font-size: 20px;
    line-height: 30px;
    cursor: pointer;
}

.wlp-points-popup-title {
    font-weight: 800;
    color: var(--wlp-gray-900);
    font-size: 18px;
    margin-bottom: 8px;
}

.wlp-points-popup-message {
    color: var(--wlp-gray-700);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.wlp-points-popup-ok {
    border: 1px solid var(--wlp-primary);
    background: var(--wlp-primary);
    color: var(--wlp-white);
    border-radius: var(--wlp-radius-sm);
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

/*
 * ===================================================================
 * Layout & Grid
 * ===================================================================
 */

.wlp-my-account-points {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "header"
        "sidebar"
        "main";
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    font-family: inherit;
    color: var(--wlp-gray-700);
}

/* WooCommerce My Account: adapt to theme/container */
.woocommerce-account .woocommerce-MyAccount-content .wlp-my-account-points {
    max-width: none;
    margin: 0;
    color: inherit;
}

.wlp-points-header {
    grid-area: header;
}

.wlp-points-history {
    grid-area: main;
}

.wlp-sidebar {
    grid-area: sidebar;
}

.wlp-no-points-message {
    grid-area: main;
}

/*
 * ===================================================================
 * Header Section
 * ===================================================================
 */

.wlp-points-header {
    background: var(--wlp-white);
    border-radius: var(--wlp-radius);
    padding: 30px;
    box-shadow: var(--wlp-shadow);
    border: 1px solid var(--wlp-gray-100);
    position: relative;
    overflow: hidden;
}

/* Decorative top bar */
.wlp-points-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wlp-primary), var(--wlp-secondary-color));
}

.wlp-points-title {
    margin: 0 0 10px 0;
    color: var(--wlp-gray-900);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.wlp-points-subtitle {
    margin: 0 0 25px 0;
    color: var(--wlp-gray-500);
    font-size: 16px;
    line-height: 1.5;
}

.wlp-header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--wlp-gray-200);
}

/*
 * ===================================================================
 * Summary Cards
 * ===================================================================
 */

.wlp-points-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.wlp-points-card {
    background: var(--wlp-white);
    border: 1px solid var(--wlp-gray-200);
    border-radius: var(--wlp-radius);
    padding: 25px 20px;
    text-align: center;
    transition: var(--wlp-transition);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wlp-points-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wlp-shadow-lg);
    border-color: var(--wlp-primary-light);
}

.wlp-points-icon {
    font-size: 24px;
    margin-bottom: 15px;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--wlp-gray-50);
    color: var(--wlp-gray-500);
    transition: var(--wlp-transition);
}

.wlp-points-card:hover .wlp-points-icon {
    transform: scale(1.1);
}

/* Card Variants */
.wlp-points-card.wlp-available .wlp-points-icon {
    background: var(--wlp-primary-light);
    color: var(--wlp-primary);
}

.wlp-points-card.wlp-available {
    border-bottom: 4px solid var(--wlp-primary);
}

.wlp-points-card.wlp-used .wlp-points-icon {
    background: var(--wlp-warning-bg);
    color: var(--wlp-warning-text);
}

.wlp-points-card.wlp-donated .wlp-points-icon {
    background: #f3e8ff;
    color: #7e22ce;
}

.wlp-points-card .wlp-points-info h3 {
    font-size: 32px;
    margin: 0;
    color: var(--wlp-gray-900);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.wlp-points-card .wlp-points-info p {
    margin: 8px 0 0 0;
    font-weight: 600;
    color: var(--wlp-gray-500);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wlp-points-card .wlp-points-info small {
    font-size: 13px;
    color: var(--wlp-accent);
    font-weight: 600;
    display: block;
    margin-top: 6px;
    background: var(--wlp-accent-light);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

/*
 * ===================================================================
 * Sidebar & Widgets
 * ===================================================================
 */

.wlp-redemption-info,
.wlp-earn-percent-info,
.wlp-dashboard-points-widget,
.wlp-no-points-message {
    background: var(--wlp-white);
    border: 1px solid var(--wlp-gray-200);
    border-radius: var(--wlp-radius);
    padding: 25px;
    box-shadow: var(--wlp-shadow-sm);
    margin-bottom: 25px;
}

.wlp-redemption-info h3,
.wlp-earn-percent-info h3,
.wlp-dashboard-points-widget h3 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--wlp-gray-100);
    color: var(--wlp-gray-900);
    font-size: 18px;
    font-weight: 700;
}

/* Progress Bar */
.wlp-progress {
    height: 8px;
    background: var(--wlp-gray-100);
    border-radius: 99px;
    overflow: hidden;
    margin: 15px 0 8px;
}

.wlp-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--wlp-secondary-color), var(--wlp-primary));
    border-radius: 99px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.wlp-progress-success .wlp-progress-bar {
    background: linear-gradient(90deg, #34d399, #10b981);
}

.wlp-progress-label {
    font-size: 12px;
    color: var(--wlp-gray-500);
    text-align: right;
    font-weight: 500;
}

/* Earning Rules List */
.wlp-earning-rules ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wlp-earning-rules li {
    padding: 12px 15px;
    margin-bottom: 10px;
    background: var(--wlp-gray-50);
    border-radius: var(--wlp-radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--wlp-gray-700);
    border: 1px solid transparent;
    transition: var(--wlp-transition);
}

.wlp-earning-rules li:hover {
    background: var(--wlp-white);
    border-color: var(--wlp-gray-200);
    box-shadow: var(--wlp-shadow-sm);
}

.wlp-earning-rules .dashicons {
    color: var(--wlp-primary);
    background: var(--wlp-primary-light);
    padding: 6px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/*
 * ===================================================================
 * History Table
 * ===================================================================
 */

.wlp-history-table-container {
    background: var(--wlp-white);
    border: 1px solid var(--wlp-gray-200);
    border-radius: var(--wlp-radius);
    padding: 0;
    /* Padding handled by table */
    box-shadow: var(--wlp-shadow-sm);
    overflow: hidden;
}

.wlp-history-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.wlp-history-table th {
    background: var(--wlp-gray-50);
    padding: 18px 24px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: var(--wlp-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--wlp-gray-200);
}

.wlp-history-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--wlp-gray-100);
    color: var(--wlp-gray-700);
    font-size: 14px;
}

.wlp-history-table tr:last-child td {
    border-bottom: none;
}

.wlp-history-table tbody tr:hover {
    background-color: var(--wlp-gray-50);
}

/* Badges */
.wlp-points-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.wlp-points-badge.wlp-positive {
    background: var(--wlp-success-bg);
    color: var(--wlp-success-text);
}

.wlp-points-badge.wlp-negative {
    background: var(--wlp-error-bg);
    color: var(--wlp-error-text);
}

.wlp-transaction-type {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.wlp-transaction-type.wlp-type-earned {
    background: var(--wlp-success-bg);
    color: var(--wlp-success-text);
}

.wlp-transaction-type.wlp-type-redeemed {
    background: var(--wlp-warning-bg);
    color: var(--wlp-warning-text);
}

.wlp-transaction-type.wlp-type-donation {
    background: #f3e8ff;
    color: #7e22ce;
}

/*
 * ===================================================================
 * Buttons
 * ===================================================================
 */

.wlp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--wlp-radius-sm);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--wlp-transition);
    border: 1px solid transparent;
    line-height: 1.4;
}

.wlp-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--wlp-shadow);
    text-decoration: none;
}

.wlp-btn:active {
    transform: translateY(0);
}

/* Primary Button */

.wlp-btn-primary {
    background: var(--wlp-accent) !important;
    color: #ffffff !important;
    border-color: var(--wlp-accent) !important;
}

.wlp-btn-primary:hover {
    background: var(--wlp-accent-hover) !important;
    color: #ffffff !important;
}

/* Secondary Button */
.wlp-btn-secondary {
    background: var(--wlp-white);
    color: var(--wlp-gray-700) !important;
    border-color: var(--wlp-gray-300);
}

.wlp-btn-secondary:hover {
    border-color: var(--wlp-gray-500);
    background: var(--wlp-gray-50);
    color: var(--wlp-gray-900) !important;
}

/* Outline Button */
.wlp-btn-outline {
    background: transparent;
    color: var(--wlp-primary);
    border-color: var(--wlp-primary);
}

.wlp-btn-outline:hover {
    background: var(--wlp-primary-light);
    color: var(--wlp-primary-hover);
}

/* Share Buttons */
.wlp-share,
.wlp-copy-link {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wlp-white);
    border: 1px solid var(--wlp-gray-300);
    color: var(--wlp-gray-500);
    transition: var(--wlp-transition);
}

.wlp-share:hover,
.wlp-copy-link:hover {
    background: var(--wlp-gray-50);
    color: var(--wlp-primary);
    border-color: var(--wlp-primary);
    transform: translateY(-2px);
}

/*
 * ===================================================================
 * Modal
 * ===================================================================
 */

.wlp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.7);
    /* Darker backdrop */
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    animation: wlp-fade-in 0.2s forwards;
}

.wlp-modal {
    background: var(--wlp-white);
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.95);
    opacity: 0;
    animation: wlp-scale-in 0.3s 0.1s forwards cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

@keyframes wlp-fade-in {
    to {
        opacity: 1;
    }
}

@keyframes wlp-scale-in {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.wlp-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--wlp-gray-300);
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.wlp-modal-close:hover {
    color: var(--wlp-gray-700);
}

.wlp-modal h3 {
    margin-top: 0;
    color: var(--wlp-gray-900);
    font-size: 22px;
    text-align: center;
}

.wlp-modal p {
    color: var(--wlp-gray-500);
    text-align: center;
    margin-bottom: 20px;
}

.wlp-modal-donation-input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--wlp-gray-200);
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    transition: var(--wlp-transition);
}

.wlp-modal-donation-input:focus {
    border-color: var(--wlp-primary);
    outline: none;
}

.wlp-modal-actions {
    display: flex;
    gap: 10px;
}

.wlp-modal-actions button {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--wlp-transition);
}

.wlp-donation-modal-confirm {
    background: var(--wlp-primary);
    color: white;
}

.wlp-donation-modal-confirm:hover {
    background: var(--wlp-primary-hover);
}

.wlp-donation-modal-cancel {
    background: var(--wlp-gray-100);
    color: var(--wlp-gray-700);
}

.wlp-donation-modal-cancel:hover {
    background: var(--wlp-gray-200);
}

.wlp-donation-feedback {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
}

/*
 * ===================================================================
 * Responsive
 * ===================================================================
 */

@media (max-width: 960px) {
    .wlp-my-account-points {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "sidebar"
            "main";
    }
}

@media (max-width: 600px) {
    .wlp-points-header {
        padding: 20px;
    }

    .wlp-points-title {
        font-size: 24px;
    }

    .wlp-header-actions {
        flex-direction: column;
    }

    .wlp-btn {
        width: 100%;
    }

    .wlp-history-table thead {
        display: none;
    }

    .wlp-history-table tr {
        display: block;
        border: 1px solid var(--wlp-gray-200);
        margin-bottom: 15px;
        border-radius: 8px;
        padding: 15px;
    }

    .wlp-history-table td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border: none;
        font-size: 13px;
    }

    .wlp-history-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--wlp-gray-500);
    }
}

/*
 * ===================================================================
 * Restrictions & Category Progress
 * ===================================================================
 */
.wlp-restrictions-wrapper {
    background: var(--wlp-white);
    border: 1px solid var(--wlp-gray-200);
    border-radius: var(--wlp-radius);
    padding: 25px;
    box-shadow: var(--wlp-shadow-sm);
    position: relative;
    overflow: hidden;
}

/* Optional accent for category box */
#wlp-category-progress.wlp-restrictions-wrapper {
    border-left: 4px solid var(--wlp-primary);
}

.wlp-restrictions-header {
    font-size: 16px;
    font-weight: 700;
    color: var(--wlp-gray-900);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wlp-category-current-name {
    background: var(--wlp-primary-light);
    color: var(--wlp-primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wlp-restrictions-progress {
    height: 12px;
    background: var(--wlp-gray-100);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wlp-restrictions-progress-bar {
    height: 100%;
    border-radius: 99px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Shimmer effect for progress bar */
.wlp-restrictions-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    animation: wlp-shimmer 2s infinite;
}

@keyframes wlp-shimmer {
    100% {
        transform: translateX(100%);
    }
}

.wlp-restrictions-bar-gray {
    background: var(--wlp-gray-300);
}

.wlp-restrictions-bar-yellow {
    background: var(--wlp-warning);
}

.wlp-restrictions-bar-green {
    background: var(--wlp-success);
}

/* Category specific gradient */
.wlp-category-progress-bar {
    background: linear-gradient(90deg, var(--wlp-secondary-color), var(--wlp-primary));
}

.wlp-restrictions-progress-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--wlp-gray-500);
    text-align: right;
}

.wlp-category-progress-text {
    margin-top: 12px;
    font-size: 14px;
    color: var(--wlp-gray-600);
    background: var(--wlp-gray-50);
    padding: 10px 15px;
    border-radius: var(--wlp-radius-sm);
    border: 1px solid var(--wlp-gray-100);
    display: flex;
    align-items: center;
    gap: 8px;
}

.wlp-category-progress-text::before {
    content: '\f119';
    /* dashicons-chart-line equivalent or similar */
    font-family: dashicons;
    color: var(--wlp-primary);
    font-size: 18px;
}

.wlp-category-disabled {
    background: var(--wlp-error-bg);
    color: var(--wlp-error-text);
    padding: 10px 15px;
    border-radius: var(--wlp-radius-sm);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.wlp-category-disabled::before {
    content: '\f534';
    /* dashicons-warning */
    font-family: dashicons;
    font-size: 18px;
}

.wlp-restrictions-messages {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.wlp-restrictions-messages li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: var(--wlp-gray-700);
    font-size: 14px;
    line-height: 1.5;
}

.wlp-restrictions-messages li::before {
    content: '•';
    position: absolute;
    left: 6px;
    color: var(--wlp-primary);
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
    top: -2px;
}

/* 
 * ===================================================================
 * Dog Theme Specific Additions
 * ===================================================================
 */

.wlp-theme-dog {
    font-family: 'Nunito', sans-serif;
}

.wlp-theme-dog .wlp-points-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 32px;
    color: var(--wlp-primary);
}

.wlp-dog-card {
    border-radius: var(--wlp-radius);
    padding: 30px;
    border: none;
    box-shadow: var(--wlp-shadow);
    transition: var(--wlp-transition);
    background: var(--wlp-white);
    margin-bottom: 30px;
}

.wlp-dog-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--wlp-shadow-lg);
}

.wlp-referral-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.wlp-referral-content {
    flex: 1 1 300px;
}

.wlp-referral-title {
    font-size: 18px;
    color: var(--wlp-primary);
    display: block;
    margin-bottom: 12px;
}

.wlp-referral-desc {
    color: var(--wlp-gray-700);
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

.wlp-referral-actions-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wlp-referral-code-box {
    margin-top: 20px;
    background: var(--wlp-gray-50);
    padding: 12px;
    border-radius: var(--wlp-radius-sm);
    text-align: center;
    border: 2px dashed var(--wlp-secondary-color);
}

.wlp-referral-code-box code {
    font-size: 15px;
    color: var(--wlp-primary);
    font-weight: 700;
    word-break: break-all;
}

.wlp-points-summary-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.wlp-balance-amount-dog {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wlp-points-number-dog {
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    color: var(--wlp-accent);
    text-shadow: 2px 2px 0px var(--wlp-accent-light);
}

.wlp-points-label-dog {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--wlp-gray-500);
    margin-top: 8px;
}

.wlp-dog-tag {
    background: var(--wlp-primary-light);
    color: var(--wlp-primary);
    padding: 6px 16px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    border: 2px solid var(--wlp-secondary-color);
}

.wlp-points-actions-main {
    width: 100%;
    max-width: 400px;
}

.wlp-btn-block {
    display: flex;
    width: 100%;
    border-radius: var(--wlp-radius-sm);
    padding: 14px;
    font-size: 16px;
    font-weight: 800;
}

/* Flexbox Action Row Layout */
.wlp-action-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .wlp-action-row {
        flex-direction: row;
        align-items: stretch;
    }

    .wlp-action-row .wlp-status-message {
        flex: 1;
        margin: 0 !important;
        justify-content: flex-start;
    }

    .wlp-action-row .wlp-btn-block {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
        margin: 0 !important;
        align-items: center;
    }
}

.wlp-status-message {
    font-weight: 700;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--wlp-radius-sm);
}

.wlp-status-message.success {
    color: var(--wlp-success-text);
    background: var(--wlp-success-bg);
}

.wlp-status-message.warning {
    color: var(--wlp-warning-text);
    background: var(--wlp-warning-bg);
}

.wlp-status-message.neutral {
    color: var(--wlp-gray-700);
    background: var(--wlp-gray-100);
}

.wlp-view-details-link {
    display: block;
    color: var(--wlp-primary);
    font-weight: 800;
    text-decoration: none;
    margin-top: 10px;
}

.wlp-view-details-link:hover {
    color: var(--wlp-accent);
    text-decoration: underline;
}

.mt-3 {
    margin-top: 15px;
}

/* Adjust share links inside dog card to be bigger and bouncier */
.wlp-share,
.wlp-copy-link {
    width: 44px;
    height: 44px;
}

.wlp-share i,
.wlp-copy-link i {
    font-size: 18px;
}

/* 
 * ===================================================================
 * Tier Progress Bar Additions
 * ===================================================================
 */

.wlp-tier-progress-card {
    text-align: center;
}

.wlp-tier-status-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--wlp-gray-700);
    margin-bottom: 20px;
}

.wlp-tier-highlight {
    color: var(--wlp-primary);
    font-weight: 900;
    padding: 2px 10px;
    background: var(--wlp-primary-light);
    border-radius: 99px;
    border: 2px solid var(--wlp-secondary-color);
}

.wlp-progress-bar-container {
    width: 100%;
    margin: 0 auto 10px;
}

.wlp-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 800;
    color: var(--wlp-gray-500);
    margin-bottom: 8px;
    padding: 0 5px;
}

.wlp-progress-track {
    width: 100%;
    height: 32px;
    background-color: var(--wlp-gray-100);
    border-radius: 99px;
    overflow: hidden;
    border: 3px solid var(--wlp-secondary-color);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.wlp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--wlp-accent), #ff8a65);
    border-radius: 99px;
    width: 0%;
    /* JS or inline style will set this */
    transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

/* Optional striped effect for the fill */
.wlp-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(45deg,
            rgba(255, 255, 255, 0.15) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.15) 75%,
            transparent 75%,
            transparent);
    background-size: 32px 32px;
    animation: wlp-progress-stripes 2s linear infinite;
    border-radius: 99px;
}

@keyframes wlp-progress-stripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 64px 0;
    }
}

.wlp-progress-numbers {
    font-size: 15px;
    font-weight: 800;
    color: var(--wlp-primary);
    margin-top: 12px;
    display: block;
}

/* Custom Checkout Button Styles */
button#wlp-apply-points,
button#wlp-apply-points-btn,
.wlp-remove-points,
#wlp-remove-points {
    background: #E2441B !important;
    width: 150px !important;
    border-radius: 10px !important;
    color: #fff !important;
    border: none !important;
    transition: background 0.3s ease !important;
    padding: 10px !important;
    text-align: center;
    cursor: pointer;
}

button#wlp-apply-points:hover,
button#wlp-apply-points-btn:hover,
.wlp-remove-points:hover,
#wlp-remove-points:hover {
    background: #212c55 !important;
}