.pi-client-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.pi-client-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.pi-client-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 0;
    padding: 1.25rem 1.5rem;
}

.pi-client-card-header .card-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.pi-client-card-header i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.pi-client-card-body {
    padding: 1.5rem 1.5rem 2.5rem;
    margin-bottom: 10px;
    background-color: #ffffff;
}

.pi-client-alert {
    background-color: #f0f7ff;
    border: 1px solid #cfe2ff;
    border-radius: 6px;
    color: #084298;
}

.pi-client-alert i {
    margin-right: 0.5rem;
}

.pi-client-table-wrap {
    margin: 0 -1.5rem -1.5rem -1.5rem;
}

.pi-client-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    border: none;
}

.pi-client-table thead {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.pi-client-table thead th {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #495057;
    padding: 1rem 1.25rem;
    border: none;
    white-space: nowrap;
}

.pi-client-table tbody tr {
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.2s ease;
}

.pi-client-table tbody tr:hover {
    background-color: #e8eef7;
}

.pi-client-table tbody td {
    padding: 0.875rem 1rem;
    vertical-align: middle;
}

.pi-client-item-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.pi-client-item-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.pi-client-new-price {
    color: #6c2fb5;
}

.pi-client-card .badge {
    padding: 0.45rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
}

.pi-badge-product {
    background-color: #f3e5ff;
    color: #6c2fb5;
}

.pi-badge-domain {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.pi-badge-addon {
    background-color: #fff3e0;
    color: #e65100;
}

.pi-badge-other {
    background-color: #e9ecef;
    color: #495057;
}

.pi-upcoming-widget-badge {
    display: inline-block;
    color: #ffffff;
    border-radius: 12px;
    padding: 15px 25px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.25);
}

.pi-upcoming-widget-count {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.pi-upcoming-widget-copy {
    color: #5a6c7d;
    font-size: 1.1rem;
}

.pi-upcoming-widget-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 20px;
}

.pi-upcoming-widget-link:hover,
.pi-upcoming-widget-link:focus {
    color: #ffffff;
    filter: brightness(0.92);
}

.pi-theme-blue .pi-client-card-header,
.pi-theme-blue .pi-upcoming-widget-badge,
.pi-theme-blue .pi-upcoming-widget-link {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.pi-theme-blue .pi-client-item-link,
.pi-theme-blue .pi-client-new-price {
    color: #1e40af;
}

.pi-theme-blue .pi-client-table thead {
    background-color: #eff6ff;
    border-bottom-color: #bfdbfe;
}

.pi-theme-blue .pi-client-table tbody tr:hover {
    background-color: #eff6ff;
}

.pi-theme-teal .pi-client-card-header,
.pi-theme-teal .pi-upcoming-widget-badge,
.pi-theme-teal .pi-upcoming-widget-link {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
}

.pi-theme-teal .pi-client-item-link,
.pi-theme-teal .pi-client-new-price {
    color: #115e59;
}

.pi-theme-teal .pi-client-table thead {
    background-color: #f0fdfa;
    border-bottom-color: #99f6e4;
}

.pi-theme-teal .pi-client-table tbody tr:hover {
    background-color: #f0fdfa;
}

.pi-theme-green .pi-client-card-header,
.pi-theme-green .pi-upcoming-widget-badge,
.pi-theme-green .pi-upcoming-widget-link {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
}

.pi-theme-green .pi-client-item-link,
.pi-theme-green .pi-client-new-price {
    color: #166534;
}

.pi-theme-green .pi-client-table thead {
    background-color: #f0fdf4;
    border-bottom-color: #bbf7d0;
}

.pi-theme-green .pi-client-table tbody tr:hover {
    background-color: #f0fdf4;
}

@media (max-width: 767px) {
    .pi-client-card {
        margin: 0 -0.5rem;
        border-radius: 0;
    }

    .pi-client-card-header {
        padding: 1rem;
    }

    .pi-client-card-header .card-title {
        font-size: 1.1rem;
    }

    .pi-client-table thead th,
    .pi-client-table tbody td {
        font-size: 0.9rem;
        padding: 0.75rem 0.5rem;
    }
}
