/* Styles specific to rank view (rank.php content) */
.rank-table th, .rank-table td {
    vertical-align: middle;
}
.rank-table .bi-award-fill {
    font-size: 1.2em;
}
.rank-table .text-warning { color: #ffc107 !important; } /* Gold */
.rank-table .text-secondary { color: #adb5bd !important; } /* Silver - Adjusted from Bootstrap default */
.rank-table .text-danger { color: #dc3545 !important; } /* Bronze */

/* Dark mode adjustments for rank view */
body.dark-mode .rank-table { color: #dee2e6; }
body.dark-mode .rank-table thead th { background-color: #495057; border-bottom-color: #6c757d; }
body.dark-mode .rank-table tbody tr { border-color: #495057; }
body.dark-mode .rank-table tbody tr:hover { background-color: rgba(255, 255, 255, 0.075); }
body.dark-mode .rank-table .table-info,
body.dark-mode .rank-table .table-info:hover {
     background-color: rgba(13, 110, 253, 0.2) !important;
     color: #e9ecef;
 }
body.dark-mode .rank-table .text-warning { color: #ffcd39 !important; }
body.dark-mode .rank-table .text-secondary { color: #ced4da !important; }
body.dark-mode .rank-table .text-danger { color: #f17c87 !important; }
body.dark-mode .rank-table .badge.bg-primary { background-color: #0d6efd !important; }
body.dark-mode .profile-card { /* Styles for the privacy toggle card in rank view */
    /* Inherits general dark mode card styles */
}
