
/* Ensure the container-fluid in RTG dashboard does not scroll */
.rtg-dashboard-container {
    overflow-y: hidden;   /* Hide vertical scrollbar */
}

/* Custom styles for the RTG/PV/SPV dashboard cards */
.card {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    height: 150px; /* Adjusted card height */
    width: 100%; /* Full width of the column */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space between content and icon */
    color: #fff; /* White text */
    padding: 10px;
}

.card-link {
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Inherit text color */
}

.card-body {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space between content and icon */
    width: 100%;
    padding: 10px; /* Even padding inside the card */
}

.card-content {
    text-align: left; /* Left-align the card text */
}

.card-title {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #fff; /* White text */
    margin-bottom: 5px;
}

.card-icon {
    font-size: 2rem;
    margin-left: 10px; /* Add some space between content and icon */
    color: #fff; /* White icon */
}

.card-data {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem; /* Increased font size */
    color: #fff; /* White numbers */
    margin-bottom: 5px;
    font-weight: 700; /* Bold numbers */
}

.card-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 0.875rem;
    color: #fff; /* White text */
}

/* Custom styles for card backgrounds in dashboards page*/
.card-nature-green {
    background: var(--nature-green); /* Nature Green background */
}

.card-dark-green {
    background: var(--dark-green); /* Dark Green background */
}

.card-light-leaf-green {
    background: var(--light-leaf-green); /* Light Leaf Green background */
}

.card-dark-brown {
    background: var(--dark-brown); /* Dark Brown background */
}

.card-dark-yellow {
    background: var(--dark-yellow); /* Dark Yellow background */
}

.card-dark-orange {
    background: var(--dark-orange); /* Dark Orange background */
}

/* Custom styles for icons in dashboard cards*/
.card-icon-garden i {
    content: "\f4d8"; /* FontAwesome icon for seedling */
}

.card-icon-wallet i {
    content: "\f555"; /* FontAwesome icon for wallet */
}

.card-icon-rank i {
    content: "\f091"; /* FontAwesome icon for trophy */
}

.card-icon-products i {
    content: "\f07a"; /* FontAwesome icon for shopping cart */
}

/* Custom styles for user activity and leaderboard */
.section-title {
    font-family: 'Lato', sans-serif;
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 20px;
}

.chart-container {
    width: 100%;
    height: 400px;
    margin-bottom: 40px;
}

.leaderboard {
    width: 100%;
    margin-bottom: 40px;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.leaderboard th, .leaderboard td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.leaderboard th {
    background-color: #4CAF50; /* Green header bg */
    color: #fff; /* White text */
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
}

.leaderboard tr:nth-child(even) {
    background-color: #f2f2f2; /* Light grey background */
}

.leaderboard tr:hover {
    background-color: #ddd; /* Darker grey background on hover */
}

.leaderboard td {
    font-family: 'Lato', sans-serif;
    font-size: 0.875rem;
    color: #333; /* Dark text */
}

.leaderboard .badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
}

.badge-gold {
    background-color: #FFD700; /* Gold */
}

.badge-silver {
    background-color: #C0C0C0; /* Silver */
}

.badge-bronze {
    background-color: #CD7F32; /* Bronze */
}

.section-margin-top {
    margin-top: 40px; /* Add margin to the top of the section */
}

.leaderboard-header {
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    color: #4CAF50; /* Green text */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.view-all-btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background-color: #4CAF50; /* Green background */
    color: #fff; /* White text */
    border: none;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    cursor: pointer;
}

.view-all-btn:hover {
    background-color: #45a049; /* Darker green background on hover */
}