/* 表格與控制項樣式 */
.table-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

    overflow: hidden;
    border: none;
}

/* Filter Buttons */
.btn-filter {
    border-radius:

        50px;
    padding: 6px 20px;
    font-size: 0.9rem;
    margin-right: 10px;
    border:

        1px solid #ddd;
    color: #666;
    background: #fff;
    transition: all 0.3s;
}

.btn-filter:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);

}

.btn-filter.active {
    background-color: var(--brand-red);
    color: #fff;

    border-color: var(--brand-red);
}

/* Search Box */
.search-box {
    position:

        relative;
    max-width: 300px;
}

.search-box input {
    border-radius: 50px;

    padding-left: 40px;
    border: 1px solid #ddd;
}

.search-box i {
    position:

        absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;

}

/* Table Styling */
.table thead th {
    background-color: #f8f9fa;
    color:

        #333;
    font-weight: 600;
    border-bottom: 2px solid #eee;
    padding: 15px;
    font-size:

        0.9rem;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
    font-size:

        0.95rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.table-hover tbody tr:hover {
    background-color: rgba(192, 78, 70, 0.03);
}

/* Ratings

    Badges */
.badge-rating {
    width: 60px;
    font-weight: 500;
    font-size: 0.8rem;

    padding: 6px 0;
}

.badge-buy {
    background-color: #e6f4ea;
    color: #1e7e34;

}

.badge-buy-grey {
    background-color: #e9ecef;
    color: #6c757d;
}

.badge-hold {
    background-color: #fff8e1;
    color: #b68b00;
}

.badge-sell {
    background-color: #fce8e6;
    color: #c04e46;
}

.badge-nr {
    background-color:

        #f1f3f5;
    color: #6c757d;
}

/* Pagination */
.pagination-bar {
    padding:

        15px 20px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;

    justify-content: flex-end;
    align-items: center;
    font-size: 0.9rem;
    color:

        #666;
}

.page-btn {
    border: none;
    background: none;
    color: #666;
    cursor:

        pointer;
    padding: 5px 10px;
    transition: color 0.3s;
}

.page-btn:hover:not(:disabled) {
    color: var(--brand-red);
    background-color: #f0f0f0;
    border-radius: 50%;

}

.page-btn:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.rows-select {
    border: none;
    border-bottom: 1px solid #ddd;
    color: #333;
    margin: 0 10px;

    outline: none;
    font-weight: bold;
}