/* bls-user-stats.css */

/* Stat CSS */
.user-stats-container {
    padding: 20px;
    border-radius: 10px;
    color: #000000;
}

.dark .user-stats-container {
    color: #E6F2F5;
}

/* Responsive Masonry Grid Styling */
.user-stats-row {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-flow: dense; /* This helps fill gaps and keep the layout tighter */
    margin-bottom: 10px;
}

/* Mobile-specific adjustments */
@media (max-width: 542px) {
    .user-stats-row {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-flow: dense; /* This helps fill gaps and keep the layout tighter */
    margin-bottom: 10px;
 }
}

.user-stat-box {
    background: #00000014;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* General Icon Styling */
.user-stat-icon img {
    width: 35px;
    height: auto;
    color: var(--color-primary);
    filter: brightness(1.2);
    fill: var(--color-primary);
    margin-bottom: 10px;
}

.user-stat-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.user-stat-value {
    font-size: 1.4rem;
    font-weight: bold;
}

.user-stat-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #B2C8CC;
}

/* Time zone */
/* Centering the local time display and button */
#local-time-display {
    text-align: center;
    margin-top: 20px;
}

#change-timezone-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #cccccc;
    border-radius: 5px;
    cursor: pointer;
}

/* Centering the time zone form container and its contents */
#time-zone-form-container {
    text-align: center;
    margin-top: 20px;
}

#time-zone-form {
    display: inline-block;
    text-align: left;
}

/* Centering and styling the label */
#time-zone-form label {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Centering and styling the select dropdown */
#user-timezone {
    display: block;
    margin: 10px auto;
    padding: 5px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
}

/* Styling the save button */
#time-zone-form input[type="submit"] {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #cccccc;
    border-radius: 5px;
    cursor: pointer;
}
