/* =======================================================
   BONUS BUY STYLES - Sistema de visualização de sessões
   Layout responsivo e moderno
   ======================================================= */

/* =======================================================
   CONTAINER PRINCIPAL
   ======================================================= */

.bonus-buy-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* =======================================================
   HEADER
   ======================================================= */

.bonus-buy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: rgb(27 21 57 / 90%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-buy-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bonus-buy-title i {
    color: #f59e0b;
    font-size: 24px;
    animation: bonus-buy-pulse 2s ease-in-out infinite;
}

@keyframes bonus-buy-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.bonus-buy-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 8px 0 0 0;
}

/* =======================================================
   ESTADOS (LOADING, ERROR, EMPTY)
   ======================================================= */

.bonus-buy-loading,
.bonus-buy-error,
.bonus-buy-empty {
    background: rgb(27 21 57 / 90%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 60px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-buy-loading i,
.bonus-buy-error i,
.bonus-buy-empty i {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.bonus-buy-loading i {
    color: #f59e0b;
    animation: spin 1s linear infinite;
}

.bonus-buy-error i {
    color: #ef4444;
}

.bonus-buy-empty i {
    color: #6b7280;
    opacity: 0.5;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.bonus-buy-loading h3,
.bonus-buy-error h3,
.bonus-buy-empty h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.bonus-buy-loading p,
.bonus-buy-error p,
.bonus-buy-empty p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 0;
}

/* =======================================================
   CONTEÚDO PRINCIPAL
   ======================================================= */

.bonus-buy-main {
    display: none;
}

.bonus-buy-main.active {
    display: block;
}

/* =======================================================
   OVERVIEW LAYOUT
   ======================================================= */

.bonus-buy-overview {
    display: block;
}

.bonus-buy-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.bonus-buy-stat-overview-card {
    background: rgb(27 21 57 / 95%);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.bonus-buy-stat-overview-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.3);
}

.bonus-buy-stat-overview-card i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
    color: #f59e0b;
}

.bonus-buy-stat-overview-card .stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.bonus-buy-stat-overview-card .stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =======================================================
   SESSÃO ATIVA
   ======================================================= */

.bonus-buy-active-section {
    margin-bottom: 30px;
}

.bonus-buy-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bonus-buy-section-title i {
    color: #f59e0b;
}

.bonus-buy-active-card {
    background: rgb(27 21 57 / 95%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.bonus-buy-active-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.bonus-buy-active-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.bonus-buy-active-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.bonus-buy-active-image {
    width: 80px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.bonus-buy-active-placeholder {
    width: 80px;
    height: 120px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 900;
    font-size: 16px;
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.bonus-buy-active-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.bonus-buy-active-mode {
    font-size: 14px;
    color: #f59e0b;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.bonus-buy-active-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.bonus-buy-active-status {
    display: flex;
    align-items: center;
}

.status-indicator {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-indicator.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-indicator.completed {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.status-indicator i {
    font-size: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.bonus-buy-active-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.bonus-buy-stat-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-buy-stat-item .stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 5px;
}

.bonus-buy-stat-item .stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-buy-active-actions {
    display: flex;
    gap: 10px;
}

.bonus-buy-view-btn,
.bonus-buy-widget-btn,
.bonus-buy-admin-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.bonus-buy-view-btn:hover,
.bonus-buy-widget-btn:hover,
.bonus-buy-admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.bonus-buy-widget-btn {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
}

.bonus-buy-widget-btn:hover {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.bonus-buy-admin-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.bonus-buy-admin-btn:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* =======================================================
   ESTADO SEM SESSÃO ATIVA
   ======================================================= */

.bonus-buy-no-active {
    text-align: center;
    padding: 40px;
    background: rgb(27 21 57 / 95%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-buy-no-active i {
    font-size: 48px;
    color: #6b7280;
    margin-bottom: 20px;
    opacity: 0.5;
}

.bonus-buy-no-active h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.bonus-buy-no-active p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* =======================================================
   SESSÕES RECENTES
   ======================================================= */

.bonus-buy-recent-section {
    margin-bottom: 30px;
}

.bonus-buy-recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.bonus-buy-recent-card {
    background: rgb(27 21 57 / 95%);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.bonus-buy-recent-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bonus-buy-recent-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.bonus-buy-recent-image {
    width: 60px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bonus-buy-recent-placeholder {
    width: 60px;
    height: 90px;
    border-radius: 8px;
    background: linear-gradient(135deg, #374151, #4b5563);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bonus-buy-recent-info {
    flex: 1;
}

.bonus-buy-recent-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px 0;
}

.bonus-buy-recent-mode {
    font-size: 13px;
    color: #f59e0b;
    margin: 0 0 3px 0;
    font-weight: 600;
}

.bonus-buy-recent-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.bonus-buy-recent-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.bonus-buy-recent-stats .bonus-buy-stat-item {
    padding: 10px;
}

.bonus-buy-recent-stats .stat-value {
    font-size: 14px;
}

.bonus-buy-recent-actions {
    display: flex;
    justify-content: center;
}

.bonus-buy-recent-actions .bonus-buy-view-btn {
    flex: none;
    padding: 8px 16px;
    font-size: 12px;
}

/* =======================================================
   ESTADO SEM SESSÕES RECENTES
   ======================================================= */

.bonus-buy-no-recent {
    text-align: center;
    padding: 40px;
    background: rgb(27 21 57 / 95%);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-buy-no-recent i {
    font-size: 48px;
    color: #6b7280;
    margin-bottom: 20px;
    opacity: 0.5;
}

.bonus-buy-no-recent h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.bonus-buy-no-recent p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* =======================================================
   DETALHES DA SESSÃO
   ======================================================= */

.bonus-buy-details {
    display: none;
}

.bonus-buy-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-buy-details-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bonus-buy-details-image {
    width: 100px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.bonus-buy-details-placeholder {
    width: 100px;
    height: 140px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 900;
    font-size: 18px;
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.bonus-buy-details-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.bonus-buy-details-mode {
    font-size: 16px;
    color: #f59e0b;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.bonus-buy-details-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.bonus-buy-back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bonus-buy-back-btn:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
}

/* =======================================================
   STATS GRID DETALHES
   ======================================================= */

.bonus-buy-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.bonus-buy-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.bonus-buy-stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 158, 11, 0.3);
}

.bonus-buy-stat-card i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.bonus-buy-stat-card .stat-value {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.bonus-buy-stat-card .stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-buy-stat-card.best-payment {
    border-color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.bonus-buy-stat-card.best-payment .stat-value {
    color: #fbbf24;
}

.bonus-buy-stat-card .stat-sublabel {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 3px;
}

/* =======================================================
   SLOTS DA SESSÃO (MODO MULTI)
   ======================================================= */

.bonus-buy-session-slots {
    display: none;
    margin-bottom: 30px;
}

.bonus-buy-session-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}

.bonus-buy-session-slot-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.bonus-buy-session-slot-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.3);
}

.bonus-buy-slot-image {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bonus-buy-slot-placeholder {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    background: linear-gradient(135deg, #374151, #4b5563);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bonus-buy-slot-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bonus-buy-slot-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 10px 0;
}

.bonus-buy-slot-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.bonus-buy-slot-stats .slot-stat {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 6px;
    text-align: center;
}

.bonus-buy-slot-stats .slot-stat .value {
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
    display: block;
}

.bonus-buy-slot-stats .slot-stat .label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =======================================================
   TABELA DE PAGAMENTOS
   ======================================================= */

.bonus-buy-payments-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
}

.bonus-buy-payments-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.bonus-buy-payments-table th,
.bonus-buy-payments-table td {
    text-align: left;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-buy-payments-table th {
    background: rgba(255, 255, 255, 0.1);
    color: #f59e0b;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-buy-payments-table td {
    color: #fff;
    font-size: 13px;
}

.bonus-buy-payments-table .payment-number {
    font-weight: 700;
    color: #f59e0b;
}

.bonus-buy-payments-table .payment-number i {
    color: #fbbf24;
    margin-right: 5px;
}

.bonus-buy-payments-table .payment-amount {
    color: #10b981;
    font-weight: 600;
}

.bonus-buy-payments-table .payment-multiplier {
    font-weight: 700;
    color: #fff;
}

.bonus-buy-payments-table .payment-slot {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.bonus-buy-payments-table .payment-bonus-count {
    text-align: center;
    color: #8b5cf6;
    font-weight: 600;
}

.bonus-buy-payments-table .payment-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.bonus-buy-payments-table .best-payment {
    background: rgba(251, 191, 36, 0.1);
    border-left: 4px solid #fbbf24;
}

/* =======================================================
   FOOTER
   ======================================================= */

.bonus-buy-footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgb(27 21 57 / 95%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-buy-last-update {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* =======================================================
   RESPONSIVIDADE
   ======================================================= */

@media (max-width: 1024px) {
    .bonus-buy-container {
        padding: 15px;
    }
    
    .bonus-buy-header {
        padding: 20px;
    }
    
    .bonus-buy-stats-overview {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .bonus-buy-active-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bonus-buy-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .bonus-buy-recent-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .bonus-buy-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }
    
    .bonus-buy-title {
        font-size: 18px;
    }
    
    .bonus-buy-active-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .bonus-buy-active-info {
        flex-direction: column;
        text-align: center;
    }
    
    .bonus-buy-active-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .bonus-buy-active-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .bonus-buy-details-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .bonus-buy-details-title {
        flex-direction: column;
        text-align: center;
    }
    
    .bonus-buy-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .bonus-buy-recent-grid {
        grid-template-columns: 1fr;
    }
    
    .bonus-buy-recent-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .bonus-buy-session-slots-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .bonus-buy-payments-section {
        padding: 15px;
    }
    
    .bonus-buy-payments-table th,
    .bonus-buy-payments-table td {
        padding: 8px 10px;
        font-size: 11px;
    }
}

@media (max-width: 640px) {
    .bonus-buy-container {
        padding: 10px;
    }
    
    .bonus-buy-header {
        padding: 15px;
    }
    
    .bonus-buy-title {
        font-size: 16px;
        flex-direction: column;
        gap: 8px;
    }
    
    .bonus-buy-stats-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .bonus-buy-active-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .bonus-buy-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .bonus-buy-recent-stats。
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .bonus-buy-session-slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .bonus-buy-payments-table {
        font-size: 10px;
    }
    
    .bonus-buy-payments-table th,
    .bonus-buy-payments-table td {
        padding: 6px 8px;
    }
}
/* =======================================================
   BONUS BUY HISTORY STYLES - BASEADO NO ORGANIC GRIND
   ======================================================= */

/* Header atualizado para seguir padrão organic grind */
.bonus-buy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: rgb(27 21 57 / 90%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-buy-title-section {
    flex: 1;
}

.bonus-buy-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bonus-buy-title i {
    color: #8b5cf6;
    font-size: 24px;
    animation: bonus-buy-pulse 2s ease-in-out infinite;
}

@keyframes bonus-buy-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.bonus-buy-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 8px 0 0 0;
}

/* Controls */
.bonus-buy-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.bonus-buy-search-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    width: 200px;
    transition: all 0.3s ease;
}

.bonus-buy-search-input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.15);
}

.bonus-buy-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.bonus-buy-filter-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bonus-buy-filter-select:focus {
    outline: none;
    border-color: #8b5cf6;
}

.bonus-buy-filter-select option {
    background: #1a1a2e;
    color: #fff;
}

.refresh-bonus-buy-btn {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.refresh-bonus-buy-btn:hover {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: translateY(-2px);
}

/* Sessions Overview Grid - IGUAL AO ORGANIC GRIND */
.bonus-buy-sessions-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    min-height: 320px;
}

.bonus-buy-session-card {
    background: rgb(27 21 57 / 95%);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.bonus-buy-session-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.3);
}

.bonus-buy-session-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}


.bonus-buy-session-card.active::before {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.bonus-buy-session-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.bonus-buy-session-image {
    width: 60px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-buy-session-image-placeholder {
    width: 60px;
    height: 80px;
    border-radius: 8px;
    background: linear-gradient(135deg, #374151, #4b5563);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-buy-session-info {
    flex: 1;
}

.bonus-buy-session-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
}

.bonus-buy-session-mode {
    font-size: 12px;
    color: #8b5cf6;
    margin: 0 0 2px 0;
    font-weight: 600;
    text-transform: uppercase;
}

.bonus-buy-session-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.bonus-buy-session-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.bonus-buy-session-stat {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-buy-session-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.bonus-buy-session-stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-buy-session-profit {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
}

.bonus-buy-session-profit.positive {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.bonus-buy-session-profit.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.bonus-buy-session-profit.neutral {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.bonus-buy-session-status {
    position: absolute;
    top: 6px;
    right: 3px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-buy-session-status.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.bonus-buy-session-status.completed {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

/* History Pagination - IGUAL AO ORGANIC GRIND */
.bonus-buy-history-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
    background: rgb(27 21 57 / 90%);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-buy-history-pagination button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 45px;
}

.bonus-buy-history-pagination button:hover:not(:disabled) {
    background: rgba(139, 92, 246, 0.3);
    border-color: #8b5cf6;
    transform: translateY(-1px);
}

.bonus-buy-history-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
}

.bonus-buy-history-pagination button.active {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: #fff;
}

.bonus-buy-history-pagination .page-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin: 0 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-buy-history-pagination .nav-btn {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
}

.bonus-buy-history-pagination .nav-btn:hover:not(:disabled) {
    background: rgba(139, 92, 246, 0.4);
    border-color: #8b5cf6;
}

/* Responsividade */
@media (max-width: 968px) {
    .bonus-buy-container {
        padding: 15px;
    }
    
    .bonus-buy-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }
    
    .bonus-buy-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .bonus-buy-search-input {
        width: 100%;
    }
    
    .bonus-buy-sessions-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        min-height: 500px;
    }
    
    .bonus-buy-session-card {
        min-height: 260px;
    }
    
    .bonus-buy-history-pagination {
        padding: 15px;
    }
    
    .bonus-buy-history-pagination button {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 35px;
    }
}

@media (max-width: 640px) {
    .bonus-buy-header {
        padding: 15px;
    }
    
    .bonus-buy-title {
        font-size: 18px;
        flex-direction: column;
        gap: 8px;
    }
    
    .bonus-buy-sessions-overview {
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: 400px;
    }
    
    .bonus-buy-session-card {
        min-height: 220px;
    }
    
    .bonus-buy-history-pagination {
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px;
    }
    
    .bonus-buy-history-pagination .page-info {
        order: -1;
        width: 100%;
        text-align: center;
        margin: 0 0 10px 0;
    }
    
    .bonus-buy-session-stats {
        grid-template-columns: 1fr;
    }
}