/* DSA Props Tracker Styles */
.dsa-props-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.dsa-props-container {
    background: #1a1d29;
    border-radius: 12px;
    padding: 24px;
    color: #fff;
}

.dsa-loading, .dsa-error, .dsa-no-props {
    text-align: center;
    padding: 40px;
    color: #8b8fa3;
}

.dsa-error {
    color: #ef4444;
}

/* Header */
.dsa-props-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2f3f;
}

.dsa-props-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.dsa-props-date {
    color: #8b8fa3;
    font-size: 14px;
}

/* Stats Summary */
.dsa-props-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.dsa-stat {
    background: #252836;
    border-radius: 8px;
    padding: 16px 24px;
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.dsa-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.dsa-stat-label {
    display: block;
    font-size: 12px;
    color: #8b8fa3;
    margin-top: 4px;
    text-transform: uppercase;
}

.dsa-stat-win .dsa-stat-value {
    color: #10b981;
}

.dsa-stat-loss .dsa-stat-value {
    color: #ef4444;
}

.dsa-stat-rate .dsa-stat-value {
    color: #0fbcf9;
}

/* Last Updated */
.dsa-last-updated {
    text-align: right;
    font-size: 12px;
    color: #8b8fa3;
    margin-bottom: 16px;
}

/* Props Table */
.dsa-props-table {
    border-radius: 8px;
    overflow: hidden;
}

.dsa-props-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 0.7fr 0.7fr 1.2fr 0.8fr;
    gap: 12px;
    padding: 12px 16px;
    background: #252836;
    font-size: 12px;
    font-weight: 600;
    color: #8b8fa3;
    text-transform: uppercase;
}

.dsa-prop-row {
    display: grid;
    grid-template-columns: 2fr 1fr 0.7fr 0.7fr 1.2fr 0.8fr;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #2a2f3f;
    align-items: center;
    transition: background 0.2s;
}

.dsa-prop-row:hover {
    background: #252836;
}

.dsa-prop-row:last-child {
    border-bottom: none;
}

/* Row States */
.dsa-row-win {
    background: rgba(16, 185, 129, 0.1);
}

.dsa-row-loss {
    background: rgba(239, 68, 68, 0.1);
}

.dsa-row-live {
    background: rgba(15, 188, 249, 0.1);
}

/* Player Column */
.dsa-col-player {
    display: flex;
    flex-direction: column;
}

.dsa-player-name {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.dsa-player-team {
    font-size: 12px;
    color: #8b8fa3;
    margin-top: 2px;
}

/* Prop Column */
.dsa-col-prop {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dsa-stat-type {
    font-weight: 600;
    font-size: 13px;
}

.dsa-over-under {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    width: fit-content;
}

.dsa-over {
    background: #10b981;
    color: #fff;
}

.dsa-under {
    background: #ef4444;
    color: #fff;
}

/* Line & Current */
.dsa-col-line, .dsa-col-current {
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

/* Progress */
.dsa-col-progress {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dsa-progress-bar {
    flex: 1;
    height: 8px;
    background: #2a2f3f;
    border-radius: 4px;
    overflow: hidden;
}

.dsa-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0fbcf9, #10b981);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.dsa-progress-text {
    font-size: 12px;
    color: #8b8fa3;
    min-width: 40px;
}

/* Status Badges */
.dsa-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.dsa-badge-win {
    background: #10b981;
    color: #fff;
}

.dsa-badge-loss {
    background: #ef4444;
    color: #fff;
}

.dsa-badge-live {
    background: #0fbcf9;
    color: #fff;
    animation: pulse 2s infinite;
}

.dsa-badge-pending {
    background: #4b5563;
    color: #fff;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Responsive */
@media (max-width: 768px) {
    .dsa-props-table-header {
        display: none;
    }

    .dsa-prop-row {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 16px;
    }

    .dsa-col-player {
        width: 100%;
    }

    .dsa-col-prop {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .dsa-col-line::before {
        content: 'Line: ';
        color: #8b8fa3;
    }

    .dsa-col-current::before {
        content: 'Current: ';
        color: #8b8fa3;
    }

    .dsa-props-stats {
        justify-content: center;
    }

    .dsa-stat {
        min-width: 70px;
        padding: 12px 16px;
    }

    .dsa-stat-value {
        font-size: 22px;
    }
}
