/* App Layout and Wallet/Sports Scaffolding */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 11px;
    flex: 1;
    text-align: center;
}

.nav-item i {
    font-size: 22px;
}

.nav-item.active {
    color: var(--primary);
}

.with-bottom-nav {
    padding-bottom: 80px;
    /* space for the bottom nav */
}

/* Lists (Participated, Transactions) */
.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
}

.list-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.list-item-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.list-item-subtitle {
    font-size: 10px;
    color: var(--text-muted);
}

.list-item-right {
    text-align: right;
}

.amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.amount.negative {
    color: #ff3b30;
}

/* Wallet Card */
.wallet-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.wallet-balance-box {
    flex: 1;
    text-align: center;
}

.wallet-balance-box:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.wallet-value {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.wallet-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.wallet-actions .btn {
    flex: 1;
    margin-bottom: 0;
}

.filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

.filter-row span {
    font-size: 14px;
    font-weight: 500;
}

.custom-select {
    background-color: var(--card-bg);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    outline: none;
}

/* Payment Methods */
.add-new {
    color: var(--text-muted);
    font-size: 12px;
    text-decoration: none;
}

.payment-card {
    background: linear-gradient(135deg, var(--primary) 0%, #30266A 100%);
    border-radius: 16px;
    padding: 20px;
    color: white;
    width: 250px;
    height: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    margin-bottom: 30px;
    scrollbar-width: none;
}

.card-scroll::-webkit-scrollbar {
    display: none;
}

.card-top {
    display: flex;
    align-items: center;
}

.card-circles {
    display: flex;
}

.circle1 {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #eb001b;
    z-index: 2;
}

.circle2 {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #f79e1b;
    margin-left: -10px;
    z-index: 1;
}

.card-number {
    font-size: 18px;
    letter-spacing: 2px;
    margin: 15px 0;
    font-weight: 500;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
}

.card-info-label {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.card-info-value {
    font-size: 12px;
    font-weight: 500;
}

.method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 30px;
}

.method-item {
    background-color: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.method-item img {
    height: 20px;
    object-fit: contain;
}

.method-item.active {
    border-color: var(--primary);
}

.method-item.active::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -5px;
    right: -5px;
    color: var(--primary);
    background: var(--card-bg);
    border-radius: 50%;
    font-size: 14px;
}

/* Accordion format (Sports list) */
.sports-tabs {
    display: flex;
    background-color: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 20px;
}

.sports-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.sports-tabs .tab.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 12px;
}

.accordion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.acc-left {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.acc-icon {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
}