/* Wishlist Container */
.cwp-wishlist-container {
    display: flex;
/*     max-width: 1200px; */
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    min-height: 100vh;
}

/* Sidebar Styles */
.cwp-sidebar {
    width: 280px;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    padding: 30px 0;
    flex-shrink: 0;
}

.cwp-account-nav h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
/*     margin: 25px 30px 15px 30px; */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cwp-account-nav h3.active {
    color: #007bff;
    background: #e3f2fd;
    padding: 10px 30px;
    margin: 25px 0 15px 0;
}

.cwp-account-nav ul {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.cwp-account-nav li {
    margin: 0;
}

.cwp-account-nav a {
    display: block;
    padding: 8px 30px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.cwp-account-nav a:hover {
    background: #e9ecef;
    color: #333;
}

.cwp-logout {
    margin-top: 30px;
    padding: 0 30px;
}

.cwp-logout a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Main Content Area */
.cwp-main-content {
    flex: 1;
    padding: 30px;
    background: #fff;
}

.cwp-wishlist-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cwp-wishlist-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 30px 0;
}

/* Filter Bar */
.cwp-filter-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.cwp-filter-bar span {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.cwp-filter {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    color: #333;
    min-width: 120px;
}

.cwp-clear-filter {
    cursor: pointer;
    color: #666;
    font-size: 18px;
    font-weight: bold;
}

/* Action Buttons */
.cwp-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
	justify-content:space-between;
}

.cwp-select-all {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
}

.cwp-select-all input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.cwp-action-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

/* .cwp-action-btn:hover {
    background: #f8f9fa;
    border-color: #007bff;
} */

/* Wishlist Table */
.cwp-wishlist-table {
    overflow-x: auto;
}

.cwp-wishlist-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.cwp-wishlist-table th {
    background: #f8f9fa;
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e9ecef;
}

.cwp-wishlist-table td {
    padding: 20px 10px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}
/* 
.wishlist-item:hover {
    background: #f8f9fa;
} */

/* Product Info */
.product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.product-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.product-details p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Collection and Access Period */
.collection, .access-period {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #007bff;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Availability Buttons */
.cwp-wishlist-table .access-btn,
.access-btn {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    width: 100% !important;
    text-align: center !important;
}
/* .access-btn {
    background-color: #000 !important;
    color: #fff;
    border-color: #000;
    line-height: 1.8em;
    width: 100%;
} */

.cwp-wishlist-table .access-btn:hover,
.access-btn:hover {
    background: #000 !important;
    color: #fff !important;
}

.cwp-wishlist-table .out-btn,
.out-btn {
    background: #dc3545 !important;
    color: #fff !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    cursor: not-allowed !important;
    opacity: 0.8 !important;
    text-decoration: none !important;
    display: inline-block !important;
    width: 100% !important;
    text-align: center !important;
}

.cwp-wishlist-table .swap-btn,
.swap-btn {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    width: 100% !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
}

.cwp-wishlist-table .swap-btn:hover,
.swap-btn:hover {
    background: #000 !important;
    color: #fff !important;
}

.cwp-wishlist-table .current-btn,
.current-btn {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    cursor: default !important;
    opacity: 0.8 !important;
    min-width: 100% !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
}

/* Added to cart state */
.cwp-wishlist-table .added-to-cart,
.added-to-cart {
    background: #6c757d !important;
    color: #fff !important;
    cursor: default !important;
    opacity: 0.8 !important;
}

/* Empty Wishlist */
.cwp-empty-wishlist {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}

/* Wishlist Button Styles */
.cwp-add-to-wishlist {
    background: #007bff;
    color: #fff;
    border: 2px solid #007bff;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    min-width: 160px;
    justify-content: center;
}

.cwp-add-to-wishlist:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.cwp-add-to-wishlist:disabled,
.cwp-add-to-wishlist.added {
    background: #28a745;
    border-color: #28a745;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cwp-add-to-wishlist:disabled:hover,
.cwp-add-to-wishlist.added:hover {
    background: #28a745;
    border-color: #28a745;
    transform: none;
    box-shadow: none;
}

.cwp-add-to-wishlist i {
    font-size: 16px;
}

/* Product page specific styling */
.single-product .cwp-add-to-wishlist {
    margin: 15px 0;
    font-size: 16px;
    padding: 12px 25px;
}

/* Shop loop styling */
.woocommerce-loop-product__title + .cwp-add-to-wishlist {
    margin-top: 10px;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cwp-wishlist-container {
        flex-direction: column;
    }
    
    .cwp-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .cwp-filter-bar {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .cwp-filter {
        min-width: 100px;
    }
    
    .cwp-actions {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .product-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cwp-add-to-wishlist {
        font-size: 12px;
        padding: 8px 16px;
        min-width: 140px;
    }
}

/* Wishlist Icon Styles */
.cwp-wishlist-icon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #666;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cwp-wishlist-icon:hover {
    color: #e74c3c;
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cwp-wishlist-icon.added {
    color: #e74c3c;
    background: #fff;
    border-color: #e74c3c;
}

.cwp-wishlist-icon.added:hover {
    color: #c0392b;
    border-color: #c0392b;
}

.cwp-wishlist-icon i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.cwp-wishlist-icon:hover i {
    transform: scale(1.1);
}

.cwp-wishlist-icon-login {
    display: inline-flex;
    align-items: center;
    padding: 8px;
    border-radius: 50%;
    color: #999;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cwp-wishlist-icon-login:hover {
    color: #666;
    background: #fff;
}

.cwp-wishlist-icon-login i {
    font-size: 18px;
}

.wishlist-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product card specific styling */
.woocommerce-loop-product__title + .cwp-wishlist-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

/* Single product page styling */
.single-product .cwp-wishlist-icon {
    margin: 10px 0;
    padding: 12px;
}

.single-product .cwp-wishlist-icon i {
    font-size: 20px;
}

/* Animation for adding to wishlist */
@keyframes wishlistPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.cwp-wishlist-icon.adding {
    animation: wishlistPulse 0.6s ease-in-out;
}

/* Wishlist Messages */
.cwp-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.cwp-message.show {
    transform: translateX(0);
}

.cwp-message-success {
    background: #28a745;
    border-left: 4px solid #1e7e34;
}

.cwp-message-error {
    background: #dc3545;
    border-left: 4px solid #c82333;
}

.cwp-message-info {
    background: #17a2b8;
}

/* Membership Section Styles */
.cwp-membership-header, .cwp-billing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.cwp-membership-header h1, .cwp-billing-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.cwp-exit-btn {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s;
}

.cwp-exit-btn:hover {
    color: #333;
    border-color: #999;
    text-decoration: none;
}

.cwp-membership-content {
    display: flex;
    gap: 30px;
}

.cwp-next-order-section {
    flex: 1;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.cwp-order-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    flex: 1;
}

.cwp-order-header h3 {
    font-size: 16px;
    color: #666;
    margin: 0 0 5px 0;
    font-weight: normal;
}

.cwp-order-header h2 {
    font-size: 24px;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.cwp-next-payment {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.cwp-delivery-section h4 {
    font-size: 16px;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.cwp-subscription-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cwp-product-logo {
/*     width: 50px;
    height: 50px; */
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 10px;
    font-weight: bold;
}

.cwp-subscription-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.cwp-subscription-details p {
    margin: 0 0 5px 0;
    color: #666;
    font-size: 14px;
}

.cwp-subscription-frequency {
    font-style: italic;
}

.cwp-manage-subscription {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.cwp-order-summary {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
}

.cwp-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.cwp-summary-row.cwp-total {
    font-size: 16px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.cwp-payment-method {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.cwp-edit-payment {
    color: #007bff;
    text-decoration: none;
}

.cwp-membership-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.cwp-action-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cwp-action-card h4 {
    margin: 0;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.cwp-action-link {
    color: #007bff;
    text-decoration: none;
    font-size: 18px;
}

.cwp-no-subscription {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* Billing Section Styles */
.cwp-tab-navigation {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.cwp-tab {
    padding: 15px 30px;
    color: #666;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.cwp-tab.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

.cwp-tab:hover {
    color: #333;
    text-decoration: none;
}

.cwp-tab-content {
    max-width: 600px;
}

.cwp-info-tab h2, .cwp-addresses-tab h2, .cwp-payment-tab h2 {
    font-size: 24px;
    color: #333;
    margin: 0 0 30px 0;
}

.cwp-form-row {
    display: flex;
    gap: 20px;
}

.cwp-form-group {
    flex: 1;
    margin-bottom: 20px;
}

.cwp-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.cwp-form-group input,
.cwp-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.cwp-form-group input:focus,
.cwp-form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.cwp-form-actions {
    margin-top: 30px;
}

.cwp-btn-primary {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.cwp-btn-primary:hover {
    background: #0056b3;
}

.cwp-btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-right: 10px;
}

.cwp-btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.cwp-payment-method-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cwp-payment-info {
    flex: 1;
}

.cwp-card-type {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
}

.cwp-card-details {
    color: #666;
    margin-right: 10px;
}

.cwp-card-expiry {
    color: #999;
    font-size: 12px;
}

.cwp-payment-actions {
    display: flex;
    gap: 10px;
}

.cwp-no-payment-methods {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
}

.cwp-add-payment-method {
    margin-top: 30px;
}

.cwp-add-payment-method h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

/* Additional Section Styles */

/* Swap Allowance Section */
.cwp-swap-allowance-header, .cwp-subscriptions-header, .cwp-subscription-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.cwp-swap-allowance-header h1, .cwp-subscriptions-header h1, .cwp-subscription-history-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.cwp-allowance-overview {
    margin-bottom: 30px;
}

.cwp-allowance-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.cwp-allowance-card h3 {
    font-size: 24px;
    color: #333;
    margin: 0 0 20px 0;
}

.cwp-allowance-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.cwp-stat-item {
    text-align: center;
}

.cwp-stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}

.cwp-stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cwp-swap-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.cwp-swap-info h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 15px 0;
}

.cwp-swap-info ul {
    margin: 0;
    padding-left: 20px;
}

.cwp-swap-info li {
    margin-bottom: 8px;
    color: #666;
}

.cwp-coming-soon {
    text-align: center;
    padding: 20px;
    color: #999;
    font-style: italic;
}

/* Subscriptions Section */
.cwp-active-subscriptions {
    margin-bottom: 30px;
}

.cwp-active-subscriptions h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
}

.cwp-subscription-manage-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cwp-subscription-info h4 {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px 0;
}

.cwp-subscription-info p {
    margin: 0 0 5px 0;
    color: #666;
    font-size: 14px;
}

.cwp-subscription-controls {
    display: flex;
    gap: 10px;
}

.cwp-no-active-subscriptions {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

.cwp-no-active-subscriptions a {
    margin-top: 15px;
    display: inline-block;
}

/* Subscription History Section */
.cwp-subscriptions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cwp-subscription-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
}

.cwp-subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.cwp-subscription-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.cwp-subscription-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.cwp-subscription-status.active {
    background: #d4edda;
    color: #155724;
}

.cwp-subscription-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.cwp-subscription-status.pending {
    background: #fff3cd;
    color: #856404;
}

.cwp-subscription-details {
    margin-bottom: 20px;
}

.cwp-subscription-item h4 {
    font-size: 16px;
    color: #333;
    margin: 0 0 5px 0;
}

.cwp-subscription-item p {
    margin: 0 0 3px 0;
    color: #666;
    font-size: 14px;
}

.cwp-subscription-dates {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cwp-date-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cwp-date-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cwp-subscription-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cwp-no-subscriptions {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

.cwp-no-subscriptions a {
    margin-top: 15px;
    display: inline-block;
}

/* ID Verification Section */
.cwp-id-verification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.cwp-id-verification-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.cwp-verification-status {
    margin-bottom: 30px;
}

.cwp-status-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cwp-status-card.verified {
    border-color: #28a745;
    background: #f8fff9;
}

.cwp-status-card.pending {
    border-color: #ffc107;
    background: #fffdf5;
}

.cwp-status-card.failed {
    border-color: #dc3545;
    background: #fff5f5;
}

.cwp-status-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.cwp-icon-verified {
    color: #28a745;
}

.cwp-icon-pending {
    color: #ffc107;
}

.cwp-icon-failed {
    color: #dc3545;
}

.cwp-status-info h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 5px 0;
}

.cwp-status-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.cwp-verification-complete,
.cwp-verification-pending,
.cwp-verification-required {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.cwp-verification-complete h3,
.cwp-verification-pending h3,
.cwp-verification-required h3 {
    font-size: 20px;
    margin: 0 0 15px 0;
}

.cwp-sumsub-container {
    margin-top: 20px;
}

.cwp-sumsub-container #sumsub-websdk-container {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 20px;
}

.cwp-verification-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
}

.cwp-verification-info h3,
.cwp-verification-info h4 {
    color: #333;
    margin-top: 0;
}

.cwp-verification-info ul {
    margin: 0;
    padding-left: 20px;
}

.cwp-verification-info li {
    margin-bottom: 8px;
    color: #666;
}

/* Subscribed Bags Section */
.cwp-subscribed-bags {
/*     background: #fff; */
/*     border: 1px solid #e9ecef; */
/*     border-radius: 12px; */
    padding: 30px;
    margin-bottom: 30px;
/*     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
}
/* 
.cwp-subscribed-bags h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}
 */
.cwp-bags-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cwp-bag-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cwp-bag-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.cwp-bag-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.cwp-bag-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cwp-bag-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.cwp-bag-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    width: fit-content;
}

.cwp-bag-status::before {
    content: '●';
    font-size: 12px;
}

.cwp-bag-expiration {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px;
    background: linear-gradient(135deg, #e3f2fd, #f8f9fa);
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.cwp-bag-next-payment {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    padding: 10px 15px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.cwp-bag-next-payment::before {
    content: '📅';
    font-size: 14px;
}

.cwp-no-bags {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.cwp-no-bags-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 25px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #007bff;
    transition: all 0.3s ease;
}

.cwp-no-bags-link:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    text-decoration: none;
}

.cwp-no-bags-link::after {
    content: '→';
    font-size: 18px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cwp-wishlist-container {
        flex-direction: column;
    }
    
    .cwp-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .cwp-membership-content {
        flex-direction: column;
    }
    
    .cwp-membership-sidebar {
        width: 100%;
    }
    
    .cwp-allowance-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .cwp-subscription-manage-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .cwp-subscription-dates {
        flex-direction: column;
        gap: 15px;
    }
    
    .cwp-status-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cwp-subscribed-bags {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .cwp-bag-item {
        padding: 20px;
    }
    
    .cwp-bag-name {
        font-size: 16px;
    }
    
    .cwp-bag-expiration {
        padding: 12px;
    }
    
    .cwp-no-bags {
        padding: 30px 20px;
    }
    
    .cwp-no-bags-link {
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* Enhanced Subscribed Bags Grid */
.cwp-bags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.cwp-bag-card {
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
    position: relative;
}

.cwp-bag-card:hover {
    transform: translateY(-4px);
}

.cwp-bag-image {
    position: relative;
    text-align: center;
    background: #fafafa;
    padding: 1rem;
    overflow: hidden;
}

.cwp-bag-image img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.cwp-bag-image:hover img {
    transform: scale(1.05);
}

.cwp-bag-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    padding: 8px 18px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cwp-bag-status-badge.selected {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: 1px solid #1e7e34;
}

.cwp-bag-status-badge.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.cwp-bag-details {
    padding: 25px;
    background: #fff;
}

.cwp-bag-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.cwp-bag-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cwp-bag-title a:hover {
    color: #007bff;
}

.cwp-bag-categories {
    margin: 0 0 20px 0;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 20px;
    display: inline-block;
}

.cwp-bag-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 25px;
    padding: 20px;
    background: #fafbfc;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.cwp-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: start;
}

.cwp-info-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cwp-info-value {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 700;
}

.cwp-days-remaining {
    font-size: 12px;
    color: #28a745;
    font-weight: 500;
}

.cwp-bag-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.cwp-view-product-btn,
.cwp-swap-bag-btn,
.cwp-select-swap-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cwp-view-product-btn {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.cwp-view-product-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.cwp-swap-bag-btn {
    background: #007bff;
    color: #fff;
}

.cwp-swap-bag-btn:hover {
    background: #0056b3;
    color: #fff;
}

.cwp-select-swap-btn {
    background: #28a745 !important;
    color: #fff !important;
}

.cwp-select-swap-btn:hover {
    background: #1e7e34 !important;
    color: #fff !important;
}

/* Enhanced No Bags State */
.cwp-no-bags {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 20px;
}

.cwp-no-bags-content h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 20px;
}

.cwp-no-bags-content p {
    margin: 0 0 24px 0;
    color: #666;
    font-size: 16px;
}

.cwp-browse-collection-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.cwp-browse-collection-btn:hover {
    background: #0056b3;
    color: #fff;
}

/* Responsive Design for Enhanced Bags */
@media (max-width: 768px) {
    .cwp-bags-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    
    .cwp-bag-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    
    .cwp-bag-details {
        padding: 20px;
    }
    
    .cwp-bag-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
    }
    
    .cwp-subscribed-bags h3,
    .cwp-selected-swap-bag h3 {
        font-size: 22px;
    }
    
    .cwp-upload-proof-section {
        padding: 25px;
        margin-top: 25px;
    }
    
    .cwp-upload-proof-section h4 {
        font-size: 20px;
    }
    
    .cwp-upload-proof-btn {
        padding: 16px 30px;
        font-size: 15px;
    }
    
    .cwp-swap-bag-card.selected {
        transform: scale(1.01);
    }
}

/* Selected Swap Bag Section */
.cwp-selected-swap-bag {
/*     margin-top: 50px; */
    padding-top: 40px;
/*     border-top: 3px solid #e9ecef; */
    position: relative;
}
/* 
.cwp-selected-swap-bag::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
} */

.cwp-selected-swap-bag h3 {
    color: #1a1a1a;
    margin-bottom: 25px;
    font-size: 26px;
    font-weight: 700;
}

.cwp-subscribed-bags h3 {
    color: #1a1a1a;
    margin-bottom: 25px;
    font-size: 26px;
    font-weight: 700;
}

.cwp-swap-selection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.cwp-swap-bag-card.selected {
    border: 3px solid #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #f0fff4 100%);
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.15);
    transform: scale(1.02);
}

.cwp-change-swap-btn {
    background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
    color: #212529;
    border: 1px solid #ffc107;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 12px rgba(255, 193, 7, 0.3);
}

.cwp-change-swap-btn:hover {
    background: #e0a800;
    color: #212529;
    border-color: #d39e00;
}

/* Upload Proof Section */
.cwp-upload-proof-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 35px;
    margin-top: 30px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cwp-upload-proof-section h4 {
    color: #1a1a1a;
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 700;
}

.cwp-upload-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.cwp-upload-field {
    margin-bottom: 20px;
}

.cwp-upload-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.cwp-upload-field input[type="file"] {
    width: 100%;
    padding: 20px;
    border: 3px dashed #dee2e6;
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cwp-upload-field input[type="file"]:hover {
    border-color: #007bff;
    background: #f8f9ff;
    transform: translateY(-2px);
}

.cwp-upload-note {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 12px;
}

.cwp-upload-notes {
    margin-bottom: 25px;
}

.cwp-upload-notes label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.cwp-upload-notes textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

/* .cwp-swap-final-actions {
    text-align: start;
} */

.cwp-upload-proof-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.cwp-upload-proof-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.cwp-process-note {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
/*     max-width: 500px; */
    margin-left: auto;
    margin-right: auto;
}

/* No Swap Selected State */
.cwp-no-swap-selected {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 20px;
}

.cwp-no-swap-content h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 20px;
}

.cwp-no-swap-content p {
    margin: 0 0 24px 0;
    color: #666;
    font-size: 16px;
}

.cwp-select-from-wishlist-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.cwp-select-from-wishlist-btn:hover {
    background: #1e7e34;
    color: #fff;
}

/* ==============================
   Swap Allowance Section - Parallel Layout
============================== */

/* ==============================
   Global Layout
============================== */
.cwp-bags-parallel-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
/*   gap: 3rem; */
  flex-wrap: wrap;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 1rem;
}

/* ==============================
   Sections
============================== */
.cwp-subscribed-bags,
.cwp-selected-swap-bag {
  flex: 1 1 400px;
  background: #fff;
/*   border-radius: 16px; */
  padding: 1.5rem;
/*   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); */
}

.cwp-subscribed-bags h3,
.cwp-selected-swap-bag h3 {
  border-bottom: 2px solid #f8f9fa;
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin: 0 0 25px 0;
  padding-bottom: 15px;

}

/* ==============================
   Bag Grid + Card Styling
============================== */
.cwp-bags-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}



/* ==============================
   Bag Details
============================== */
.cwp-bag-details {
  padding: 1rem 1.25rem 1.25rem;
}

.cwp-bag-title a {
  text-decoration: none;
  color: #000;
}

.cwp-bag-categories {
  color: #777;
  font-size: 0.875rem;
  margin: 0.25rem 0 0.75rem;
}

.cwp-bag-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  font-size: 0.875rem;

}

.cwp-info-item {
  display: flex;
  flex-direction: column;
}

.cwp-info-label {
  color: #666;
  font-weight: 500;
}

.cwp-info-value {
  font-weight: 600;
  color: #000;
}

/* ==============================
   Buttons / Actions
============================== */
.cwp-bag-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 1rem;
  gap: 0.5rem;
}

.cwp-change-swap-btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.cwp-view-product-btn {
  background: #fff;
  border: 1px solid #000;
  color: #000;
}

.cwp-view-product-btn:hover {
  background: #000;
  color: #fff;
}

.cwp-select-swap-btn,
.cwp-change-swap-btn {
  background: #000;
  color: #fff;
  border: none;
}

.cwp-select-swap-btn:hover,
.cwp-change-swap-btn:hover {
  background: #007bff;
}

/* ==============================
   Separator Image (Swap Icon)
============================== */
.cwp-separator-image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 80px;
  height: 50vh;
}

.cwp-separator-image img {
  width: 60px;
  height: auto;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.cwp-separator-image img:hover {
  transform: scale(1.1) rotate(10deg);
}

/* ==============================
   Responsive Design
============================== */
@media (max-width: 992px) {
  .cwp-bags-parallel-container {
    gap: 2rem;
  }

  .cwp-separator-image {
    flex: 0 0 60px;
  }

  .cwp-separator-image img {
    width: 50px;
  }
}

@media (max-width: 768px) {
  .cwp-bags-parallel-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cwp-subscribed-bags,
  .cwp-selected-swap-bag {
    flex: 1 1 100%;
    max-width: 500px;
  }

  .cwp-separator-image {
    order: -1;
    margin: 1.5rem 0;
  }

  .cwp-separator-image img {
    transform: rotate(90deg);
    width: 40px;
  }

  .cwp-bag-info-grid {
    grid-template-columns: 1fr;
  }

  .cwp-bag-actions {
    flex-direction: column;
  }
}

/* ==============================
   Additional Styling & Overrides
============================== */

/* Page-specific wishlist table buttons */
/* .page-id-4914 .cwp-wishlist-table button {
    background-color: #000 !important;
    color: #fff;
    border-color: #000;
    line-height: 1.8em;
    width: 100%;
}


.page-id-4914 .cwp-wishlist-table button:hover {
    background-color: #212121E0 !important;
    border-color: #000 !important;
} */

/* Swap allowance content buttons */
.cwp-swap-allowance-content button {
    font-size: 16px;
    background-color: #000 !important;
    background: #000 !important;
    color: #fff;
    border-color: #000;
    line-height: 1.8em;
    box-shadow: none !important;
    border-radius: 5px;
    border: none;
}

.cwp-swap-allowance-content button:hover {
    background-color: #212121E0 !important;
    border-color: #000 !important;
    color: #fff;
}

/* Filter bar styling */
.cwp-filter-bar > span {
    min-width: 76px;
}

.cwp-filter-bar span.cwp-clear-filter {
    min-width: 10px;
}

.cwp-filter-bar select:focus {
    outline: none !important;
    border-color: #ddd !important;
}

/* Logout button */
.cwp-logout {
    margin-top: 0px;
}

/* Wishlist header */
.cwp-wishlist-header p {
    color: #000;
}

/* Delete selected button */
#delete-selected {
    text-transform: capitalize !important;
    font-size: 13px;
    padding: 0px 12px !important;
    background-color: #000;
    color: #fff;
}

#delete-selected:hover {
    background-color: #212121E0;
}

/* Wishlist table styling */
.cwp-wishlist-table .wishlist-item td:nth-child(2) {
    border-top: none;
    border-left: none;
    border-right: none;
}

/* Email alerts toggle */
.email-alerts input:checked + .slider {
    background-color: #000;
}

/* Select all checkbox */
#select-all-wishlist:checked {
    background-color: #000 !important;
    border-color: #000 !important;
}

/* Container backgrounds */
.cwp-wishlist-container .cwp-main-content,
.cwp-wishlist-container .cwp-sidebar,
.cwp-wishlist-table,
.cwp-wishlist-table th,
.cwp-wishlist-table td {
    background-color: #F5F6F8 !important;
}

.wishlist-item {
    border-bottom: 2px solid hsl(0deg 0% 50% / 32%);
}

/* Billing content buttons */
.cwp-billing-content .cwp-payment-actions button {
    background-color: #000 !important;
    color: #fff;
    text-transform: capitalize !important;
    font-size: 16px;
    padding: 4px 12px !important;
    border-radius: 3px;
    border: none;
    width: 76px;
}

/* Main content heading */
.cwp-main-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Profile exit button */
.cwp-profile-exit .cwp-exit-btn {
    background-color: #000 !important;
    color: #fff;
    border-color: #000;
}

/* Subscription actions */
.cwp-subscription-actions a {
    background-color: #000 !important;
    color: #fff;
    text-transform: capitalize !important;
    font-size: 14px;
    padding: 4px 12px !important;
    border-radius: 3px;
    border: none;
    font-weight: 400 !important;
}

.cwp-subscription-actions a:hover {
    background-color: #212121E0 !important;
}

/* Form actions */
.cwp-form-actions .cwp-btn-primary {
    background-color: #000 !important;
    color: #fff;
    text-transform: capitalize !important;
    font-size: 16px;
    padding: 4px 12px !important;
    border-radius: 3px;
    border: none;
}

/* Hover states for buttons */
.cwp-profile-exit .cwp-exit-btn:hover,
.cwp-form-actions .cwp-btn-primary:hover,
.cwp-billing-content .cwp-payment-actions button:hover {
    background-color: #212121E0 !important;
    border-color: #212121E0 !important;
}

/* Form inputs and selects */
.cwp-tab-content input,
.cwp-tab-content select {
    min-height: 52px;
    font-size: 16px !important;
    font-family: Montserrat;
    border-radius: 8px;
    border: 1px solid #D2D1D1;
    padding: 14px 20px !important;
}

.cwp-tab-content input:focus,
.cwp-tab-content select:focus {
    border-color: #000;
    box-shadow: none;
    outline: none;
}

/* Tab navigation */
.cwp-tab-navigation .cwp-tab.active {
    border-color: #000;
    color: #000;
    font-weight: 500;
}

/* Account navigation */
.cwp-account-nav h3 {
    margin-top: 10px;
}

/* Stat items */
.cwp-stat-item > span {
    color: #000;
}

/* Bag status badges - Updated */
.cwp-bag-card .cwp-bag-status-badge.active,
.cwp-swap-bag-card.selected,
.cwp-bag-status-badge.selected {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

.cwp-swap-bag-card.selected {
    box-shadow: none;
}

/* Main content font */
.cwp-main-content {
    font-family: "Montserrat", Sans-serif;
}

/* Days remaining */
.cwp-days-remaining {
    color: #000;
}

/* Management links */
.cwp-manage-subscription,
.cwp-edit-payment {
    color: #000;
    font-weight: 500;
}

/* Link hover states */
.cwp-bag-title a:hover,
.cwp-action-card a {
    color: #000 !important;
}

/* Subscription product image styling */
.cwp-product-logo .cwp-subscription-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* Default logo fallback */
.cwp-product-logo .cwp-default-logo {
    font-size: 20px;
    color: #666;
}

/* Bag actions styling */
.cwp-bag-actions a {
    font-size: 12px !important;
    padding: 8px;
}

.cwp-select-swap-btn {
    background-color: #000 !important;
    font-size: 12px !important;
    padding: 8px;
}

.cwp-select-swap-btn:hover {
    background-color: #212121E0 !important;
}

/* File upload hover */
#cwp-proof-upload:hover {
    border-color: #000;
}

/* Membership sidebar */
.cwp-membership-sidebar {
    width: 260px;
}

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

/* Large screens */
@media (min-width: 1300px) {
    .cwp-wishlist-container {
        max-width: 80vw;
        margin-inline: auto;
    }
}

/* Medium screens */
@media (max-width: 880px) {
    .cwp-next-order-section {
        flex-direction: column;
    }
    
    .cwp-membership-sidebar {
        width: 100%;
    }
    
    .cwp-next-order-section h2 {
        font-size: 20px;
    }
    
    .cwp-next-order-section h4 {
        font-size: 16px;
    }
    
    .cwp-action-card h4 {
        font-size: 16px;
    }
}

/* Tablet screens */
@media (max-width: 769px) {
    .cwp-wishlist-table td,
    .cwp-wishlist-table h4 {
        font-size: 14px;
    }
    
    .cwp-wishlist-table table {
        min-width: 650px;
    }
    
    .cwp-tab-content input,
    .cwp-tab-content select {
        padding: 8px 20px !important;
        font-size: 14px !important;
    }
    
    .cwp-tab-navigation a {
        font-size: 16px;
    }
    
    .cwp-main-content > div {
        flex-direction: column;
        gap: 20px;
        justify-content: center;
    }
    
    .cwp-main-content h1 {
        font-size: 24px;
        text-align: center;
    }
    
    .cwp-main-content p {
        text-align: center;
    }
}

/* Mobile screens */
@media (max-width: 450px) {
    .cwp-tab-content input,
    .cwp-tab-content select {
        padding: 6px 16px !important;
        font-size: 13px !important;
    }
    
    .cwp-tab-navigation a {
        font-size: 14px;
        text-align: center;
        padding-inline: 10px;
    }
    
    .cwp-form-actions {
        margin-top: 10px;
    }
}
/* ==============================
   Enhanced Swap Overview Section
============================== */

/* Current Plan Card - Updated Structure */
.cwp-current-plan-card {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

/* Swap Hero Section - Inside Plan Card */
.cwp-current-plan-card .cwp-swap-hero {
    text-align: center;
    padding: 2.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 0;
}

.cwp-current-plan-card .cwp-swap-hero h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cwp-current-plan-card .cwp-swap-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Plan Header - Updated Layout */
.cwp-plan-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    padding-top: 1.5rem;
}

.cwp-plan-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cwp-plan-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.cwp-plan-badge {
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;

}

/* Swap Stats - Updated for Single Card */
.cwp-swap-stats {
    padding: 0 2rem 2rem;
    display: flex;
    justify-content: center;
}

.cwp-stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f8f9fa;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    min-width: 200px;
}

.cwp-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cwp-stat-card.cwp-remaining {
    border-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.cwp-stat-card.cwp-used {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}

.cwp-stat-card.cwp-total {
    border-color: #007bff;
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
}

.cwp-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.cwp-stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* No Plan Card */
.cwp-no-plan-card {
    background: #fff;
    border: 2px dashed #ddd;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

.cwp-no-plan-card h3 {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1rem;
}

.cwp-view-plans-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cwp-view-plans-btn:hover {
    background: #212121E0;
    transform: translateY(-2px);
}

/* Swap Entitlements */
.cwp-swap-entitlements {
    margin-bottom: 3rem;
}

.cwp-swap-entitlements h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cwp-plan-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.cwp-plan-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.cwp-plan-option.active {
    border-color: #000;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cwp-plan-duration {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.cwp-plan-swaps {
    font-size: 0.9rem;
    color: #666;
}

/* How to Swap Steps */
.cwp-how-to-swap {
    margin: 3rem;
}

.cwp-how-to-swap h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 2rem;
    text-align: center;
}

.cwp-swap-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.cwp-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.cwp-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cwp-step-number {
    background: #000;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cwp-step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.cwp-step-content p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Tips Section */
.cwp-swap-tips {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.cwp-swap-tips h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.cwp-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cwp-tips-list li {
    padding: 0.5rem 0;
    color: #666;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.cwp-tips-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
}

/* Start Swapping Section */
.cwp-start-swapping {
    background: #000;
    color: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.cwp-start-swapping h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cwp-start-swapping p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cwp-start-swap-btn {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cwp-start-swap-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* No Swaps Left Section */
.cwp-no-swaps-left {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.cwp-no-swaps-left h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #856404;
    margin-bottom: 1rem;
}

.cwp-no-swaps-left p {
    color: #856404;
    margin-bottom: 1.5rem;
}

.cwp-upgrade-plan-btn {
    display: inline-block;
    background: #ffc107;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cwp-upgrade-plan-btn:hover {
    background: #e0a800;
    transform: translateY(-2px);
}

/* Responsive Design for Swap Overview */
@media (max-width: 992px) {
    .cwp-swap-steps {
        grid-template-columns: 1fr;
    }
    
    .cwp-plan-options {
        grid-template-columns: 1fr;
    }
    
    .cwp-swap-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cwp-current-plan-card .cwp-swap-hero {
        padding: 1.5rem 1rem;
    }
    
    .cwp-current-plan-card .cwp-swap-hero h2 {
        font-size: 1.8rem;
    }
    
    .cwp-current-plan-card .cwp-swap-subtitle {
        font-size: 0.9rem;
    }
    
    .cwp-plan-header {
        padding: 1.5rem 1rem;
    }
    
    .cwp-plan-header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cwp-swap-stats {
        padding: 0 1rem 1.5rem;
    }
    
    .cwp-stat-card {
        padding: 1.5rem;
        min-width: auto;
        width: 100%;
        max-width: 250px;
    }
    
    .cwp-step {
        flex-direction: column;
        text-align: center;
    }
    
    .cwp-step-number {
        align-self: center;
    }
}

/* ==============================
   Sumsub WebSDK Styling
============================== */

/* Sumsub container */
#sumsub-websdk-container {
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

/* Error message styling */
.sumsub-error {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #dc3545;
    margin: 1rem 0;
}

.sumsub-error h3 {
    color: #dc3545;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.sumsub-error p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.sumsub-error button {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sumsub-error button:hover {
    background: #c82333;
}

/* Success message styling */
.sumsub-success {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #28a745;
    margin: 1rem 0;
}

.sumsub-success h3 {
    color: #28a745;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.sumsub-success p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Loading state */
.sumsub-loading {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #007bff;
}

.sumsub-loading h3 {
    color: #007bff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #sumsub-websdk-container {
        min-height: 400px;
    }
    
    .sumsub-error,
    .sumsub-success,
    .sumsub-loading {
        padding: 2rem 1rem;
        margin: 0.5rem 0;
    }
    
    .sumsub-error h3,
    .sumsub-success h3 {
        font-size: 1.3rem;
    }
}