/* Futuristic My Account Dashboard */

.bb-modern-dashboard,
.bb-account-header {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 20px;
    position: relative;
}

.bb-modern-dashboard {
    min-height: 100vh;
}

/* Reduce top padding for account pages */
.woocommerce-account .woocommerce-MyAccount-content {
    padding-top: 0;
}

.bb-modern-dashboard::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(180deg, rgba(255, 237, 0, 0.05) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Compact Futuristic Welcome */
.bb-welcome-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-radius: 24px;
    padding: 24px 32px;
    margin-bottom: 20px;
    color: #FFED00;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 237, 0, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 237, 0, 0.2);
}

/* Affiliate Badge */
.bb-affiliate-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFED00 0%, #FFD700 100%);
    color: #000000;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-left: 12px;
    vertical-align: middle;
    animation: badge-glow 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(255, 237, 0, 0.4);
}

@keyframes badge-glow {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(255, 237, 0, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 20px rgba(255, 237, 0, 0.6);
        transform: scale(1.05);
    }
}

.bb-welcome-decoration {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 237, 0, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.bb-welcome-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #FFED00 !important;
    letter-spacing: -0.5px;
}

.bb-welcome-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Removed Stats Grid - Cleaner interface */

/* Sync Message */
.bb-sync-message {
    background: #FFFEF5;
    border: 2px solid #FFED00;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #000000;
}

.bb-sync-message svg {
    color: #000000;
    flex-shrink: 0;
}

/* Dashboard Grid */
.bb-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.bb-dashboard-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bb-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.bb-section-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

.bb-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bb-sync-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #000000;
    color: #FFED00;
    border: 2px solid #FFED00;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bb-sync-button:hover {
    background: #FFED00;
    color: #000000;
    transform: rotate(360deg);
}

.bb-sync-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.bb-sync-button:hover svg {
    transform: rotate(180deg);
}

.bb-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FFED00 0%, #FFD700 100%);
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 237, 0, 0.3);
}

.bb-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 237, 0, 0.4);
    background: linear-gradient(135deg, #FFD700 0%, #FFED00 100%);
}

.bb-view-all svg {
    transition: transform 0.3s ease;
}

.bb-view-all:hover svg {
    transform: translateX(3px);
}

/* Courses Grid */
.bb-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.bb-course-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid #f0f0f0;
    position: relative;
}

.bb-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #FFED00;
}

.bb-course-thumbnail {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    overflow: hidden;
}

.bb-course-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bb-course-card:hover .bb-course-thumbnail img {
    transform: scale(1.05);
}

.bb-course-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFED00;
    opacity: 0.7;
}

.bb-progress-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.9);
    color: #FFED00;
    padding: 8px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid #FFED00;
}

.bb-progress-badge svg {
    width: 16px;
    height: 16px;
}

.bb-course-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.bb-course-title {
    font-size: 18px !important;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #000000;
    line-height: 1.3;
    min-height: 48px;
}

.bb-course-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    flex: 1;
}

.bb-course-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
}

.bb-course-duration svg {
    width: 14px;
    height: 14px;
    color: #999;
}

.bb-progress-bar {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
}

.bb-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFED00 0%, #FFD700 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
    position: relative;
}

.bb-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.bb-play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #FFED00;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
    border: 1px solid rgba(255, 237, 0, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bb-play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 237, 0, 0.8) 0%, transparent 70%);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.bb-play-button:hover::before {
    width: 300px;
    height: 300px;
}

.bb-play-button:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #FFED00 0%, #FFD700 100%);
    color: #000000;
    box-shadow: 0 8px 25px rgba(255, 237, 0, 0.4);
    border-color: #FFED00;
}

.bb-play-button svg,
.bb-play-button span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.bb-play-button svg {
    width: 16px;
    height: 16px;
}

.bb-play-button:hover svg {
    transform: translateX(2px);
}

.bb-play-button:hover span {
    font-weight: 700;
}

/* Orders List */
.bb-orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bb-order-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.bb-order-item:hover {
    background: #f1f3f5;
}

.bb-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.bb-order-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bb-order-number {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 16px;
}

.bb-order-date {
    color: #666;
    font-size: 14px;
}

.bb-order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.bb-status-completed {
    background: #d3f9d8;
    color: #2b8a3e;
}

.bb-status-processing {
    background: #fff3cd;
    color: #856404;
}

.bb-status-on-hold {
    background: #cfe2ff;
    color: #004085;
}

.bb-status-cancelled,
.bb-status-refunded,
.bb-status-failed {
    background: #f8d7da;
    color: #721c24;
}

