/* Main App Screens specific styles (Dashboard, Match Detail, Bet Slip) */

.app-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Home Header */
.home-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    flex: 1;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--card-bg);
    margin-right: 12px;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.greeting {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.balance-badge {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

.coin-icon {
    width: 16px;
    height: 16px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    position: relative;
}

.notification-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    border: 2px solid var(--card-bg);
}

/* Promo Banner */
.promo-banner {
    width: 100%;
    height: 130px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1A1E2F 0%, #30266A 100%);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.promo-banner h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    z-index: 2;
}

.promo-tag {
    background-color: white;
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 5px;
    width: fit-content;
    margin-bottom: 5px;
    z-index: 2;
}

.promo-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    z-index: 2;
}

.promo-img {
    position: absolute;
    right: -20px;
    bottom: -20px;
    height: 120%;
    z-index: 1;
    opacity: 0.8;
}

/* Categories Scroll */
.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.categories-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--card-bg);
    padding: 10px 15px;
    border-radius: 20px;
    white-space: nowrap;
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cat-item.active {
    background-color: rgba(92, 85, 255, 0.1);
    color: white;
}

.cat-item.active i {
    color: var(--primary);
}

.cat-item-icon-only {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    flex-shrink: 0;
    text-decoration: none;
}

/* Tabs */
.tabs-scroll {
    display: flex;
    overflow-x: auto;
    background-color: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 25px;
    scrollbar-width: none;
}

.tabs-scroll::-webkit-scrollbar {
    display: none;
}

.tab-item {
    flex: 1;
}

.tab-item a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    transition: 0.3s ease;
}

.tab-item a:hover {
    background-color: rgba(0,0,0,0.05);
}

.tab-item.active a {
    background-color: var(--primary);
    color: #fff;
}

.tab-item i {
    margin-right: 5px;
    font-size: 10px;
}
/* Match Cards */
.match-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
}

.match-header {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.match-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
}

.team-logo {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    font-size: 20px;
}

.team-name {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.score-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
}

.score {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.time {
    font-size: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: #ff3b30;
    border-radius: 50%;
}

.match-footer {
    display: flex;
    justify-content: center;
}

.btn-sm {
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Match Detail & Bet Slip */
.nav-badge {
    margin-left: auto;
}

.odds-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.odd-btn {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s;
}

.odd-btn.active {
    background-color: var(--primary);
}

.odd-value {
    font-size: 14px;
    color: white;
    font-weight: 600;
    margin-bottom: 4px;
}

.odd-label {
    font-size: 10px;
    color: var(--text-muted);
}

.odd-btn.active .odd-label {
    color: rgba(255, 255, 255, 0.8);
}

.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.avatars-overlap {
    display: flex;
    align-items: center;
}

.avatars-overlap img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--card-bg);
    margin-left: -8px;
}

.avatars-overlap .plus-count {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 2px solid var(--card-bg);
    margin-left: -8px;
    font-size: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

/* Bet Slip List */
.bet-slip-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 10px;
}

.bet-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    position: relative;
}

.bet-item-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
}

.bet-league {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bet-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 5px;
    color: var(--text-muted);
}

.bet-val {
    color: white;
}

.amount-input {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    position: relative;
}

.amount-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: block;
}

.amount-field {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
}

.amount-field span {
    margin-right: 5px;
}

.amount-field input {
    background: transparent;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 18px;
    outline: none;
    width: 100%;
}

.bet-info-text {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin: 20px 0;
    line-height: 1.8;
}

/* Modal specific */
.error-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(92, 85, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 24px;
}