h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* --- Main Content --- */
.main-content {
    padding: 2rem 0;
}

.filter-section {
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.form-control,
.form-select {
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
    border-color: #198754;
}

.search-input {
    padding-left: 2.5rem;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    color: #6c757d;
}

/* --- Agent Card --- */
.agent-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.agent-card-top {
    display: flex;
    gap: 1.5rem;
}

.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #6c757d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

.agent-details .agent-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.agent-company {
    color: #6c757d;
    font-size: 0.9rem;
}

.agent-badges .badge {
    font-size: 0.7rem;
    padding: 0.3em 0.6em;
    border-radius: 5px;
}

.badge-locality {
    background-color: #e6f7ff;
    color: #0056b3;
}

.badge-pro {
    background-color: #fffbe6;
    color: #ffc107;
}

.agent-info {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.agent-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.view-profile-btn {
    color: #0d6efd;
    font-weight: 500;
    text-decoration: none;
}

.agent-actions .btn {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.btn-whatsapp {
    background-color: #e6fae6;
    color: #198754;
}

.btn-whatsapp:hover {
    background-color: #d1f2dd;
}

.btn-appointment {
    background-color: #198754;
    color: white;
}

.btn-appointment:hover {
    background-color: #146c43;
}

/* --- Sidebar Leaderboard --- */
.leaderboard-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
}

.leaderboard-tabs .nav-link {
    color: #6c757d;
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
}

.leaderboard-tabs .nav-link.active {
    color: #198754;
    background-color: transparent;
    border-bottom-color: #198754;
}

.agent-list-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.agent-list-item:last-child {
    border-bottom: none;
}

.agent-list-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 1rem;
}

.agent-list-name {
    font-weight: 500;
    flex-grow: 1;
}

.agent-rank {
    font-weight: 600;
    color: #6c757d;
}

.agent-rank .bi {
    font-size: 1.2rem;
    color: #ffc107;
}

.bg-color-1 {
    background-color: #6f42c1;
}

.bg-color-2 {
    background-color: #fd7e14;
}

.bg-color-3 {
    background-color: #0d6efd;
}

.bg-color-4 {
    background-color: #d63384;
}