.bb-order-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.bb-order-product {
    background: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 14px;
    color: #495057;
}

.bb-order-more {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
}

.bb-order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bb-order-total {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.bb-order-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.bb-order-link:hover {
    color: #000000;
    transform: translateX(4px);
    border-bottom-color: #FFED00;
}

/* Navigation Section - Top Position */
.bb-navigation-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Make header sticky on scroll */
@media (min-width: 769px) {
    .bb-account-header {
        position: sticky;
        top: 0;
        z-index: 100;
    }
}

.bb-nav-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: thin;
    scrollbar-color: #FFED00 #f0f0f0;
}

.bb-nav-grid::-webkit-scrollbar {
    height: 6px;
}

.bb-nav-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.bb-nav-grid::-webkit-scrollbar-thumb {
    background: #FFED00;
    border-radius: 3px;
}

.bb-nav-grid::-webkit-scrollbar-thumb:hover {
    background: #FFD700;
}

.bb-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: white;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

.bb-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 237, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.bb-nav-item:hover::before {
    left: 100%;
}

.bb-nav-item:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-color: #FFED00;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Active state for current page */
.bb-nav-item.bb-nav-active {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-color: #FFED00;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.bb-nav-item.bb-nav-active span {
    color: #FFED00;
    font-weight: 700;
}

.bb-nav-item.bb-nav-active .bb-nav-icon {
    background: white;
    transform: scale(1.1);
}

.bb-nav-item.bb-nav-active .bb-nav-icon svg {
    color: #000000;
}

.bb-nav-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #FFED00 0%, #FFD700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.bb-nav-icon svg {
    color: #000000;
    width: 16px;
    height: 16px;
}

.bb-nav-item:hover .bb-nav-icon {
    transform: rotate(360deg) scale(1.1);
    background: white;
}

.bb-nav-item:hover .bb-nav-icon svg {
    color: #000000;
}

