.bigbet-tracker {
    background: #0F212E;
    padding: 20px;
    color: white;
    box-sizing: border-box;
}
.bigbet-tracker *{
    box-sizing: border-box;
}
/* Header */
.header {
    margin-bottom: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
}

.logo-icon {
    font-size: 28px;
}

/* Filters */
.filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.amount-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border-color: #ff6b35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.right-filters {
    display: flex;
    align-items: center;
    gap: 15px;
}

.date-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    width: 100px;
}

.date-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.price-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    width: 80px;
    text-align: center;
}

.price-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.price-input:focus {
    outline: none;
    border-color: #1475E1;
    box-shadow: 0 0 0 2px rgba(20, 117, 225, 0.2);
}

/* Submit Button */
.submit-btn{
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    justify-self: center;
    width: 100%;
}
.submit-btn button {
    background: linear-gradient(45deg, #1475E1, #2196F3);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 117, 225, 0.3);
    min-width: 80px;
}

.submit-btn button:hover {
    background: linear-gradient(45deg, #0d5bb8, #1976d2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 117, 225, 0.4);
}

.submit-btn button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(20, 117, 225, 0.3);
}

/* Reset Button */
.reset-btn {
    background: linear-gradient(45deg, #6c757d, #495057);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.reset-btn:hover {
    background: linear-gradient(45deg, #5a6268, #343a40);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    color: white;
    text-decoration: none;
}

.reset-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(108, 117, 125, 0.3);
}

/* 숫자 입력 필드의 위아래 화살표 숨기기 */
.price-input::-webkit-outer-spin-button,
.price-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-input[type=number] {
    -moz-appearance: textfield;
}

/* Game Filters */
.game-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.game-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.game-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.game-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.search-section {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.search-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    width: 60px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Tab Menu */
.tab-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-decoration: none;
}

.tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    color: white;
    font-weight: bold;
    border-bottom: 1px solid #1475E1;
}

.currency-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-controls {
    display: flex;
    background-color: #2F4553;
    border-radius: 20px;
    padding: 4px;
}

.view-btn {
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    background: transparent;
    text-decoration: none;
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.view-btn.active {
    background: #000;
}

/* Table */
.table-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table thead {
    background: rgba(255, 255, 255, 0.1);
}

.ranking-table th {
    padding: 15px 10px;
    text-align: left;
    font-weight: bold;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ranking-table th.comments{
    text-align: center;
}

.ranking-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ranking-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}
.ranking-table tbody tr.active{
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    border-left: 3px solid #ff6b35;
}
.bet-row.highlighted {
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    border-left: 3px solid #ff6b35;
}

.ranking-table td {
    padding: 12px 10px;
    font-size: 13px;
    vertical-align: middle;
}

.event-info {
    display: flex;
    align-items: center;
    gap: 8px;
}
.event-info a{
    color: white;
    text-decoration: none;
}
.slug-text{
    font-weight: bolder;
}
.event-icon {
    font-size: 16px;
}

.amount {
    font-weight: bold;
}

.odds {
    font-weight: bold;
}

.payout {
    font-weight: bold;
}
.time {
    font-size: 12px;
}

.comments {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.3s ease;
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.pagination-btn.arrow{
    background-color: #272727;
}
.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.pagination-btn.active {
    background: #000;
    border-color: #000;
}

.pagination-dots {
    color: rgba(255, 255, 255, 0.5);
    padding: 0 10px;
}
.mobile-view{
    display: none;
}
/* Responsive Design */
@media (max-width: 768px) {
    .bigbet-tracker {
        padding: 10px;
    }
    
    .filters, .game-filters, .tab-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .amount-filters {
        justify-content: center;
    }
    
    .right-filters {
        justify-content: center;
    }
    
    .sort-controls {
        justify-content: center;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    .ranking-table {
        min-width: 600px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
        justify-content: center;
    }
    
    .filter-btn, .game-btn {
        flex: 1;
        text-align: center;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .amount-filters {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
    }
    
    .date-range {
        justify-content: center;
    }
    .right-filters{
        justify-content: flex-end;
    }
    .tab-menu{
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .tab-btn-group{
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 60%;
        justify-content: flex-start;
    }
    .tab-btn-group .tab-btn{
        flex-shrink: 0;
        white-space: nowrap;
    }
    .currency-controls{
        width: 40%;
        justify-content: flex-end;
    }
    .mobile-view{
        display: block;
    }
    .desktop-view{
        display: none;
    }
    .event-info a{
        width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .ranking-table{
        min-width: auto;
        width: 100%;
    }
}