﻿/* Dashboard Page */
.page-dashboard {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-welcome {
    flex: 1;
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.subscription-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.subscription-basic {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.subscription-intermediate {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.subscription-vip {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #000;
}

.subscription-none {
    background: #e0e0e0;
    color: #666;
}

/* Channels Grid */
.channels-section {
    margin-bottom: 3rem;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.channel-card {
    padding: 2rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

    .channel-card.accessible:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    }

    .channel-card.locked {
        opacity: 0.6;
        cursor: not-allowed;
    }

.channel-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.channel-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.channel-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.channel-lock,
.channel-access {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.lock-icon {
    font-size: 1.25rem;
}

.lock-text {
    font-size: 0.875rem;
    color: #999;
}

.access-icon {
    color: #22c55e;
    font-weight: bold;
}

.access-text {
    color: #22c55e;
    font-size: 0.875rem;
}

/* Bet Slips */
.bet-slips-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bet-slip-preview {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .bet-slip-preview:hover {
        border-color: #667eea;
    }

    .bet-slip-preview.locked {
        background: #f5f5f5;
    }

.bet-slip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.bet-sport {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.bet-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.bet-status-pending {
    background: #fbbf24;
    color: #000;
}

.bet-status-won {
    background: #22c55e;
    color: white;
}

.bet-status-lost {
    background: #ef4444;
    color: white;
}

.bet-status-push {
    background: #94a3b8;
    color: white;
}

.bet-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bet-game-info {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.bet-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bet-pick {
    font-weight: 600;
    color: #667eea;
}

.bet-odds {
    font-weight: 500;
    color: #666;
}

.locked-preview {
    text-align: center;
    padding: 2rem;
    color: #999;
}

/* Channel Detail Page */
.page-channel {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.channel-header {
    padding: 2rem;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

    .back-link:hover {
        text-decoration: underline;
    }

.channel-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.channel-icon-large {
    font-size: 4rem;
}

.channel-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.bet-slips-grid {
    display: grid;
    gap: 1.5rem;
}

.bet-slip-card {
    padding: 2rem;
    border-radius: 16px;
}

.bet-sport-tag,
.bet-type-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.bet-sport-tag {
    background: #667eea;
    color: white;
}

.bet-type-tag {
    background: #e0e0e0;
    color: #666;
}

.bet-pick-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.bet-pick-label {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.bet-pick-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.bet-odds-value {
    font-weight: 600;
    color: #666;
}

.bet-analysis {
    margin: 1.5rem 0;
}

    .bet-analysis h4 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
    }

    .bet-analysis p {
        color: #666;
        line-height: 1.6;
    }

.bet-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.875rem;
    color: #999;
}

.bet-game-time {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #92400e;
    text-align: center;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #999;
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .channels-grid {
        grid-template-columns: 1fr;
    }
}