.bb-nav-item span {
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bb-nav-item:hover span {
    color: #FFED00;
}

.bb-nav-arrow {
    display: none;
}

.bb-nav-logout {
    background: linear-gradient(135deg, #FFE4E4 0%, #FFF0F0 100%);
    margin-left: auto;
}

.bb-nav-logout .bb-nav-icon {
    background: linear-gradient(135deg, #FF4444 0%, #FF6B6B 100%);
}

.bb-nav-logout .bb-nav-icon svg {
    color: white;
}

.bb-nav-logout:hover {
    background: linear-gradient(135deg, #FF4444 0%, #FF6B6B 100%);
    border-color: #FF4444;
}

.bb-nav-logout:hover span {
    color: white;
}

.bb-nav-logout:hover .bb-nav-icon {
    background: white;
}

.bb-nav-logout:hover .bb-nav-icon svg {
    color: #FF4444;
}

/* Empty States */
.bb-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.bb-empty-state svg {
    color: #dee2e6;
    margin-bottom: 20px;
}

.bb-empty-state p {
    font-size: 16px;
    margin: 0 0 20px 0;
}

.bb-btn-primary {
    display: inline-block;
    background: #000000;
    color: #FFED00;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #FFED00;
}

.bb-btn-primary:hover {
    transform: translateY(-2px);
    background: #FFED00;
    color: #000000;
    box-shadow: 0 4px 12px rgba(255, 237, 0, 0.3);
}

/* Responsive Design */
/* Tablet Styles */
@media (max-width: 1024px) {
    .bb-courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bb-nav-grid {
        gap: 8px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .bb-modern-dashboard {
        padding: 12px;
    }
    
    .bb-welcome-section {
        padding: 20px;
        border-radius: 20px;
    }
    
    .bb-welcome-title {
        font-size: 20px;
    }
    
    .bb-welcome-subtitle {
        font-size: 13px;
    }
    
    .bb-navigation-section {
        padding: 24px 16px;
        border-radius: 20px;
    }
    
    .bb-nav-grid {
        gap: 8px;
        padding: 4px 0;
    }
    
    .bb-nav-item {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .bb-nav-item span {
        font-size: 13px;
    }
    
    .bb-nav-icon {
        width: 28px;
        height: 28px;
    }
    
    .bb-nav-icon svg {
        width: 14px;
        height: 14px;
    }
    
    /* Stats grid removed - cleaner mobile interface */
    
    .bb-dashboard-section {
        padding: 20px;
        border-radius: 12px;
    }
    
    .bb-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .bb-section-header h2 {
        font-size: 20px;
    }
    
    .bb-courses-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .bb-order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .bb-order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .bb-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .bb-action-card {
        padding: 16px;
    }
    
    .bb-action-card span {
        font-size: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .bb-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .bb-welcome-title {
        font-size: 20px;
    }
    /* Cleaner mobile view without stats */
}

/* Always hide default WooCommerce navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
    display: none !important;
}

/* Adjust content width without sidebar */
.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    float: none;
}

/* Style tables in affiliate section */
.woocommerce-account .affiliate-dashboard table,
.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.woocommerce-account .affiliate-dashboard th,
.woocommerce-MyAccount-content th {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #FFED00;
    padding: 14px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-account .affiliate-dashboard td,
.woocommerce-MyAccount-content td {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}

.woocommerce-account .affiliate-dashboard tr:last-child td,
.woocommerce-MyAccount-content tr:last-child td {
    border-bottom: none;
}

.woocommerce-account .affiliate-dashboard tbody tr:hover,
.woocommerce-MyAccount-content tbody tr:hover {
    background: #FFFEF5;
    transition: background 0.3s ease;
}

/* Style affiliate dashboard buttons */
.affiliate-dashboard .button,
.affiliate-dashboard button,
.affiliate-dashboard input[type="submit"] {
    background: linear-gradient(135deg, #FFED00 0%, #FFD700 100%);
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.affiliate-dashboard .button:hover,
.affiliate-dashboard button:hover,
.affiliate-dashboard input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 237, 0, 0.4);
}

/* Affiliate Pricing Section */
.bb-affiliate-pricing-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bb-affiliate-pricing-section h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 24px 0;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.bb-affiliate-pricing-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #FFED00 0%, #FFD700 100%);
    border-radius: 2px;
}

.bb-pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.bb-pricing-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bb-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFED00 0%, #FFD700 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bb-pricing-card:hover::before {
    opacity: 1;
}

.bb-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #FFED00;
}

.bb-pricing-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.bb-pricing-card:hover .bb-pricing-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, #FFED00 0%, #FFD700 100%);
}

.bb-pricing-icon svg {
    color: #FFED00;
    width: 28px;
    height: 28px;
}

.bb-pricing-card:hover .bb-pricing-icon svg {
    color: #000000;
}

.bb-pricing-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bb-pricing-value {
    font-size: 32px;
    font-weight: 800;
    color: #000000;
    margin: 0 0 8px 0;
    line-height: 1;
}

.bb-pricing-value .woocommerce-Price-amount {
    font-size: 32px;
}

.bb-pricing-card p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.bb-affiliate-cta {
    text-align: center;
    padding-top: 8px;
}

.bb-affiliate-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #FFED00;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid #FFED00;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bb-affiliate-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #FFED00 0%, #FFD700 100%);
    color: #000000;
    box-shadow: 0 8px 25px rgba(255, 237, 0, 0.4);
}

.bb-affiliate-btn svg {
    transition: transform 0.3s ease;
}

.bb-affiliate-btn:hover svg {
    transform: translateX(4px);
}

/* Course Listing Pages - Workshops/Certifications Fix */
.bb-course-item.bb-user-purchased {
    position: relative;
    border: 2px solid #FFED00 !important;
    background: linear-gradient(135deg, #FFFEF5 0%, #FFF9E6 100%) !important;
}

.bb-course-item.bb-user-purchased::before {
    content: 'PURCHASED';
    position: absolute;
    top: -1px;
    right: 20px;
    background: linear-gradient(135deg, #FFED00 0%, #FFD700 100%);
    color: #000000;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 0 0 8px 8px;
    z-index: 10;
}

/* Override Tutor's enrollment status display */
.tutor-course-enrollment-status {
    display: none !important;
}

.bb-purchased-course {
    background: linear-gradient(135deg, #FFED00 0%, #FFD700 100%) !important;
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Small Mobile Optimizations */
@media (max-width: 480px) {
    .bb-welcome-title {
        font-size: 18px;
    }
    
    .bb-affiliate-badge {
        font-size: 10px;
        padding: 3px 8px;
        margin-left: 8px;
    }
    
    .bb-welcome-section {
        padding: 16px;
    }
    
    .bb-nav-item {
        padding: 12px;
        font-size: 14px;
    }
    
    .bb-nav-item span {
        font-size: 14px;
    }
    
    .bb-course-card {
        border-radius: 16px;
    }
    
    .bb-play-button {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .bb-courses-grid {
        grid-template-columns: 1fr;
    }
    
    .bb-pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .bb-pricing-value {
        font-size: 28px;
    }
    
    .bb-affiliate-pricing-section {
        padding: 20px;
    }
    
    .bb-dashboard-section {
        padding: 20px;
    }
    
    .bb-order-item {
        padding: 16px;
    }
}