#educandus-dashboard-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
}

.users-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #038C4C;
}

.users-dashboard-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #038C4C;
    margin: 0;
}

.last-update {
    font-size: 14px;
    color: #666;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.platform-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #04bf68;
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(4, 191, 104, 0.4);
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(4, 191, 104, 0.066) 0%, rgba(170, 187, 191, 0.4) 100%);
    border-radius: 0 0 0 100%;
}

.platform-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.platform-icon {
    font-size: 20px;
}

.user-count {
    font-size: 48px;
    font-weight: 700;
    color: #04BF68;
    margin: 10px 0;
    line-height: 1;
}

.user-label {
    font-size: 14px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #04BF68;
    margin-left: 6px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 4px rgba(2, 89, 57, 0.5);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.time-ago {
    font-size: 12px;
    color: #a0aec0;
    margin-top: 8px;
    font-style: italic;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #718096;
    font-size: 16px;
    opacity: 0.6;
}

.error {
    border-left-color: #FF0200;
}

.error .user-count {
    color: #FF0200;
    font-size: 16px;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #718096;
    font-size: 16px;
}

.total-section {
    margin-top: 30px;
}

.total-card {
    background: linear-gradient(135deg, #01261CCC 0%, #04BF68CC 100%);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 4px 12px rgba(170, 187, 191, 0.9);
}

.total-icon {
    font-size: 64px;
    line-height: 1;
}

.total-info {
    flex: 1;
}

.total-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-weight: 500;
}

.total-number {
    font-size: 56px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .total-card {
        flex-direction: column;
        text-align: center;
    }
}