/* SportBetz - Custom CSS Additions */
/* Additional responsive and utility styles */

/* Mobile-specific adjustments */
@media (max-width: 480px) {
    .sbz-header-inner {
        gap: 6px;
    }
    .sbz-balance-box {
        padding: 4px 8px;
    }
    .sbz-balance-amount {
        font-size: 12px;
    }
    .sbz-btn {
        padding: 5px 8px;
        font-size: 11px;
    }
    .sbz-match-team-name {
        font-size: 12px;
    }
    .sbz-score-value {
        font-size: 20px;
    }
}

/* Tablet adjustments */
@media (min-width: 481px) and (max-width: 768px) {
    .sbz-match-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .sbz-main {
        padding: 16px 24px;
    }
    .sbz-betslip {
        position: fixed;
        right: 16px;
        top: 80px;
        bottom: auto;
        left: auto;
        width: 360px;
        max-height: 80vh;
        border: 1px solid var(--border-color);
        border-radius: 16px;
        border-top-color: var(--green-primary);
        border-top-width: 2px;
        transform: translateX(120%);
        transition: transform 0.3s ease;
    }
    .sbz-betslip.active {
        transform: translateX(0);
    }
    .sbz-modal {
        max-width: 480px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: rgba(22, 163, 74, 0.3);
    color: white;
}

/* Focus styles */
.sbz-form-input:focus,
.sbz-form-select:focus,
.sbz-stake-input:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

/* Button active states */
.sbz-btn:active {
    transform: scale(0.97);
}

.sbz-place-bet-btn:active {
    transform: scale(0.98);
}

/* Odds button hover animation */
.sbz-odds-btn,
.sbz-market-odds-btn,
.sbz-session-odds-btn {
    transition: all 0.15s ease;
}

/* Card hover effects */
.sbz-match-card {
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.sbz-match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Scrollbar for modals */
.sbz-modal {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) var(--bg-secondary);
}

/* Skeleton loading */
.sbz-skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--border-color) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: sbz-shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes sbz-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Badge pulse */
.sbz-badge-live {
    animation: sbz-badge-glow 2s infinite;
}

@keyframes sbz-badge-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(22, 163, 74, 0); }
}
